bd84eb4878
SM2235 driver - not tested, but based on the datasheet and SM2135 code
2023-01-15 23:09:31 +01:00
a00ca655df
Added message ( #592 )
2023-01-15 15:13:31 +01:00
f6b37fbeee
Merge pull request #578 from iprak/hass-discovery-ip-change
...
Invoke discovery on ip change
2023-01-05 18:50:24 +01:00
a384380a66
remove debug logs
2023-01-05 12:38:11 +01:00
67a86b1678
update ping Watchdog and add "NoPingTime" change event to trigger script on no ping time value change
2023-01-05 12:18:55 +01:00
f3a8c7947f
Adjusted one more location for safe mode
2023-01-03 19:40:17 -06:00
65b9f7f4be
Added a controlling flag
2023-01-03 18:23:26 -06:00
a985266394
Fixed message
2023-01-03 18:18:03 -06:00
555df7e371
Invoke discovery on ip change
2023-01-03 18:18:02 -06:00
92453ff549
DHT - test on change, not every frame
2023-01-02 00:41:26 +01:00
baf25dd601
Merge pull request #572 from iprak/w600-dht
...
Added DHT support in W600
2023-01-01 13:24:41 +01:00
9926bd7a9c
Added DHT support for W600, LOG_FEATURE_DHT
2022-12-31 14:12:23 -06:00
4db0b2d174
silence compilation warnings on Beken platform - part 1
2022-12-30 22:16:10 +01:00
613738afc1
DHT works now on BL602 (only had to adjust the NOP delay)
2022-12-29 16:39:26 +01:00
478f0acbf6
more automatic MQTT testing on windows, publishInt/publishFloat commands, example event name fix in comment, wifi states to console log display its numeric vlaues as well
2022-12-28 17:31:01 +01:00
0f555f5d4e
WiFi state event (docs to be added soon, but argument is a HALWifiStatus_t)
2022-12-27 18:14:16 +01:00
738aa6678e
IPChange evnet, PLATFORM_BEKEN fx
2022-12-26 21:06:26 +01:00
fa723b3e1f
add DHT driver port - not called anywhere, but working and tested
2022-12-26 16:23:37 +01:00
adcf2ef001
publish self IP if it changes
2022-12-26 12:02:57 +01:00
69ffc8d2de
add console command to schedule HA discovery so people can configure everything via commands
2022-12-23 14:56:46 +01:00
d33ebbdd48
startdeepsleep command
2022-12-17 14:44:03 +01:00
b13ac8efb3
Implementation of GPI interrupts on Beken.
...
You can enable them for testing by setting
#define BEKEN_PIN_GPI_INTERRUPTS
in quicktick.h
Also changes MQTT triggering to trigger a single read cycle even if multiple MQTT messages arrive before they are serviced.
2022-12-17 09:24:25 +00:00
d022bd1c25
quick_tick -> QuickTick plus fix builds on other platforms.
2022-12-16 08:40:33 +00:00
e7b8b31560
Move quicktick timer into user_main.c
...
Call PIN_Ticks() from quicktick - so separating the functionality, but not changing anything.
2022-12-16 08:27:08 +00:00
4d6dd0e3f3
Add power logging, dependent on
...
#ifdef OBK_MCU_SLEEP_METRICS_ENABLE
in SDK update.
2022-12-15 08:35:30 +00:00
7d1fb616e4
sim early log fix
2022-12-13 15:05:30 +01:00
547ccc2e7f
small windows and sim fixes
2022-12-12 16:35:30 +01:00
035e84333b
add ability to exit safe mode (enables web app, etc, but still doesnt execute autoexec etc etc)
2022-12-09 12:08:32 +01:00
7abc06cb48
sim: force a full clearup between sessions - for commands and mqtt
2022-12-08 15:41:11 +01:00
60fb00eb59
sim: reset LED driver in main_init, add a simulated time
2022-12-08 11:04:08 +01:00
6dc7510f77
try to support wifi networks with empty password
2022-12-02 13:19:35 +01:00
90f68934fa
BUGFIX - call CFG_Save_IfThereArePendingChanges in main timer to make sure that all pending results are saved (if OTA is not running)
2022-11-27 18:45:12 +01:00
6ea0bd959c
force a release rebuild
2022-11-22 06:23:07 +00:00
5cc58be5a3
use fixed delay on N
2022-11-21 20:26:07 +00:00
489e0babaf
split main_init into three, early, delay and late start.
2022-11-21 19:47:55 +00:00
6ab8890715
SendGet will now work on Windows. add some more selft tests, but mostly stubs. Add placeholderse for RTOS functions and misc time utils on Windows. Threads are needed for SendGet
2022-11-21 10:46:16 +01:00
a1cd1248f3
many compilation fixes for the upcoming port
2022-11-08 09:52:16 +01:00
d374db5310
Delay start by 750ms.
...
By experiment, tcp init happens after 500ms.... but I can;t find a way to wait for it to have finished, so 750 is 'safe'?
2022-11-02 09:17:43 +00:00
dc70b3c806
Merge pull request #382 from btsimonh/lfssize
...
Make LFS size adjustable.
2022-11-01 11:24:03 +01:00
172e452699
move DRV_SSDP_Active varibale to user_main to allow compile with DRV_SSDP.c excluded from build.
2022-11-01 07:51:12 +00: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
4bab4c2bdc
add header
2022-10-30 21:32:09 +00:00
424e5a97d9
schedule restart for SSDP if it was running at wifi connect (e.g. in startup line....)
2022-10-30 21:30:50 +00:00
1e26b845b8
bugfix for schedule driver start
2022-10-30 21:29:31 +00:00
af312432e0
start ping watchdog disabled.
2022-10-29 10:20:06 +01:00
a526aa30c7
HTTP - Pin Monitor exclude UART2, Added auto-disable after reboot
2022-10-27 13:08:02 +02:00
088afb8450
Platform build fix III
2022-10-27 01:11:40 +02:00
db70242e57
Plaform build fix II
2022-10-27 01:03:44 +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