Theo Arends
714f938c05
Refactor energy commands
...
* Refactor energy commands
* Add define USE_ENERGY_MARGIN_DETECTION to disable Energy Margin and Power Limit detection
* Add define USE_ENERGY_POWER_LIMIT to disable Energy Power Limit detection while Energy Margin detection is active
2019-08-01 15:46:12 +02:00
Theo Arends
50e0de0dd5
Refactor Web commands
...
Refactor Web commands
2019-07-28 17:57:09 +02:00
Theo Arends
13a618634e
Refactor MQTT commands
...
Refactor MQTT commands
2019-07-28 17:14:20 +02:00
Theo Arends
a3e12dd3c8
Code optimization
...
Code optimization
2019-07-28 13:54:52 +02:00
Theo Arends
fde53117d6
Space saving code optimization
...
Space saving code optimization
2019-07-27 18:37:56 +02:00
Theo Arends
37b1c25881
Refactor core command structure
...
Refactor core command structure
2019-07-27 11:13:41 +02:00
Theo Arends
64521b42b6
Add Epoch and UptimeSec to JSON messages
...
Add Epoch and UptimeSec to JSON messages (#6068 )
2019-07-11 14:09:42 +02:00
Stephan Hadinger
d75b6ad889
Moved FastPrecisePow and TaylorLog to sonoff_float.ino for consistency
2019-07-01 18:31:54 +02:00
Stephan Hadinger
15e37ef0bb
Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions.
2019-07-01 18:20:43 +02:00
Theo Arends
1b69502d9b
Code optimization - Change for(uint8_t in for (uint32_t
...
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends
30adce5648
Revert "Code optimization - Change for(uint8_t in for (uint32_t"
...
This reverts commit 5e1eac3f74
.
2019-06-30 15:56:55 +02:00
Theo Arends
5e1eac3f74
Code optimization - Change for(uint8_t in for (uint32_t
...
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends
d3eaf7491d
Fix exception 9 when syslog is enabled and NTP is just synced
...
Fix exception 9 when syslog is enabled and NTP is just synced (#5917 )
2019-06-09 13:34:14 +02:00
Theo Arends
7fdbd81def
Fix setting seriallog using web gui (old) regression
...
Fix setting seriallog using web gui (old) regression
2019-06-03 17:05:09 +02:00
gemu2015
5beaea32fd
global update fix
2019-05-22 12:22:58 +02:00
Theo Arends
292efcc358
Update support.ino
...
Add optional debug info
2019-05-18 19:43:04 +02:00
Theo Arends
d6d56618dc
Add range test
...
Add range test
2019-05-18 18:40:13 +02:00
Theo Arends
052cfbc11d
Save 1k code space by using TaylorSeries log function
...
Save 1k code space by using TaylorSeries log function
2019-05-18 18:24:17 +02:00
Theo Arends
5515a97be6
Provide function FastPrecisePowf
...
Provide function FastPrecisePowf
2019-05-18 16:54:29 +02:00
Theo Arends
a777bb6cdf
6.5.0.11 Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator
...
6.5.0.11 20190517
* Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator impacting DS18X20, DHT, BMP and SHT3X sensor names (#5689 )
2019-05-17 14:23:21 +02:00
Theo Arends
f9ca25755b
Add experimental light sensor code to ADC0
...
Add experimental light sensor code to ADC0. See xsns_02_analog.ino for information.
2019-05-16 18:43:23 +02:00
Theo Arends
bacb438a98
Update support.ino
...
Fix I2cValidRead (#2442 )
2019-05-14 18:41:54 +02:00
Theo Arends
0b6c62f5f9
Add support for Shelly 1PM Template
...
Add support for Shelly 1PM Template {"NAME":"Shelly 1PM","GPIO":[56,0,0,0,82,134,0,0,0,0,0,21,0],"FLAG":2,"BASE":18} (#5716 )
2019-05-13 18:26:07 +02:00
Theo Arends
ad54ece2fb
6.5.0.10 Enable ADC0 by default
...
6.5.0.10 20190513
* Enable ADC0 by default in my_user_config.h (#5671 )
* Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671 )
2019-05-13 15:56:01 +02:00
Andrea Pede
5b5272e684
Missing the end pointer reference solves #5760
...
Exiting from the unescape call the content in buffer still contains the original string. The result of unescape elaboration works well, but the rest of the string is still there and in the printf in the main program infact is printed overlapped to the previous content.
TY MauroS for the hint.
2019-05-09 11:26:20 +02:00
Theo Arends
736f63e9ae
Fix Shelly 2.5 overtemp detection
...
Fix Shelly 2.5 overtemp detection
2019-04-18 11:07:38 +02:00
Theo Arends
5e810f1ff3
Add Shelly 2.5 overtemp functionality
...
* Add all temperature, humidity and pressure for global access
* Add Shelly 2.5 overtemp functionality
* Fix Shelly 2.5 I2C address priority issue when VEML6070 code is present by disabling VEML6070 for Shelly 2.5 (#5592 )
2019-04-15 18:12:42 +02:00
Theo Arends
aa91caa35e
6.5.0.6 Add WebColor parameters to Settings
...
6.5.0.6 20190409
* Add WebColor parameters to Settings making them persistent and remove the need for using a rule
* Add alternative IRSend command syntax IRSend raw,<freq>,<header mark>,<header space>,<bit mark>,<zero space>,<one space>,<bit stream> (#5610 )
2019-04-09 13:56:19 +02:00
Theo Arends
be385ecb5c
Add command WebColor
...
* Add rule Http#Initialized
* Add command WebColor to change non-persistent GUI colors on the fly
Use a rule like:
rule3 on http#initialized do webcolor {"webcolor":["#eeeeee","#181818 ","#4f4f4f","#000000 ","#dddddd","#008000 ","#222222 ","#ff0000","#008000 ","#ffffff","#1fa3ec","#0e70a4","#d43535","#931f1f","#47c266","#5aaf6f","#ffffff","#999999 ","#000000 "]} endon
or
rule3 on http#initialized do webcolor {"webcolor":["#eee","#181818 ","#4f4f4f","#000 ","#ddd","#008000 ","#222 "]} endon
to make color changes persistent)
2019-04-08 22:37:39 +02:00
Theo Arends
ce53ee07e7
Fix template activation and/or module selection regression from 6.5.0.4 ( #5598 )
...
Fix template activation and/or module selection regression from 6.5.0.4 (#5598 )
2019-04-08 13:26:17 +02:00
Theo Arends
c673ea1728
Make MI Desk Lamp optional
...
Make MI Desk Lamp optional
2019-04-05 15:41:01 +02:00
Theo Arends
5e1cbcf94f
Make MI Desk Lamp optional
...
Make MI Desk Lamp optional
2019-04-05 15:27:06 +02:00
Theo Arends
ce4e9b0e30
Add stable strtoull to core 2.3.0
...
Add stable strtoull to core 2.3.0
2019-04-04 17:52:14 +02:00
Theo Arends
f455b738a5
QFix for core 2.3.0 compile error on strtoull
...
QFix for core 2.3.0 compile error on strtoull
2019-04-03 10:28:13 +02:00
Theo Arends
2fd15c4633
Fix WifiManager Pop Up when no SSID is configured ( #5575 )
...
Fix WifiManager Pop Up when no SSID is configured (#5575 )
2019-04-02 20:26:30 +02:00
Theo Arends
127892e0c1
Change IRsend and receive for 64-bit support
...
* Change IRsend and receive for 64-bit support (#5523 )
* Change IRSend Panasonic protocol to 64-bit (#5523 )
2019-04-01 15:15:16 +02:00
Theo Arends
880bbe357d
Change String to char
...
Change String to char
2019-03-31 17:57:28 +02:00
Theo Arends
8d8e060550
Revert "Test for easier MQTT reconnects"
...
This reverts commit b7adb10923
.
2019-03-31 17:55:58 +02:00
Theo Arends
b7adb10923
Test for easier MQTT reconnects
...
Test for easier MQTT reconnects
2019-03-31 17:51:05 +02:00
Theo Arends
f7c30250c1
Change some more defines to const
...
Change some more defines to const
2019-03-31 11:59:04 +02:00
Theo Arends
e1c92b701b
Change NULL to nullptr
...
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends
f83a5bb989
More Wemo tuning
...
More Wemo tuning
2019-03-26 17:10:07 +01:00
Theo Arends
10d32acccc
Free some flash used by hass
...
Free some flash used by hass
2019-03-24 14:23:20 +01:00
Theo Arends
6922e657d9
Shrink code/flash space
...
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends
76b7d778ec
Fix incomplete syslog
...
Fix incomplete syslog when MQTT is disabled (#5512 )
2019-03-23 12:41:35 +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
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
06a9fbd792
Changed logging message handling
...
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends
58fe50d81a
Update webserver layout
...
Update webserver layout
2019-03-07 18:18:30 +01:00
Theo Arends
5d8ae266d0
Fix RemoveSpace and tune Websend
...
Fix RemoveSpace and tune Websend
2019-02-23 12:48:39 +01:00