Theo Arends
2aad0567bf
Change some defines to const
...
Change some defines to const
2019-03-30 16:29:27 +01:00
Theo Arends
e1c92b701b
Change NULL to nullptr
...
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends
dcc69bdff0
Shrink code/flash space pt.2/2
...
Shrink code/flash space pt.2/2
2019-03-23 17:57:31 +01:00
Theo Arends
6922e657d9
Shrink code/flash space
...
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends
878205335f
Consolidate MqttPublishTeleState
...
Consolidate MqttPublishTeleState
2019-03-20 14:05:43 +01:00
Adrian Scillato
f4da1d1d86
Added HASS_STATE to command STATE
...
The command STATE has a secondary mqtt message in the case that SETOPTION59 is 1
This adds a HASS_STATE mqtt message if HomeAssistant discovery is enabled.
This is useful for syncing HomeAssistant with all the states of a Tasmota device when HA is restarted.
The actual automation for HA explained in the wiki will also make use of this new message.
2019-03-20 00:57:26 -03:00
Theo Arends
99d20f803b
More web chunks
...
More web chunks
2019-03-16 16:23:41 +01:00
Theo Arends
ca5c3d1eeb
6.4.2.22 Remove support for MQTT_LIBRARY_TYPE
...
6.4.2.22 20190315
* Remove support for MQTT_LIBRARY_TYPE, MQTT_ARDUINOMQTT and MQTT_TASMOTAMQTT (#5474 )
2019-03-15 14:29:47 +01:00
Theo Arends
2959ec9341
Prep for release with fix some warnings
...
Prep for release with fix some warnings
2019-03-14 16:50:56 +01:00
Theo Arends
73be43b60f
Fix exception caused by wrong baudrate selection
...
Fix exception caused by wrong baudrate selection (#5441 )
2019-03-12 10:23:20 +01:00
Theo Arends
2aaca4bc2b
Revert "Fix exception caused by wrong baudrate selection"
...
This reverts commit ffc1505872
.
2019-03-12 10:22:40 +01:00
Theo Arends
ffc1505872
Fix exception caused by wrong baudrate selection
...
Fix exception caused by wrong baudrate selection
2019-03-12 10:21:33 +01:00
Theo Arends
baa5825569
Free some flash
...
Free some flash
2019-03-11 10:38:41 +01:00
Theo Arends
37e1b31937
Add support for sensor SCD30
...
* Add support for sensor SCD30 (#5434 )
* Add support for commands in sensor drivers
2019-03-10 13:33:32 +01:00
Theo Arends
aec3842bee
Merge pull request #5420 from laurentdong/Code-review
...
Code review: Copy string with strlcpy() instead of snprintf()
2019-03-09 12:22:07 +01:00
Laurent Dong
b87afc3bcb
Code review: Copy string with strlcpy() instead of snprintf()
...
Copying string with snprintf() is unsafy and slow because it check and replace plcaehold (%?)
2019-03-08 13:24:02 -05:00
Theo Arends
0d8545f658
Add command Template 255
...
Add command Template 255 to copy module configuration over to current active template and store as user template named Merged (#5371 )
2019-03-08 17:42:21 +01:00
Theo Arends
4ba3331bc7
Merge pull request #5417 from emontnemery/fix_bad_snprintf
...
Fix bad snprintf in format()
2019-03-08 16:45:07 +01:00
Erik
168b1332e0
Fix bad snprintf in format()
2019-03-08 16:28:46 +01:00
Theo Arends
06a9fbd792
Changed logging message handling
...
Changed logging message handling
2019-03-08 15:15:42 +01:00
netpok
01ce2a31d3
Implement RGB CT linking
2019-02-25 22:29:39 +01:00
Theo Arends
9f00978a79
Fix Domoticz Color regression
...
Fix Domoticz Color regression (#5310 )
2019-02-25 19:47:45 +01:00
Gabor Simon
48f6b09987
Initialisation and updating of color mapping added
2019-02-24 23:48:03 +00:00
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