bb8bb26a6d
IOR_DigitalInput (with internal pull up) and IOR_DigitalInput_n (same, but returns inversed value). Should work on N, T and XR809
2022-04-10 22:10:19 +02:00
e51e288f59
basic MCP23017 support (port exander), it's possible to map channels to MCP ports
2022-04-10 21:24:38 +02:00
18e38a2a20
Add '[BK7231N][CB3S] Tuya Smart Wifi Switch 4 Gang' Template
2022-04-09 08:42:15 +05:30
5a28f9f3a0
tuyamcu commands, time zone offset simple setting for ntp
2022-04-08 19:38:17 +02:00
e880a86e9a
PLATFORM_BK7231N scan wifis
2022-04-07 00:52:58 +02:00
a42de81fa4
experimental i2c drivers system
2022-04-07 00:08:11 +02:00
ca653be7ac
add template for smart light bulb RGBCW device from Tuya, bk7231N, see https://www.elektroda.pl/rtvforum/viewtopic.php?t=3880540&highlight=
2022-03-19 15:04:01 +01:00
03c89ca3d2
Add Avatar 5v LED strip
2022-03-14 21:26:46 +00:00
775e540271
added my TC74 I2C test code (only hardcoded example) , comment out start_i2c_test to run
2022-03-11 19:10:38 +01:00
b988c23092
finalize logging clear up
2022-03-07 16:00:19 +01:00
c1c5757574
ports logs and javascript app to xr809, clear up logging from duplicate log functions
2022-03-07 14:01:15 +01:00
ba7aba3cb9
xr809 build logging.c
2022-03-07 09:55:00 +01:00
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
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
49a4e73afe
chore: warning squashing.
2022-03-05 10:20:13 +00:00
e9a7d1d4eb
new_cmd - make it not based on globals. Now command can be re-entrant?
...
don't parse args in new_cmd - just cmd & args string. (we can have glbal fns to perform this if required, but current implementation not good for "my name" type args.
Add context in command fn structure. This is generic ptr for any purpose.
modify extsing command usage to fit.
Add logging commands loglevel n and logfeature m n
2022-03-05 10:10:56 +00:00
22e43c0176
Merge remote-tracking branch 'origin/main' into main
2022-03-04 21:27:13 +00:00
6fa8049892
add command POST at api/cmnd
2022-03-04 21:27:04 +00:00
2779967149
UNFINISHED tuyaMCU and commands thing
2022-03-04 18:44:58 +01:00
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
40bdb68d13
command system - unused, tuya mcu stub
2022-03-04 10:22:17 +01:00
b60e6fc138
uart tool - http page stub
2022-03-03 01:14:52 +01:00
89dec74eac
support for secondary relay to toggle on button on double clcik
2022-03-02 12:54:50 +01:00
0dfe8bee4d
fix LFS.
...
Add rest folder read - returns JSON of folder.
2022-03-02 09:23:30 +00:00
f60b9099b3
Merge pull request #46 from ExploWare/newline-unix
...
Newlines all changed to unix style
2022-03-02 09:05:29 +01:00
dd332a2f31
remove unused variables
2022-03-01 22:37:48 +00:00
6c647bf7bb
swap sprintf(xx) poststr(xx) for hprintf128()
2022-03-01 22:30:48 +00:00
6b3294d7c9
re-order functions
2022-03-01 22:06:16 +00:00
71f7778b2f
move http into functions.
2022-03-01 21:59:11 +00:00
85324135ef
littlefs tweaks:
...
1/ initiliase at startup, but don't create if mount fails.
2/ unmount and re-mount on FS block upload.
3/ don't create on file read if not mounted. (favicon)
4/ allow format of non-existant LFS on file upload.
2022-03-01 09:11:56 +00:00
94f4a8f600
Newlines all changed to Windows style
2022-02-27 23:21:09 +01:00
f6c3c8f689
fix xr809 bu7ild
2022-02-27 22:50:10 +01:00
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
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