Commit Graph

280 Commits

Author SHA1 Message Date
Theo Arends 944cf3877f Final fix buffer dump
Final fix buffer dump
2019-08-22 12:36:13 +02:00
Theo Arends 5ddd5633ff Fix watchdog restarts due to buffer overflow
Fix watchdog restarts due to buffer overflow (#6266)
2019-08-22 10:54:12 +02:00
Theo Arends c2474f8d5d Quick fix MHZ19 watchdog reset
Quick fix MHZ19 watchdog reset (#6266)
2019-08-21 09:44:34 +02:00
Stephan Hadinger 8661a2ead6 Change ToHex to ToHex_P PROGMEM compatible 2019-08-13 19:53:12 +02:00
Theo Arends e2040b70de Refactor Sonoff Bridge
Refactor Sonoff Bridge
2019-08-13 16:10:47 +02:00
Theo Arends 2d0143623d Refactor commands by processing optional prefix
Refactor commands by processing optional prefix
2019-08-11 18:12:18 +02:00
Theo Arends 5f236561b1 Change ToHex default inbetween to no character
Change ToHex default inbetween to no character
2019-08-10 17:34:59 +02:00
Theo Arends 52a2da28ac Add function ToHex to support.ino
Add function ToHex to support.ino
2019-08-10 13:31:05 +02:00
Theo Arends 7336b2807f Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino
Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino (#6186)
2019-08-08 15:17:39 +02:00
Theo Arends d6e475e73a Add command FlashDump when debug is enabled
Add command FlashDump when debug is enabled
2019-08-05 16:45:13 +02:00
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