Commit Graph

294 Commits

Author SHA1 Message Date
70f3f02ba3 Merge remote-tracking branch 'origin/main' into flashvarstorage 2022-02-27 13:28:19 +00:00
5688fb5aec implement boot counting and boot complete for BK7231.
4 boots of < 30s -> AP mode.  leave booted for >30s, and it will return to normal mode.
2022-02-27 13:25:50 +00:00
de11afdd6a add a special "Toggle all channels" button (tested only with relays, not with PWMs) 2022-02-26 11:13:50 +01:00
4bfec693ec quick config added for one of the devicse donated to me recently - raw bk7231t on board 2022-02-25 23:38:06 +01:00
564d62a37c Adding T version of Qiachip
Thanks @boozeman for reminding me! I need to get Git going for me, how to send a local change to my git repo to create it in one single PR, then this would have been included
2022-02-25 08:57:19 +01:00
303fe3a0c8 fix VSCode displayed warnings 2022-02-23 09:05:53 +00:00
32ebba46a8 display USER_SW_VERSION with all checks for supported platforms (it's not defined on XR809 yet) 2022-02-23 03:51:41 +01:00
abe71789eb delay ota call 2022-02-20 19:31:33 +01:00
20089a946a xr809 ota 2022-02-20 16:30:02 +01:00
40e98527f6 rest: channel setting bugfixes 2022-02-20 10:16:16 +00:00
5af030eefe prepare to remove tuya lib from BK7231N version (it was required for BK7231N version beause for N version the functions like tuya hal flash read or tuya hal wifi ap scan was in .lib instead of source c files of SDK) 2022-02-20 01:15:22 +01:00
ca04abc987 Merge remote-tracking branch 'origin/main' into mods
# Conflicts:
#	src/httpserver/rest_interface.c
2022-02-19 20:13:03 +00:00
c36514c892 move http_rest_get and http_rest_post to top of file for clarity.
hash out test_config function (dangerous).
Add http_rest_get_channels, http_rest_post channels - so we can control device over rest API
2022-02-19 20:09:50 +00:00
cdf15801f4 BK7231N OTA support - not tested yet (the OTA address seems different) 2022-02-19 15:47:15 +01:00
e625b168c2 debug information dump 2022-02-19 15:46:13 +01:00
fa972be4eb Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-19 15:04:57 +01:00
6876a5a7be display flash ascii 2022-02-19 15:04:36 +01:00
77d5ad31a9 Merge pull request #29 from btsimonh/mods
bugfix for POST /api/pins
2022-02-18 11:10:49 +01:00
25553af26a json bugfix 2022-02-18 09:08:53 +00:00
ed189a0f07 bugfix for POST /api/pins 2022-02-18 09:03:25 +00:00
e627ea7efa Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-17 20:56:57 +01:00
1985f05940 qiachip bk7231N (N version) template for button and relay pin 2022-02-17 20:56:42 +01:00
f308dd271e Update new_http.c
Fixed Typo for BK7231T naming
2022-02-17 21:36:37 +02:00
0bb3ed19cf platforms misc stuff, naming so we know if its BK version N, T or maybe XR809 build? 2022-02-17 20:05:56 +01:00
e0d9b38101 show device type, loglevel tool 2022-02-17 19:49:16 +01:00
9090951f40 add GET /api/flash/<hexstart>-<hexend> to read any part of flash
e.g. http://192.168.1.176/api/flash/1e0000-1000
reads RF setup table
add POST /api/flash/<hex addr> to WRITE anywhere after 0x132000
2022-02-17 07:57:52 +00:00
f309859cc8 config setting error checking 2022-02-17 02:05:28 +01:00
e896a81e0a check result of mac change operation because it might fail if somebody has random data in flash config memory 2022-02-16 23:14:43 +01:00
44e09f42d3 fix webapp url cfg save! 2022-02-16 19:48:19 +00:00
4efe96af49 Merge remote-tracking branch 'origin/main' into mods 2022-02-16 18:54:33 +00:00
271ea04778 add more in /api/info 2022-02-16 18:51:59 +00:00
e827202693 restart button, fix windows build 2022-02-16 16:58:49 +01:00
819628ef39 add obktype in app html - in case we need the webapp to adapt....
Add a link to webapp in native cfg
2022-02-16 09:12:35 +00:00
0385520eaa Merge branch 'main' into main 2022-02-16 02:03:20 +01:00
d3fda21f9f Add Quickconfig for Smart-PFW02-G 2022-02-15 21:47:32 +02:00
abbc131a50 Emax EDU8774 SmartPlug config 2022-02-15 17:46:02 +02:00
c0312d21ea Emax EDU8774 SmartPlug config 2022-02-15 17:41:11 +02:00
29088ab658 New quickconfigs for Nedis WIFIP130FWT and WIFIPO120FWT devices 2022-02-15 10:17:30 +02:00
3cb88a8560 mac address change (only works on xr809?) 2022-02-15 02:58:12 +01:00
13929de580 misc fixes, hint for HA users, display mac 2022-02-15 02:28:19 +01:00
50332533da xr809 functional config save, mqtt working, pins save, wifi save, mqtt save 2022-02-15 00:23:04 +01:00
740fffbc96 fixes 2022-02-14 19:35:56 +01:00
9a611171a4 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-14 13:18:47 +01:00
d753719293 support xr809 flash read HTTP api 2022-02-14 13:18:35 +01:00
6dfcaa85b6 convert to new flash_config functions. add webapp config. 2022-02-13 22:16:21 +00:00
43f3c635f7 Merge remote-tracking branch 'origin/main' into mods 2022-02-13 19:24:48 +00:00
9b3ae23e75 start of flash_config 2022-02-13 19:24:39 +00:00
a5df554e42 xr809 configurator for digital io works - prototype 2022-02-13 17:44:46 +01:00
2cedcab2c5 fix btsimonh #define to exclude LittleFS 2022-02-13 16:08:10 +01:00
785d190689 add GET /api/info -> JSON {"uptimes":n, "build":"build time"} 2022-02-13 08:46:58 +00:00