Commit Graph

79 Commits

Author SHA1 Message Date
openshwprojects
ba7aba3cb9 xr809 build logging.c 2022-03-07 09:55:00 +01:00
btsimonh
366649d6d9 Logging SHOULD work in Windows now - please test & use it....
New scheme - define LOG_FEATURE at the top of a file, then use ADDLOGF_XXX(fmt, ...)
modified new_http.c, user_main.c, to use this.
2022-03-06 17:16:46 +00:00
btsimonh
8b67c09839 initialise g_commands
debug in exec.
fix a logging bug.
add commands: logtype direct|all, logdelay <ms>
2022-03-05 15:02:48 +00:00
openshwprojects
2779967149 UNFINISHED tuyaMCU and commands thing 2022-03-04 18:44:58 +01:00
openshwprojects
f98e5e79a8 initial command line and tuyamcu demo to play around with - it's able to send a time (hardcoded) packet to TH06 and the time shows up on the LCD 2022-03-04 11:31:42 +01:00
openshwprojects
b60e6fc138 uart tool - http page stub 2022-03-03 01:14:52 +01:00
btsimonh
6b3294d7c9 re-order functions 2022-03-01 22:06:16 +00:00
btsimonh
71f7778b2f move http into functions. 2022-03-01 21:59:11 +00:00
openshwprojects
f6c3c8f689 fix xr809 bu7ild 2022-02-27 22:50:10 +01:00
btsimonh
9056b563de Add Channel_GetRoleForChannel. Add wal_strnicmp fn. add cmnd/<topic>/color MQTT feature - uses #RRGGBBCWww to set PWM channels - will work for any number of PWM 2022-02-27 18:15:16 +00:00
openshwprojects
de11afdd6a add a special "Toggle all channels" button (tested only with relays, not with PWMs) 2022-02-26 11:13:50 +01:00
openshwprojects
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
ExploWare
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
btsimonh
303fe3a0c8 fix VSCode displayed warnings 2022-02-23 09:05:53 +00:00
openshwprojects
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
openshwprojects
abe71789eb delay ota call 2022-02-20 19:31:33 +01:00
openshwprojects
20089a946a xr809 ota 2022-02-20 16:30:02 +01:00
openshwprojects
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
openshwprojects
e625b168c2 debug information dump 2022-02-19 15:46:13 +01:00
openshwprojects
fa972be4eb Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-19 15:04:57 +01:00
openshwprojects
6876a5a7be display flash ascii 2022-02-19 15:04:36 +01:00
openshwprojects
e627ea7efa Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-17 20:56:57 +01:00
openshwprojects
1985f05940 qiachip bk7231N (N version) template for button and relay pin 2022-02-17 20:56:42 +01:00
boozeman
f308dd271e Update new_http.c
Fixed Typo for BK7231T naming
2022-02-17 21:36:37 +02:00
openshwprojects
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
openshwprojects
e0d9b38101 show device type, loglevel tool 2022-02-17 19:49:16 +01:00
openshwprojects
f309859cc8 config setting error checking 2022-02-17 02:05:28 +01:00
openshwprojects
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
btsimonh
44e09f42d3 fix webapp url cfg save! 2022-02-16 19:48:19 +00:00
openshwprojects
e827202693 restart button, fix windows build 2022-02-16 16:58:49 +01:00
btsimonh
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
openshwprojects
0385520eaa Merge branch 'main' into main 2022-02-16 02:03:20 +01:00
Tomas Strand
d3fda21f9f Add Quickconfig for Smart-PFW02-G 2022-02-15 21:47:32 +02:00
Timo Viinanen
abbc131a50 Emax EDU8774 SmartPlug config 2022-02-15 17:46:02 +02:00
Timo Viinanen
c0312d21ea Emax EDU8774 SmartPlug config 2022-02-15 17:41:11 +02:00
Timo Viinanen
29088ab658 New quickconfigs for Nedis WIFIP130FWT and WIFIPO120FWT devices 2022-02-15 10:17:30 +02:00
openshwprojects
3cb88a8560 mac address change (only works on xr809?) 2022-02-15 02:58:12 +01:00
openshwprojects
13929de580 misc fixes, hint for HA users, display mac 2022-02-15 02:28:19 +01:00
openshwprojects
50332533da xr809 functional config save, mqtt working, pins save, wifi save, mqtt save 2022-02-15 00:23:04 +01:00
openshwprojects
740fffbc96 fixes 2022-02-14 19:35:56 +01:00
openshwprojects
9a611171a4 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-14 13:18:47 +01:00
openshwprojects
d753719293 support xr809 flash read HTTP api 2022-02-14 13:18:35 +01:00
btsimonh
6dfcaa85b6 convert to new flash_config functions. add webapp config. 2022-02-13 22:16:21 +00:00
openshwprojects
a5df554e42 xr809 configurator for digital io works - prototype 2022-02-13 17:44:46 +01:00
openshwprojects
ccc2f92f6e xr809 support - initial version 2022-02-12 23:31:57 +01:00
btsimonh
b4115b9019 Merge remote-tracking branch 'origin/main' into littlefs 2022-02-12 17:58:32 +00:00
openshwprojects
7da9528431 XR809 tcp port - not tested 2022-02-12 17:32:16 +01:00
btsimonh
cff74553fa Add HTTP response code support plus other tweaks to help in responding 2022-02-12 11:08:20 +00:00
TallTechDude
84d49df64d feat: add MQTT will and availability topic 2022-02-11 12:29:00 +00:00
btsimonh
8b8e8e5990 Merge branch 'logging2' into logging3
# Conflicts:
#	src/httpserver/new_http.c
#	src/user_main.c
2022-02-10 22:15:10 +00:00