Commit Graph

143 Commits

Author SHA1 Message Date
Theo Arends dcabb9c6dc 6.4.1.10 Fix Hass discovery of MHZ19(B)
6.4.1.10 20190121
 * Fix Hass discovery of MHZ19(B) sensors (#4992)
2019-01-21 22:18:19 +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 0186a97cb0 Fix allowable MAX_RULE_VARS to 16
Fix allowable MAX_RULE_VARS to 16 (#4933)
2019-01-15 16:30:20 +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
Peter Nyilas b5ad2c8c06 Remove rotary_debounce from settings 2019-01-14 22:53:49 +00:00
dh.harald 2aac0683be Add support for Mi Desk Lamp 2019-01-14 22:53:15 +00:00
Theo Arends fc1198c1f9 Add features
* Add support for Luminea ZX2820 Smart Socket with Energy monitoring (#4921)
 * Add define MDNS_ENABLE to control initial mDNS state (#4923)
 * Add split interlock part 1 (#4910)
2019-01-14 10:57:01 +01:00
Theo Arends 72bc9b8107 Add support for Smanergy KA10
Add support for Smanergy KA10 Smart Wall Socket with Energy monitoring
2019-01-12 15:16:37 +01:00
Theo Arends a124529015 Add support for Digoo DG-SP202
Add support for Digoo DG-SP202 Smart Socket (#4891)
2019-01-11 14:29:54 +01:00
Theo Arends 2e101839a4 Change web authentication
Change web authentication (#4865)
2019-01-10 12:57:42 +01:00
Theo Arends c5f6823570 Add two modules
* Add support for OBI Power Socket 2 (#4829)
* Add support for YTF IR Bridge (#4855)
2019-01-08 16:27:16 +01:00
Theo Arends 53b8f1f877 Fix HAss Sensor Software Watchdog
Fix Home Assistant Sensor Discovery Software Watchdog restart (#4831)
2019-01-08 15:25:12 +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 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 d3020223d7 Update _changelog.ino 2019-01-06 18:57:51 +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 cb8963a7bf 6.4.1.7 Fix regression energy sensors
6.4.1.7 20190106
 * Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6
2019-01-06 12:29:38 +01:00
Theo Arends 41351001f5 6.4.1.6 Re-introduce Cal commands
6.4.1.6 20190105
 * Add commands PowerCal, VoltageCal and CurrentCal for HLW8012, HJL01 and BL0937 based energy sensors
2019-01-05 15:39:56 +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
Jason2866 375441f23e
Support PN532 2019-01-03 09:27:40 +01:00
Theo Arends 1fb7993d66 Fix epaper driver (#4785)
Fix epaper driver (#4785)
2019-01-02 17:18:47 +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
Theo Arends f12261e4fa Add support for MAX31855
Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764)
2019-01-01 13:45:44 +01:00
Theo Arends 7ebb7a6067 6.4.1.3 Change sonoff_template.h
6.4.1.3 20181229
 * Change sonoff_template.h module lay-out by removing non-configurable GPIOs
2018-12-29 19:46:28 +01:00
Theo Arends 5a44b12870 6.4.1.2 Rewrite Switch driver
6.4.1.2 20181228
 * Change switch driver making it modular and introduce input filter (#4665, #4724)
 * Add define DS18B20_INTERNAL_PULLUP to select internal input pullup when only one DS18B20 sensor is connected eliminating external resistor (#4738)
 * Add variable %timestamp% to rules (#4749)
2018-12-28 16:35:19 +01:00
Theo Arends 9640931345 Change switch debounce
Change switch input detection by optimizing switch debounce (#4724)
2018-12-26 14:21:00 +01:00
Theo Arends 0b10f48e41 6.4.1.1 Fix most compiler warnings
6.4.1.1 20181224
 * Fix most compiler warnings
2018-12-24 18:14:25 +01:00
Theo Arends 87ddbd8f38 Release 6.4.1 2018-12-24 16:45:41 +01:00
Theo Arends 0539775cf0 Change MQTT GUI password handling
Change MQTT GUI password handling (#4723)
2018-12-24 14:31:34 +01:00
Theo Arends 77c07a2e00 Change FallbackTopic
Change FallbackTopic from cmnd/<mqttclient>/ to cmnd/<mqttclient>_fb/ to discriminate from Topic (#1528)
2018-12-23 14:48:57 +01:00
Theo Arends ed6e411f7f Add optional TLS_CA_CERT
Add define USE_MQTT_TLS_CA_CERT for checking MQTT TLS against root ca using Let's Encrypt cert from sonoff_letsencrypt.h - not supported with core 2.3.0 (#4703)
2018-12-22 18:09:27 +01:00
Theo Arends e2cd656286 6.4.0.3 Hass and Alexa fixes
6.4.0.3 20181222
 * Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711)
 * Change FallbackTopic detection (#4706)
 * Add define WIFI_SOFT_AP_CHANNEL in my_user_config.h to set Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI (#4673)
 * Fix Alexa "this value is outside the range of the device". Needs power cycle and Alexa deletion/discovery cycle. (#3159, #4712)
2018-12-22 16:13:07 +01:00
Theo Arends c1102a4863 6.4.0.2 Fix possible dtostrf bos
6.4.0.2 20181221
 * Fix possible dtostrf buffer overflows by increasing buffers
2018-12-21 16:17:06 +01:00
Theo Arends a80fcd98d7 Fix wifi strongest signal detection
Fix wifi strongest signal detection (#4704)
2018-12-21 13:53:38 +01:00
Theo Arends ec931fe5fe Change RAM usage BMP/BME
Change RAM usage BMP/BME I2C sensors
2018-12-21 11:36:55 +01:00
andrethomas2 8a7dd3e06d
Add support for AZ-Instrument 7798 CO2
Add support for AZ-Instrument 7798 CO2 meter/datalogger
2018-12-19 00:00:19 +02:00
Theo Arends 8792ea48a9 6.4.0.1 New dev release 2018-12-16 16:26:40 +01:00
Theo Arends f83bcc2b89 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 17:15:51 +01:00
Theo Arends fc7c1ac6b7 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 15:55:51 +01:00
Theo Arends 6d58580446 Updates for release 6.3.0
Updates for release 6.3.0
2018-10-30 17:29:01 +01:00
Theo Arends 184346335d Updates for release 6.3.0
Updates for release 6.3.0
2018-10-28 19:07:01 +01:00
Theo Arends dffbc2c7c3 Updates for release 6.3.0
Updates for release 6.3.0
2018-10-27 17:46:44 +02:00
Theo Arends 0017a6304a Updates for release 6.3.0
Updates for release 6.3.0
2018-10-27 13:33:17 +02:00
Theo Arends c2f9f5ddbe Updates for release 6.3.0
Update for release 6.3.0
2018-10-26 17:13:17 +02:00
Theo Arends 28e3773113 v6.2.1
Version 6.2.1 20180905
 * Fix possible ambiguity on command parameters if StateText contains numbers only (#3656)
 * Fix Wemo emulation to select the first relay when more than one relay is present (#3657)
 * Fix possible exception due to buffer overflow (#3659)
 * Fix lost energy today and total energy value after power cycle (#3689)
2018-09-05 10:58:56 +02:00
Theo Arends 45ffd2cdc3 Prep release 2018-08-31 16:39:58 +02:00
Theo Arends fb6640e94b Update display drivers
Add features to and provide more stable display drivers
2018-08-31 12:17:09 +02:00
Theo Arends 2212af4860 Clear GPIO on multi boot loop
Clear GPIO on multi boot loop
2018-08-30 14:47:48 +02:00
Theo Arends f7c38f24f3 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 14:27:33 +02:00
Theo Arends 3abdaaffb7 Revert "6.1.1.14 Add boot loop detection"
This reverts commit b9a875d6fb.
2018-08-30 13:19:09 +02:00
Theo Arends b9a875d6fb 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 12:22:24 +02:00
Theo Arends 624ee28db3 Revisit naming and features
Revisit naming and features in preparation to release
2018-08-28 14:28:36 +02:00
Theo Arends 55b43734d8 6.1.1.13 - Fixes
6.1.1.13 20180828
 * Fix 6.1.1.12 regression of Mem and Var default handling (#3618)
 * Optimizations
2018-08-28 11:10:32 +02:00
Theo Arends f8666c0410 Some requested additions
* Add optional MQTT_TELE_RETAIN to Energy Margins message (#3612, 3614)
 * Add Individual HSBColorX commands (#3430, #3615)
 * Add RuleX debug options 8,9,10 (StopOnError) to control RuleX execution status after an exception restart (#3607)
2018-08-28 10:26:33 +02:00
Theo Arends 04c81e31d1 Fix Sonoff Bridge data length
Fix Sonoff Bridge data reception when using Portisch EFM8 firmware and in data buffer length (#3605)
2018-08-27 18:16:28 +02:00
Theo Arends 9978381c94 Fix handling deafult names
Fix handling use of default names when using names starting with shortcut character (#3392, #3600)
2018-08-27 13:06:22 +02:00
Theo Arends d69e88b50b 6.1.1.12 - Add debounce time
6.1.1.12 20180827
 * Add commands ButtonDebounce 40..1000 and SwitchDebounce 40..1000 to have more control over debounce timing. Default is 50mS (#3594)
2018-08-27 12:01:20 +02:00
Theo Arends bbd2529914 Sleep fixes part 2 and 3 of 3
* Change scheduler phase 2/3 - Fixed when sleep is enabled: Blinktime (#3581)
 * Change scheduler phase 3/3 - Some sensor update timings: AdcEvery 200 -> 250, Senseair 300 -> 250, SDM120 300 -> 250, SDM630 300 -> 250
2018-08-26 17:10:18 +02:00
Theo Arends f090050e69 6.1.1.11 - Sleep fixes part 1
6.1.1.11 20180826
 * Change scheduler phase 1 - Fixed when sleep is enabled: Uptime, Delay, PulseTime and TelePeriod (#3581)
2018-08-26 15:42:35 +02:00
Theo Arends 4defda2f1a Rewrite some GPIO options
Rewrite GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP
2018-08-25 13:08:06 +02:00
Theo Arends 48668bce7b 6.1.1.10 - Disable core 2.4.2 sleep
Disable wifi sleep for both Esp8266/Arduino core 2.4.1 and 2.4.2 to solve device freeze caused by Espressif SDK bug (#3554)
2018-08-25 11:59:21 +02:00
Theo Arends b34874ba45 Add all ruletimer values
Add all ruletimer values to command RuleTimer result message (#3571)
2018-08-24 18:22:04 +02:00
Theo Arends ae6fcd4d60 Change sleep command
Change command sleep from restart after change to not restart after change (#3554)
2018-08-24 16:38:55 +02:00
Theo Arends 035bc29475 Fix EnergyReset3
Fix EnergyReset3 (#2723)
2018-08-23 17:38:17 +02:00
Theo Arends 6a5c0d29e8 6.1.1.9 - Fixes and Additions
6.1.1.9
 * Allow user override of define MAX_RULE_TIMERS (#3561)
 * Allow user override of define MAX_RULE_VARS
 * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (#2525)
 * Fix OtaMagic when file path contains a dash (-) (#3563)
2018-08-23 16:05:51 +02:00
Theo Arends bab6ae5644 6.1.1.8 - Fixes and Additions
6.1.1.8
 * Fix MQTT reconnection detection when using TasmotaMqtt library (#3558)
 * Add build time setting of ButtonTopic and SwitchTopic (#3414)
 * Add display features and dynamic buffering
2018-08-23 11:49:17 +02:00
Theo Arends 43dbbd3a98 Add more display functionality
* Add display define USE_DISPLAY_MODES1TO5 to select display modes 1 to 5
 * Add command DisplayRotate 0..3 to select persistent display rotation
2018-08-20 18:07:19 +02:00
Theo Arends 6d98864a04 Fix iFan02 power on state
Fix iFan02 power on state (#3412, #3530)
2018-08-20 15:51:46 +02:00
Theo Arends 6d1ce5bd69 Fix SDM120 wrong values
Fix SDM120 reporting wrong negative values to Domoticz (#3521)
2018-08-19 13:00:27 +02:00
Theo Arends b12c8d39d5 Add initial display support
Add initial display support for Lcd, Oled, Matrix, Tft and e-paper - Need more docs
2018-08-18 18:11:22 +02:00
Theo Arends 8a61c25218 6.1.1.6 Add modulo option to rules
Add modulo option to rules like rule1 on Time#Minute|5 do backlog power on;delay 200;power off endon (#3466)
2018-08-13 13:09:22 +02:00
Theo Arends ee9b26ecfa 6.1.1.5 - Fix Pow R2 and S31
Fix some Pow R2 and S31 checksum errors using optimized re-sync
2018-08-12 16:15:03 +02:00
Theo Arends 3efb84fb93 Change version representation
Change version representation from 1.1.1a to 1.1.1.1 for better change reference
2018-08-12 14:05:15 +02:00
Theo Arends 87eb6a25cc Update changelog
Update changelog
2018-08-11 16:24:06 +02:00
Theo Arends 25fee28546 Add message when no JavaScript
Add message when JavaScript is not enabled in webbrowser (#3388)
2018-08-02 12:03:33 +02:00
Theo Arends 9e34d16e9a Fix sonoff-minimal
Fix sonoff-minimal from using default settings
2018-07-30 12:29:56 +02:00
Theo Arends cc5b0aaf90 Add option + to command Rule
Add option + to command Rule to concatenate new rule with existing rules (#3365)
2018-07-29 14:45:42 +02:00
Theo Arends 277e776cf3 Add sensor MPU6050
Add initial support for sensor MPU6050 (#3352)
2018-07-28 16:16:53 +02:00
Theo Arends 55ef063c0e Add command SerialSend4
Add command SerialSend4 to send binary serial data (#3345)
2018-07-28 15:43:13 +02:00
Theo Arends da7dadae21 Add rule triggers
Add rule triggers Wifi#Connected and Wifi#Disconnected (#3359)
2018-07-28 15:06:31 +02:00
Theo Arends 823f4ae801 Fix unsecure main webpage update
Fix unsecure main webpage update
2018-07-26 17:53:50 +02:00
Theo Arends 34769099d1 Add Turkish language file
Add Turkish language file (#3332)
2018-07-26 10:57:59 +02:00
Theo Arends 9376b6f7c0 Fix invalid JSON
Fix command TimeDst/TimeStd invalid JSON (#3322)
2018-07-25 10:04:35 +02:00
Theo Arends 99e81ba86e Fix CCS811 env compensation
Fix CCS811 temperature and humidity compensation
2018-07-24 18:41:50 +02:00
Theo Arends cdae4f3f46 Add support for CCS811
Add support for CCS811 sensor (#3309)
2018-07-23 17:42:12 +02:00
Theo Arends 612374cfbf Revisit Timers off/on
6.1.1c
 * Add command Timers 0/1 to globally disable or enable armed timers (#3270)
2018-07-20 16:12:37 +02:00
Theo Arends 3b46ba2ace Add support for MPR121
Add support for MPR121 controller in input mode for touch buttons (#3142)
2018-07-17 12:51:55 +02:00
Theo Arends f10b92a995 Add support for MCP230xx
Add support for MCP230xx for general purpose input expansion and command Sensor29 (#3188)
2018-07-17 11:05:31 +02:00
Theo Arends 9ef10f24d2 Fix command Scale buffer overflow
Fix command Scale buffer overflow (#3236)
2018-07-16 12:37:49 +02:00
Theo Arends b56961c528 Fix rules once regression
Fix rules once regression from v6.1.0 (#3198, #3226)
2018-07-16 11:34:44 +02:00
Theo Arends ace6180e67 Introduce _changelog.ino
Introduce _changelog.ino
2018-07-15 17:30:38 +02:00