Commit Graph

667 Commits

Author SHA1 Message Date
c1886ea89a feat(new-device): add Jinvoo AC/TV Box IR Controller 2022-11-06 16:44:17 +01:00
38607178ba Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-11-06 11:01:27 +01:00
b08342691d add option to broadcast full RGBCW (as user requested) 2022-11-06 11:01:13 +01:00
79b2965553 Merge pull request #431 from openshwprojects/alpha
merge IR changes by btsimon
2022-11-06 09:30:34 +01:00
57a189f3db Added color background 2022-11-05 11:19:16 -05:00
d6237fce61 ledDriverChipRunning FX 2022-11-05 12:33:55 +01:00
4ac8ee9d17 add const on my_strnicmp 2022-11-05 09:47:35 +00:00
0895c416a8 added UCS1912 driver stub. Not called anywhere. 2022-11-05 08:02:41 +01:00
a70b905289 Fixed template value 2022-11-04 20:58:59 -05:00
a5769a5db0 Added shortcut icon, Escaped deviceName at some places 2022-11-04 19:41:55 -05:00
5d23a9cb4c Publish non-PWM channel states 2022-11-01 06:29:55 -05:00
f36352507c Using ~ for sensor disovery base topic 2022-11-01 06:29:55 -05:00
dc70b3c806 Merge pull request #382 from btsimonh/lfssize
Make LFS size adjustable.
2022-11-01 11:24:03 +01:00
240a559674 Merge pull request #384 from iprak/save-changes
Save settings
2022-11-01 11:22:03 +01:00
db20dcba8c Save settings 2022-11-01 04:36:41 -05:00
f74a49c08d Make LFS size adjustable. Breaking change as default is 0x8000 (16Kbytes).
New commands:
lfssize - log size
lfssize 0x10000 - configure size
lfsunmount
lfsmount
lfsformat - reformat at current size
lfsformat 0x18000 - configre size and format lfs.

lfs size is stored in devcie config.
The main benefit of this is if a small LFS is used, it does not get overwritten when doing OTA.
Also, if it DOES, you can still backup and restore, which will be faster with a smaller area.
You still have the option for up to 0x80000 - 512 kbytes.
2022-11-01 07:42:53 +00:00
3c894c305f BK7231 specific functionality 2022-11-01 01:16:59 +01:00
6934ba7b11 OTA - monitoring update 2022-10-31 23:52:32 +01:00
ad96b9f99c scripting example 4; dimmer1000 channel type; some stubs for tuyamcu power 2022-10-30 17:50:00 +01:00
71e307dfec Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-10-30 06:24:59 +01:00
6c8d093fad add a comment about saving led state 2022-10-30 06:24:34 +01:00
14d8348cd3 Regenerated pageScript 2022-10-28 06:39:27 -05:00
e19523510f Changed button caption 2022-10-28 06:16:08 -05:00
0a2c4d19b0 Added element check, formatting 2022-10-28 06:11:50 -05:00
a526aa30c7 HTTP - Pin Monitor exclude UART2, Added auto-disable after reboot 2022-10-27 13:08:02 +02:00
7834df2710 HTTP - added RSSI scaling 2022-10-27 04:36:05 +02:00
4eb86941fb Platform build fix IV 2022-10-27 01:19:46 +02:00
d3e8386c3a Platform build fix 2022-10-27 00:56:17 +02:00
d7d08db1e3 DRV - BL09XX - history calculation updated.
Warnings resolved.
2022-10-26 23:54:56 +02:00
0573d8cd91 BL09XX - implemented saving of consumption history
HAL - Added fields for saving metring variables
OTA - added donwload progress in HTTP front page
MAIN - added Saving of metering status before reboot.
2022-10-26 22:08:17 +02:00
c84dddcb3b Merged changes from upstream
Updated usage of htprint255
Main - wifi state machine changes. Ping state machine changes.
Ping - added flag if ping is already started or not, added silent flag
2022-10-26 22:08:17 +02:00
6fe708162c BL0937 - measurements refinement, added past seven days stats
BL09XX - HTTP plugin afdjustment, added new output doe daily stats.
DRV - updated NTP.
NTP - added HTTP plugin
HAL - added Wifi Disconnect command (TODO: other platforms)
MAIN - ping watchdog added wifi disconnect command after ping watchdog triggered
2022-10-26 22:08:17 +02:00
6ecba9344d HTTP - removed P10,P11 expception from PIN monitor
PINS - button active level bug fix.
2022-10-26 22:08:17 +02:00
0ba61a7a81 DRV - bug fixing for driver HTTP plugin driver list. 2022-10-26 22:08:17 +02:00
d2a580ddfd Merge pull request #332 from btsimonh/OTAThreadFix
IDLE MUST RUN!!!
2022-10-25 17:32:03 +02:00
b62d45e7d2 AlwaysHigh AND AlwaysLow 2022-10-25 17:08:16 +02:00
a824f93f68 added new button types for a RGB LED strip that has buttons 2022-10-25 17:00:36 +02:00
dc00837cbc IDLE MUST RUN!!!
Added idle counter to 1s timer.
Added rtos_delay_milliseconds in 1s timer, inside OTA, and in http tcp server and client threads.
Reason: During OTA, it could get to a state where the IDLE thread got no time.
The problem with this is that the tcp_client thread stack never got released, and so during this time, the heap was reduced by 8k for each call, resulting in no more heap, and death (hang).
2022-10-25 12:31:24 +01:00
58cc3b5017 Merge pull request #330 from iprak/fix-for-none-device-class
Removed None
2022-10-25 11:56:37 +02:00
2970ec62fd Replace hprintf128 with hprintf255 in all files 2022-10-25 06:31:11 +01:00
449d66a2d0 Merge branch 'snprintf' into snprintfPR
# Conflicts:
#	src/driver/drv_bl_shared.c
2022-10-25 06:29:59 +01:00
6516205d37 Chore: replace many sprintf with snprintf. Only one was doubtful - 5 x %f into a small string? 2022-10-25 06:19:23 +01:00
a7f840c05d Removed None 2022-10-24 19:52:59 -05:00
0a095bbd65 Added Wh for energy 2022-10-23 10:34:40 -05:00
b9825521d4 Sending unit in discovery 2022-10-23 10:34:05 -05:00
ef019647cf increase http client stack size; add LFS read file to buffer function; make sure events are clear 2022-10-23 05:27:03 +02:00
fe7c5962de Merge pull request #309 from iprak/discovery-publish-channels
Discovery / publish initial values
2022-10-21 14:45:50 +02:00
f27468424e Revised to use enum 2022-10-21 05:27:08 -05:00
7cce808c76 basic IR events are working, IR is now updated along with buttons / drivers quick tick 2022-10-20 18:14:42 +02:00
1471131d20 Publish channel states after discovery 2022-10-20 04:49:52 -05:00