Theo Arends
68c60c321e
Handle too many command data
...
Handle too many command data
2019-02-23 19:19:31 +01:00
Theo Arends
49f0b514eb
Fix some exceptions and watchdogs
...
* Fix some exceptions and watchdogs due to lack of stack space - part 2
* Add command SetOption62 0/1 to disable retain on Button or Swith hold messages (#5299 )
* Add option WifiConfig 7 to allow reset of device in AP mode without admin password (#5297 )
2019-02-22 12:04:05 +01:00
netpok
6cbfb0308a
Check no hold retain flag on hold action sending
2019-02-21 21:30:30 +01:00
netpok
3c58f5b7b9
Add password validation to password command
2019-02-21 15:57:45 +01:00
Theo Arends
05b0280019
6.4.1.18 - Fix some exceptions and watchdogs
...
6.4.1.18 20191221
* Fix some exceptions and watchdogs due to lack of stack space - part 1 (#5215 )
2019-02-21 14:31:31 +01:00
Theo Arends
32c1e2d13c
Tuning uptime and add utctime
...
Tuning uptime and add utctime
2019-02-19 10:48:19 +01:00
andrethomas
1da8f94a05
Introduce Reset 6
2019-02-18 21:52:22 +02:00
Theo Arends
3c3b5bb8ca
Add property Downtime
...
Add property Downtime to state and status 11 message representing the duration of wifi connection loss
2019-02-18 18:02:22 +01:00
Theo Arends
4884a94b6d
Add LinkCount and MqttCount
...
* Add property LinkCount to state and status 11 message representing number of Wifi Link re-connections
* Add property MqttCount to status 6 message representing number of Mqtt re-connections
2019-02-18 17:05:25 +01:00
Theo Arends
e898dc03e7
Add Wifi Link Connection Count
...
Add Wifi Link Connection (Retry) count to state message. Always starts with 1 being the initial connection.
2019-02-18 15:41:41 +01:00
Theo Arends
4d0ab9448d
Fix unsupported sensor ids
...
Fix unsupported sensor ids popping up after a config restore
2019-02-17 16:43:52 +01:00
Theo Arends
a201dd1222
Remove command SetOption62
...
Remove command SetOption62 as it's functionality is replaced by user changing the device template (#5255 )
2019-02-17 16:05:53 +01:00
Theo Arends
e2540f0afe
Update sonoff.ino
...
Prep for template menu
2019-02-17 10:42:55 +01:00
Theo Arends
14d5f7fb54
Fix GUI password and Add rule expression
...
* Fix GUI wifi password acception starting with asteriks (*) (#5231 , #5242 )
* Add rule expression enabled by define USE_EXPRESSION in my_user_config.h (#5210 )
2019-02-16 16:17:17 +01:00
Theo Arends
7c9720de9d
Merge pull request #5210 from laurentdong/development
...
Introduce Expression in Rules - Updated
2019-02-16 15:49:46 +01:00
Theo Arends
77db7ba0ff
6.4.1.17 Change template stability
...
6.4.1.17 20190214
* Change template update by removing possibility to add user module config keeping template as defined (#5222 )
2019-02-14 16:48:28 +01:00
Theo Arends
b9f6bf402a
Add CFG_HOLDER to status 1
...
Add parameter CFG_HOLDER to status 1 message (#5206 )
2019-02-13 10:50:02 +01:00
Laurent
4b4b3709ad
Introduce Expression in Rules
...
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset), operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^ (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
2019-02-12 21:46:42 -05:00
Theo Arends
567bc93623
Add Template GUI update
...
Initial support for online template change using command Template or GUI Configure Other (#5177 )
2019-02-12 11:55:47 +01:00
Theo Arends
98ae3eaf54
6.4.1.16 Online template change
...
6.4.1.16 20190211
* Initial support for online template change using command Template (#5177 )
2019-02-11 19:21:49 +01:00
Theo Arends
3a59084377
Enable group status messages
...
Add status message to former declined group commands (#5145 )
2019-02-09 13:37:27 +01:00
Theo Arends
ab11096f3a
Add command SerialDelimiter 128
...
Add command SerialDelimiter 128 to filter reception of only characters between ASCII 32 and 127 (#5131 )
2019-02-09 13:25:15 +01:00
Gabor Simon
7b93df4978
Merge branch 'development' into sm16716
2019-02-08 20:00:53 +04:00
Theo Arends
ae277f59cf
Change image defines
...
6.4.1.15 20190208
* Change image name BE_MINIMAL to FIRMWARE_MINIMAL (#5106 )
* Change image names USE_xyz to FIRMWARE_xyz (#5106 )
2019-02-08 14:55:45 +01:00
Gabor Simon
e23d4201c1
Merge branch 'development' into sm16716
2019-02-04 16:48:49 +04:00
Theo Arends
6ee3d1abc6
Fix IR local echo
...
Fix IR local echo
2019-02-03 18:45:20 +01:00
Theo Arends
54aaaf50c9
6.4.1.14 Add diag info to status 3
...
6.4.1.14 20190203
* Add SetOption32 until SetOption49 diagnostic information to Status 3 report as replacement for second property value in SetOption property name
* Add Resolution property to Status 3 report providing previous SetOption second value property
2019-02-03 12:38:41 +01:00
Colin Kuebler
d7b8a6453d
Added preprocessor constant for LT_SM16716 for improved code readability
...
Note that this differs from other LT_* in that it's not an enum
Ensure the SM16716 codepath is only taken when the top half of light_type is LT_SM16716
2019-02-01 19:41:12 -05:00
Gabor Simon
bbce19a74e
Merge branch 'development' into sm16716
2019-02-01 08:27:35 +04:00
Colin Kuebler
3a43050d93
Integrated Gabor's SM16716 code into the light driver code
...
Removed redundant processing and variables
Added new light type to distinguish SM16716 devices
2019-01-30 17:19:40 -05:00
Theo Arends
2c164a8b4b
6.4.1.13 Add boot loop offset
...
6.4.1.13 20190130
* Add command SetOption36 to control boot loop default restoration (#4645 , #5063 )
2019-01-30 14:34:31 +01:00
Theo Arends
304ac6fe44
6.4.1.12 code changes (byte/boolean)
...
6.4.1.12 20190128
* Change code use of boolean to bool and byte to uint8_t
* Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends
dc75b473cf
Add support for inverted buttons
...
* Add core version conditional compile options to provided PWM files (#4917 )
* Add support for inverted buttons and inverted buttons without pullup (#4914 )
2019-01-27 14:54:28 +01:00
Theo Arends
1fb7eb646f
Add 50 mSec delay
...
Add 50 mSec delay between interlocked relay switch
2019-01-25 18:30:10 +01:00
Theo Arends
505c4794d1
6.4.1.11 Rewrite interlock
...
6.4.1.11 20190124
* Remove command SetOption14 as it has been superseded by command Interlock
* Remove command SetOption63 as it has been superseded by command Interlock
* Add command Interlock 0 / 1 / 1,2 3,4 .. to control interlock ON/OFF and add up to 8 relays in 1 to 4 interlock groups (#5014 )
2019-01-25 17:46:27 +01:00
Theo Arends
7745e1e779
Fix Hass Software Watchdog
...
Fix Hass Software Watchdog exception during discovery (#4988 )
2019-01-22 12:46:55 +01:00
Theo Arends
b5824fc361
Housekeeping
2019-01-18 10:52:18 +01:00
Theo Arends
e7e378f463
Add (S)SerialSend features
...
* Fix mDNS addService (#4938 , #4951 )
* Add (S)SerialSend3 escape sequence \x to allow hexadecimal byte value (#3560 , #4947 )
* Add SerialBridge command SSerialSend5 <hexdata>
2019-01-17 17:48:34 +01:00
Theo Arends
e5fd45c9c8
6.4.1.9 Fix mDNS addService
...
6.4.1.9 20190115
* Add support for Mi LED Desk Lamp with rotary switch (#4887 )
* Fix mDNS addService (#4938 )
2019-01-15 16:11:42 +01:00
dh.harald
2aac0683be
Add support for Mi Desk Lamp
2019-01-14 22:53:15 +00:00
lobocobra
15e4918238
As requested in issue 824# by ascillato2, implement split interlock.
...
=> Split interlock of SONOFF with more than 2 channel into 2 groups
=> This is needed for shutter and similar utilization
2019-01-13 11:00:02 +01:00
Theo Arends
23fa3c624a
Clarify Link/Power LED selection
...
Clarify Link/Power LED selection
2019-01-08 11:44:45 +01:00
Theo Arends
148fe4aec0
Only restart if module supports it
2019-01-07 16:58:44 +01:00
Theo Arends
a23f01080b
6.4.1.8 Add template flags
...
6.4.1.8 20190107
* Change sonoff_template.h layout regarding optional module flags like ADC0
* Add command SetOption62 1 to force no Button/Switch pullup on dedicated modules. Currently only supported on Shelly2 (#4841 )
2019-01-07 16:33:18 +01:00
Theo Arends
95f39be2ef
Change button driver making it modular
...
Change button driver making it modular
2019-01-07 12:38:47 +01:00
Theo Arends
3d31dd1457
Disable Button/Switch 4 seconds
...
Disable both Buttons and Switches 4 seconds after power on to workaround Wemos and Obi startup issues.
2019-01-07 10:15:00 +01:00
Theo Arends
e1d903eab3
Add no pull-up control to Shelly 2
...
Add no pull-up control to Shelly 2 module (default is pull-up, change GPIO2 to Switch3n for no pull-up) (#4841 )
2019-01-06 18:50:56 +01:00
Theo Arends
0195cabbd6
Add relay status functionality to LED2
...
Add relay status functionality to LED2 when configured leaving LED1 for (wifi/mqtt) status indication
2019-01-06 18:02:21 +01:00
Theo Arends
67cf1dbbcf
6.4.1.5 Add mDns user control
...
6.4.1.5 20190103
* Remove command SetOption35 0-255 for mDNS start-up delay (#4793 )
* Add command SetOption55 0/1 to disable/enable mDNS (#4793 )
2019-01-03 17:30:54 +01:00
Theo Arends
447ec6256e
6.4.1.4 Update Copyright (C) 2019
...
6.4.1.4 20190101
* Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00