e95d4695e0
introduce command flags system, mark command sources, warning fixes
2022-05-05 23:04:18 +02:00
b597db0167
Adding support for DS-102 switch (WB3S)
2022-05-04 00:27:21 +02:00
f35c072d8b
Added LSC Smart Connect Plug
2022-05-01 15:11:48 +02:00
9d3f3bd4d5
Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App
2022-04-27 20:05:35 +02:00
bcba65621e
short dev name display
2022-04-27 20:05:27 +02:00
894df9bb67
support "TOGGLE", allow http cmnd
2022-04-27 11:26:57 +02:00
ad912ea6e1
add OTA warning
2022-04-27 08:26:34 +02:00
6bc428accb
add pin role - digital input with no pull up (i need it for door and water sensors)
2022-04-26 14:32:36 +02:00
3f830137a9
Added a ping watchdog, a secondary failsafe mechanism reconnecting device when a certain host is not reachable. This is needed because in some very rare cases users reports that devices are not able to reconnect to wifi after connection in lost (despite of handling disconnect even in code.... for me it's working, but still)
2022-04-25 21:31:05 +02:00
312e2375a1
integrating ping watchdog
2022-04-25 18:31:44 +02:00
0bf23afb9b
Merge pull request #75 from heikobihr/main
...
add support for moes WIFI Smart Dimmer Module 105 (TuyaMCU dimmer, WB2S based)
2022-04-24 11:29:33 +02:00
700d82e23f
bl602 rem warnings p1, wifi callbacks
2022-04-23 19:27:57 +02:00
737ead3205
more commands, channel clamp option for commands
2022-04-23 18:07:00 +02:00
7f3723ee3a
add support for TuyaMCU dimmers
...
* add Tuya_SendState (and typed variants) to set value of a data point
* add tuy sendQueryState command to query state of TuyaMCU's data points
* add a new channel type "dimmer" (normalized value from 0..100)
* run TuyaMCU_OnChannelChanged, whenever a Channel is set to a new value:
This updates TuyaMCU's data point linked to the channel
* map normalized dimmer value (0..100) to TuyaMCU's dimmer range
(tuyaMcu_setDimmerRange)
2022-04-23 16:14:07 +02:00
edaa12c538
larger cmd field
2022-04-21 21:45:21 +02:00
20969aaf55
allow users to change device names, short id , etc
2022-04-21 12:15:31 +02:00
d2f3f6fda5
theosoft bugfix as pointed on Elektroda forum (pin counts for App)
2022-04-20 17:42:11 +02:00
069c15396b
lspa9 template, access to short init command from flash (alternative to littlefs)
2022-04-19 11:15:36 +02:00
c7f4a618f5
IMPORTANT fix for RGBCW light (0-255 color range when expected 0-100 by PWM caused flickering on T platform but not on N because N platform clamps pwm values and T does not)
2022-04-18 23:08:29 +02:00
7a75776bd0
template for zn268131, fixes IOR_ToggleChannelOnToggle
2022-04-18 18:01:06 +02:00
388e5cf5a6
added IOR_ToggleChannelOnToggle to support ZN268131
2022-04-18 17:43:58 +02:00
b7466188c6
xr809 ota request link (but not working because of flash issue)
2022-04-17 22:52:40 +02:00
a579e0d27f
template for https://www.elektroda.pl/rtvforum/viewtopic.php?p=19944184#19944184 device
2022-04-17 20:28:59 +02:00
9a7d59ec3d
bk7231n flash vars hals fixes
2022-04-17 18:13:33 +02:00
997c1eeaee
bl602 boot counter - this breaks other paltforms
2022-04-17 17:40:00 +02:00
ec1458aea1
prevent stack overflow by saving always in main loop; fix PWM for BL602; fix GPIO indices
2022-04-17 11:41:02 +02:00
0ec2c400ef
fix pins and log
2022-04-17 03:47:06 +02:00
8786b4eb41
remaining change detectors
2022-04-17 03:26:57 +02:00
eeba31415f
2KB main config structure (NET_PARAM is 4096 so 2048 bytes left free)
2022-04-17 00:30:45 +02:00
01d9ec54e5
HAL pins
2022-04-16 17:21:42 +02:00
94aae1fadb
on bl602, any pi ncan be pwm
2022-04-16 15:55:44 +02:00
9b88617fa0
corrrect names for threads
2022-04-16 02:09:58 +02:00
429d3f6218
bl602 testing
2022-04-15 22:58:11 +02:00
7ffa51c003
clear up reduntant headers
2022-04-15 20:49:49 +02:00
04f48ac886
bl602 port p1
2022-04-15 20:31:43 +02:00
e8e5e61d49
hal main
2022-04-15 15:07:07 +02:00
61871a753a
reorganize, reboot xr809
2022-04-15 14:39:46 +02:00
66aa9277f8
xr809 fixing and organziation
2022-04-15 14:07:26 +02:00
db603b1ae4
gi, comments
2022-04-15 12:10:20 +02:00
73f4fb879d
reorganize p1
2022-04-15 11:52:36 +02:00
d9b77c8eac
fix warnings p3
2022-04-15 11:13:31 +02:00
6083322fef
Merge pull request #74 from btsimonh/bootfailurestartup
...
Modify startup when in AP mode.
2022-04-15 10:05:37 +02:00
58e36cd335
stub for Tasmota http commands interface
2022-04-13 18:08:28 +02:00
9686d52861
Pins: Separate actual pin h/w config from PIN_LoadFromFlash into new fn PIN_Setup(), so that we can load the pin config without setting it as active.
...
new variable g_enable_pins - if zero, no h/w config can be done.
new static var mqtt_initialised - set in mqtt_init, used to prevent mqtt__RunEverySecond if mqtt not initialised.
user_main.c - don't enable many functions if in AP mode.
2022-04-13 08:38:05 +01:00
be7ce8f330
add missing reset
2022-04-12 17:36:55 +02:00
9c6d09845d
BL0942 support with calibration
2022-04-12 13:48:21 +02:00
0be787713f
N version OTA fix
2022-04-11 16:11:23 +02:00
d176605e20
do not show PWM option on web panel for non-PWM pins because it confuses users
2022-04-11 12:07:41 +02:00
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