Commit Graph

727 Commits

Author SHA1 Message Date
openshwprojects
8bb382b1f2 rtos delay (#1056) 2024-02-04 12:53:27 +01:00
giedriuslt
20abe81b0b Implement reboot reason for BL602 (#1053)
* Implement RSSI for BL602 (#5)

Adds RSSI for BL602, looks ok, reports similar to what BK7231N reports in the same place

* Update http_fns.c

* Update http_fns.c
2024-01-31 17:55:54 +01:00
giedriuslt
c5ad9acfb7 Implement full flash read for BL602 (#1052)
* Implement RSSI for BL602 (#5)

Adds RSSI for BL602, looks ok, reports similar to what BK7231N reports in the same place

* Update rest_interface.c

* Update rest_interface.c

* Update rest_interface.c

* Update rest_interface.c

* Update rest_interface.c

* Update rest_interface.c

* Update rest_interface.c

* Update rest_interface.c
2024-01-29 17:59:05 +01:00
openshwprojects
55e2a66f7d Tuyamcu raw access (#1048)
* working/?

* winnermicro fix

* ENABLE_DRIVER_TUYAMCU fx

* some fixes, some unfiished

* extra check
2024-01-24 11:18:29 +01:00
Tester23
5f7ab71721 quick hack to display LN temperature 2024-01-21 17:08:20 +01:00
Imre Lengyel
87868f2559 Get sunrise/sunset (#1030)
* Get the next sunset or sunrise values as TimerSeconds to allow setting a light's initial sate.

* Fix BL602 & W600 builds, and add some self test asserts for get sunrise/sunset

* Clock based self tests fail if they are not run in Europe time zone.

Update all usages of localtime to be gmtime. On windows local time is has the timezone applied on top of the sourceTime parameter, OpenBK app manages its own timezone and applies it to g_ntpTime appropriately, so gmtime will avoid the additional timezone application on windows machines.

* Simplify sample autoexec to avoid functionality that has not been implemented yet.

* Update docs

* Small fix in autoexe file

No brackets allowed, multiplications before addition appears to work
2024-01-20 13:50:40 +01:00
Tester23
92af5a6eaa OTA 2024-01-18 17:29:49 +01:00
Tester23
77a95640ab fix hass discovery 2024-01-13 19:13:14 +01:00
openshwprojects
2ba126b48b LN882H (#1022)
* it compiles and links

* Update user_main.c
2024-01-08 21:07:55 +01:00
Peter Edwards
57bf618d6d Start of LN882H platform definitions 2024-01-08 15:17:42 +02:00
Tester23
bed281a890 friendlyName fix 2024-01-02 19:35:01 +01:00
Tester23
b27c3a9cfc OBK_FLAG_DISCOVERY_DONT_MERGE_LIGHTS 2023-12-23 08:19:16 +01:00
Tester23
b0bfc23098 split power handling 2023-12-17 23:08:52 +01:00
Tester23
7193dbfa18 rewrite div handling so it's less messy 2023-12-17 22:13:40 +01:00
Tester23
6cabc45b67 add Temperature_div100 for BMP280 2023-12-17 21:12:27 +01:00
Tester23
e4211ac508 add pressure channel 2023-12-16 18:27:46 +01:00
Lubomir Kaplan
95c30dd800 Add HTTP basic authentication (#996)
* add http basic auth

* add feature check for basic auth process

* fix http basic auth build for unsupported platforms (W800, W600)

* fix includes in http_basic_auth

* fix basic auth invocations when unavailable

* add http basic auth allow checks to http_fns

* remove unnecessary checks

* add my_strnicmp export

* silence warning

* update web password config ui

* update submodules

* add base64 lib to boufallo.mk for BL602

* add safe mode http basic auth bypass flag

* fix bl602 build with http auth bypass flag

* disable shared led driver

---------

Co-authored-by: Tester23 <openshwprojects@gmail.com>
2023-12-13 15:19:11 +01:00
Tester23
4ba5c8326c PowerFactor_div100 2023-12-07 19:34:17 +01:00
Tester23
34bf86f90f add Frequency_div10 2023-12-04 16:59:27 +01:00
Tester23
960f281102 tuyamcu hass discoery edge case fix 2023-11-29 13:04:13 +01:00
Tester23
08fc163286 rename loglevel to g_loglevel because it's global variable... 2023-11-26 12:17:11 +01:00
Tester23
801959d9b8 only fixing warnings 2023-11-21 14:48:15 +01:00
Tester23
0fccb67580 cosmetic changes only, fixing compilation warnings 2023-11-20 14:54:05 +01:00
openshwprojects
79c0f6d862 temporary disable IP print 2023-11-02 17:21:50 +01:00
openshwprojects
d772bb4938 prit more ip info (#974) 2023-11-02 08:54:36 +01:00
Tester23
f9e5e428d0 remove 255 chars limit from add_label_input 2023-11-01 08:24:56 +01:00
Tester23
1308a8f5b5 fix potential RSSI name collision 2023-10-25 16:01:18 +02:00
Tester23
8ea0b76a68 add month stub, disable lagging tcp close code for windows 2023-10-21 19:23:09 +02:00
Tester23
bff7bb5d9e correct invalid HSB scaling 2023-10-21 18:15:51 +02:00
Tester23
476af2825a test - better rounding|? 2023-10-19 11:56:30 +02:00
Tester23
1574f210b5 link rssi 2023-10-19 11:36:00 +02:00
Tester23
83cd57dff5 hass rssi discovery 2023-10-19 10:30:18 +02:00
Tester23
95da0df806 cosmetic fix 2023-10-17 11:56:17 +02:00
Tester23
53835060fc add TimerSeconds 2023-10-17 10:49:49 +02:00
openshwprojects
9245b17dac test queue p1 (#938) 2023-10-12 19:57:32 +02:00
Tester23
344251e9dd reword and fix littlefs define 2023-09-29 20:08:01 +02:00
Tester23
9c1ececd3c empty stat_t fix? 2023-09-27 20:26:50 +02:00
Tester23
7fae04a9e3 add missing header 2023-09-27 09:42:08 +02:00
Tester23
51f2281e36 Temperature_div2 added 2023-09-27 09:03:31 +02:00
Tester23
005b1e5ad9 RGBW discovery self test for Windows 2023-09-25 11:17:04 +02:00
Tester23
5ddcf3b830 ChType_Voltage_div100 fix 2023-09-24 10:49:52 +02:00
Tester23
735236a3f5 added Voltage_div100 2023-09-23 21:34:03 +02:00
Tester23
c948af2a3a OffOnRemember channel type for tuyamcu 2023-09-21 20:04:31 +02:00
Tester23
c82c6047cc whitespaces in name fix? 2023-09-06 17:40:07 +02:00
Tester23
8b0c85f6dc mqtt host clear fix 2023-08-27 09:12:38 +02:00
Tester23
c4fb653746 MQTT disable info added to gui 2023-08-27 08:25:30 +02:00
Tester23
1141d42325 header 2023-08-23 11:16:07 +02:00
Tester23
ee1ffb38d3 Toggle_Inv per user request 2023-08-23 10:51:10 +02:00
Indu Prakash
5cb73aa17e Remove duplicate prefix (#899) 2023-08-16 11:05:29 +02:00
Tim Connors
e130cfddbe Respond to POSTs as well as GETs in /cm handler (#900)
* add method to parse args from body instead of just url

* Allow /cm to POST and PUT as well as GET

* forgot to ensure didn't misparse non GET/PUT/POST in /cm requests

---------

Co-authored-by: Tim Connors <tconnors@rather.puzzling.org>
2023-08-16 08:15:48 +02:00