Commit Graph

342 Commits

Author SHA1 Message Date
Theo Arends 5eb85075e5 Add Energy 3 phase/channel support
* Change energy sensors for three phase/channel support
 * Add Shelly 2.5 energy dual channel support (#6160)
2019-09-15 13:10:32 +02:00
Stephan Hadinger f91f99a2e7 Zigbee support phase 3 - support for Xiaomi lumi.weather air quality sensor, Osram mini-switch 2019-09-15 11:10:59 +02:00
Theo Arends 1341db1392 Change JSON output format for some commands
Change JSON output format for commands Adc, Adcs, Modules, Gpio and Gpios from list to dictionary (#6407)
2019-09-12 14:19:44 +02:00
Theo Arends 3a0fce2503 Add command Gpios 255/All to show all available GPIO components
Add command Gpios 255/All to show all available GPIO components (#6407)
2019-09-12 12:32:33 +02:00
Stephan Hadinger 05e9604116 Change rename "Data" to "Hash" and limit to 32 bits when receiving UNKNOWN IR protocol (see DECODE_HASH from IRremoteESP8266) 2019-09-10 20:45:27 +02:00
Theo Arends a4e1c10953 Change commands Tariff
Change commands Tariff1 22,23 = Tariff1 (Off-Peak) ST,DST   Tariff2 (Standard) 6,7 = Tariff2 ST,DST   Tariff9 0/1 = Weekend toggle (1 = Off-Peak during weekend)
2019-09-10 18:04:56 +02:00
Theo Arends 4b647928aa Bump version to 6.6.0.12
* Redesign command Tariff to now default to 0 (=disabled) and allowing to set both Standard Time (ST) and Daylight Savings Time (DST) start hour (#6282)
 *  Commands Tariff1 23 = Tariff1 ST, Tariff2 7 = Tariff2 ST, Tarriff3 22 = Tarrif1 DST, Tariff4 6 = Tariff2 DST, Tariff9 0/1 = Weekend toggle
2019-09-10 16:18:23 +02:00
Theo Arends 657dbff570 Add support for Hiking DDS238-2 Modbus energy meter
Add support for Hiking DDS238-2 Modbus energy meter by Matteo Campanella (#6384)
2019-09-10 15:14:51 +02:00
Tim Leuschner eb858ed485
Update _changelog.ino
Name was misspelled ... ;-)
2019-09-08 18:56:15 +02:00
Stephan Hadinger 8e1a90932e Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into serial_115200_2 2019-09-08 18:34:50 +02:00
Theo Arends 4910ea308a Add support for A4988 stepper-motor-driver-circuit
Add support for A4988 stepper-motor-driver-circuit by Tim Leuscher (#6370)
2019-09-08 18:32:35 +02:00
Stephan Hadinger 1d58501c49 Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage for Stage/pre-2.6 2019-09-08 16:41:31 +02:00
Theo Arends da35643f63 Revert "Merge pull request #6373 from s-hadinger/serial_115200"
This reverts commit a59dea5a74, reversing
changes made to e0b07391c9.
2019-09-08 12:59:32 +02:00
Theo Arends 1d39db76b3
Merge branch 'development' into serial_115200 2019-09-08 12:49:21 +02:00
Stephan Hadinger 7dda2fba0e Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage for Stage/pre-2.6 2019-09-08 12:07:51 +02:00
Theo Arends 3d9a73f826 Add support for up to 4 INA226 Voltage and Current sensors
Add support for up to 4 INA226 Voltage and Current sensors by Steve Rogers (#6342)
2019-09-08 11:26:54 +02:00
Theo Arends 2e9f06f8bf Bump version to 6.6.0.11
Change Settings crc calculation allowing short term backward compatibility
2019-09-07 18:32:11 +02:00
Theo Arends 2fa583392a Change command Time 1/2/3 for legacy reason
Change command Time 1/2/3 to select JSON time format ISO, ISO + Epoch or Epoch for legacy reason
2019-09-06 15:46:40 +02:00
Theo Arends db44b058e2 Add command Reset 99 to reset bootcount to zero
Add command Reset 99 to reset bootcount to zero (#684, #6351)
2019-09-05 12:32:28 +02:00
Theo Arends 282591a0b2 Bump version to 6.6.0.10
Redesign Tuya support by Shantur Rathore (#6353)
2019-09-05 10:41:08 +02:00
Theo Arends af1edb0cdb Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
* Add time to more events (#6337)
 * Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
2019-09-04 18:06:34 +02:00
Theo Arends 34eed717fa Add command Power0 0/1/2/Off/On/Toggle to control all power outputs at once
Add command Power0 0/1/2/Off/On/Toggle to control all power outputs at once (#6340)
2019-09-03 23:04:49 +02:00
Theo Arends f4b5e565ef Add driver USE_SDM120_2 with Domoticz P1 Smart Meter functionality as future replacement for USE_SDM120 - Pls test and report
Add driver USE_SDM120_2 with Domoticz P1 Smart Meter functionality as future replacement for USE_SDM120 - Pls test and report (#6282)
2019-09-01 17:51:25 +02:00
Stephan Hadinger 23c3419509 Add Zigbee support phase 2 - cc2530 initialization and basic ZCL decoding 2019-08-31 21:23:32 +02:00
Stephan Hadinger 2d673d78ef Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support 2019-08-30 20:41:01 +02:00
Theo Arends b363bb55a9 Add compile time define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
Add compile time define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
2019-08-30 14:35:08 +02:00
Stephan Hadinger ab5af7bf47 Add Full support of all protocols in IRremoteESP8266, to be used on dedicated-IR Tasmota version. Warning: +81k Flash when compiling with USE_IR_REMOTE_FULL 2019-08-28 22:01:01 +02:00
Theo Arends 9af67a5278 Bump version to 6.6.0.9
Change theoretical baudrate range to 300..19660500 bps in 300 increments (#6294)
2019-08-28 12:02:27 +02:00
Theo Arends f31b903fab Bump version to 6.6.0.8
* Add Tuya Energy monitoring by Shantur Rathore
 * Add phase 1 Domoticz P1 Smart Meter support using energy sensors handled by xdrv_03_energy.ino based on an idea by pablozg
 *   Add commands Tariff1 0..23 (start Off-Peak hour), Tariff2 0..23 (start Standard hour) and Tariff3 0/1 (Saturday and Sunday Off-Peak)
2019-08-27 17:01:12 +02:00
Theo Arends 6c905b65a4 Expand Settings area to 4k for future use
Expand Settings area to 4k for future use
2019-08-25 14:58:45 +02:00
Theo Arends dc76792b5f Bump version to 6.6.0.7
Bump version to 6.6.0.7
2019-08-25 12:41:00 +02:00
Theo Arends 28eb6d7661 Integrate ibeacon 2019-08-25 12:29:48 +02:00
Theo Arends 5f6a87c7c0 Update libraries and fix SSD1306 power control
Update libraries and fix SSD1306 power control
2019-08-19 18:17:44 +02:00
Theo Arends 42c8ac61e8 Bump version to 6.6.0.6
Bump version to 6.6.0.6
2019-08-19 17:09:31 +02:00
Theo Arends 33aa430f64 Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
2019-08-19 11:47:59 +02:00
Stephan Hadinger bd97621363 Update _changelog.ino for #6191 2019-08-16 18:35:16 +02:00
Theo Arends 9746489380 Bump version to 6.6.0.5
* Add command WebSensor<sensor number> 0/1 to control display of sensor data in web GUI (#6085)
 * Change some table locations from RAM to Flash
2019-08-16 16:12:33 +02:00
Theo Arends a85588aa3d Add support for PAJ7620 gesture sensor by Christian Baars
Add support for PAJ7620 gesture sensor by Christian Baars
2019-08-15 11:34:35 +02:00
Theo Arends 23ec00a452 Add command Buzzer
Add command Buzzer with optional parameters <number of beeps>,<duration of beep in 100mS steps>,<duration of silence in 100mS steps> enabled when a buzzer is configured (#5988)
2019-08-12 17:18:08 +02:00
Stephan Hadinger c9139514d0 Add ZigBee support phase 1 - low level MQTT ZNP messages for CC2530 devices 2019-08-09 22:52:33 +02:00
Theo Arends e0f08ec764 Add support for Solax X1 inverter by Pablo Zerón
Add support for Solax X1 inverter by Pablo Zerón
2019-08-09 16:42:16 +02:00
Theo Arends 62a516c3f2 Add some debug info
Add some debug info
2019-08-08 18:14:36 +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 afb39aa680 Add support for CHIRP soil moisture sensor by Christian Baars
Add support for CHIRP soil moisture sensor by Christian Baars
2019-08-07 12:08:13 +02:00
Stephan Hadinger ed5f368d65 Version 6.6.0.4 2019-08-06 19:57:46 +02:00
Stephan Hadinger 81ca44dba2 Add SetOption68 to enable multi-channel PWM instead of a single light (#6134) 2019-08-06 10:57:50 +02:00
Stephan Hadinger a50a6eff61 Change Store AWS IoT Private Key and Certificate in SPI Flash avoiding device-specific compilations 2019-08-04 19:42:21 +02:00
Stephan Hadinger c10b236831 Add allow repeat/longpress for IRSend raw, introduced IRSend<r> option (#6074) 2019-08-04 12:37:01 +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
Stephan Hadinger c93a03f1d0 Add MqttCount metric to STATE (#6155) 2019-07-31 19:34:23 +02:00
Theo Arends 781cf69933 Add disable option to Width
Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152)
2019-07-31 16:59:12 +02:00
Stephan Hadinger 372aecd353 Upgrade library IRRemoteEsp8266 to 2.6.4, now using sendPioneer() 2019-07-29 09:28:40 +02:00
Theo Arends 250c991c97 6.6.0.3 - Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues
Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues (#2422)
2019-07-25 14:18:28 +02:00
Theo Arends 996c01858c Update _changelog.ino
Change commands Var and Mem to show all parameters when no index is given (#6107)
2019-07-24 11:12:49 +02:00
Theo Arends 546653a8f2 Add display features
* Add command DisplayWidth to set pixel width on supported devices
 * Add command DisplayHeight to set pixel height on supported devices
 * Add Oled reset GPIO option "OLED reset"
2019-07-23 14:05:42 +02:00
Theo Arends af4dd080c5 Fix possible IRSend input corruption
Fix possible IRSend input corruption
2019-07-23 10:22:14 +02:00
Stephan Hadinger 6ec634c695 Fix send IRSend for Pioneer devices (#6100) 2019-07-22 19:27:03 +02:00
Theo Arends ce13c0cf8f Add support for optional IRHVAC Midea/Komeco protocol
Add support for optional IRHVAC Midea/Komeco protocol (#3227)
2019-07-21 18:06:13 +02:00
Stephan Hadinger 0df4a888d5 Support IRSend long press ('repeat' feature from IRRemoteESP8266) (#6074) 2019-07-15 09:22:07 +02:00
Theo Arends 49022d0320 6.6.0.2 Add support for Sonoff iFan03 as module 71
Add support for Sonoff iFan03 as module 71 (#5988)
2019-07-14 15:23:02 +02:00
Stephan Hadinger 6f02bad381 Xiaomi Philips brightness (#6091) 2019-07-14 14:10:38 +02:00
Stephan Hadinger 791e33f81a Fix WeMo emulation for 1G echo and 2G echo dot (#6086) 2019-07-13 16:31:53 +02:00
Theo Arends 0bb0f06982 Update _changelog.ino 2019-07-12 13:42:48 +02:00
Theo Arends 8a98437761
Merge pull request #6076 from thirug010/development
Updated Code for Issue #6066- Dimmer Value not equal to Rx Dim State
2019-07-12 12:21:02 +02:00
Theo Arends 3d52619593
Update _changelog.ino 2019-07-12 12:18:25 +02:00
Stephan Hadinger 51740acd8b Fix Force Elliptic Curve for Letsencrypt TLS #6042 2019-07-12 08:11:40 +02:00
thirug010 943dc524ea Update Code for Issue #6066- Dimmer Value not equal to Rx Dim State #
Change Summary

1. Added Option to select Dimmer Range (1-100 and 1-255) through SetOption66 (default is 1-100 for legacy device support

2. Updated Dimmer code to set range based on the option66 100 / 225
2019-07-11 22:28:08 -05:00
Theo Arends c3d2937f22 Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP
Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP (#5279)
2019-07-11 14:59:28 +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
Theo Arends 0243e2be7e Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90
Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90 (#6036)
2019-07-08 14:16:33 +02:00
Stephan Hadinger eaf5dbd36c Add blend RGB leds with White leds for better whites #5895 #5704 2019-07-07 10:15:50 +02:00
Theo Arends c3584cc8ed Bump version to v6.6.0
Bump version to v6.6.0
2019-07-06 15:15:29 +02:00
Stephan Hadinger cc60bf0f03 Fix Not restoring white value on power off/power on (#5993) 2019-07-02 22:10:57 +02:00
Theo Arends cc46e2e625 Add support for Sonoff L1 thanks to reef-actor
Add support for Sonoff L1 thanks to reef-actor (#6002)
2019-07-02 10:54:30 +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 46210bc9f0 Add command SetOption40 0..250
Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
2019-06-19 12:37:35 +02:00
Stephan Hadinger 4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +02:00
Theo Arends 5f3be7ca87 Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
2019-06-16 17:03:41 +02:00
Theo Arends 12da2fd6f9 Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Stephan Hadinger 66d372586a Fix channel command for dual dimmers (#5940) 2019-06-12 22:49:22 +02:00
Theo Arends 8ed16c15a0 dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too
dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too (#5950)
2019-06-12 19:11:21 +02:00
Theo Arends 2b5c691041 6.5.0.16 Refactor TLS and Add visibility toggle to GUI password
6.5.0.16 20190611
 * Refactored TLS based on BearSSL, warning breaking change for fingerprints validation (see doc)
 * Add checkbox to GUI password field enabling visibility during password entry only (#5934)
2019-06-11 14:30:07 +02:00
Stephan Hadinger 006462f17e Refactored TLS based on BearSSL - cleaned 2019-06-10 12:06:03 +02:00
Theo Arends 09dcb93489 Fix Toggle functionality to button double press when one button and two devices are detected
Fix Toggle functionality to button double press when one button and two devices are detected (#5935)
2019-06-09 17:54:13 +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
Andre Thomas e7a3a5033c
Update _changelog.ino 2019-06-08 22:28:35 +02:00
Theo Arends 53ecde7637 Add command SetOption65 0/1 and more Tuya Serial based device support
Add command SetOption65 0/1 and more Tuya Serial based device support (#5815)
2019-06-08 11:38:45 +02:00
Theo Arends a7dc6b71ae Add some MQTT housekeeping which might solve issue (#5755)
Add some MQTT housekeeping which might solve issue (#5755)
2019-06-07 18:03:34 +02:00
Theo Arends 6a5ea7a9c6 Add support for AWS IoT with TLS 1.2 on core 2.5.2
Add support for AWS IoT with TLS 1.2 on core 2.5.2
2019-06-06 14:40:59 +02:00
Stephan Hadinger 24dda8e8fe Updated with latest changes and resoved conflits 2019-06-06 13:44:33 +02:00
Theo Arends 073fd5c2cd 6.5.0.15 Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds
6.5.0.15 20190606
 * Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds in preparation of AWS IoT support
2019-06-06 12:14:04 +02:00
Stephan Hadinger 5c648e8048 Added AWS IoT to changelog 2019-06-05 22:39:11 +02:00
Theo Arends 345a514f7b dd Toggle functionality to button double press when more devices are detected
dd Toggle functionality to button double press when more devices are detected
2019-06-05 15:26:42 +02:00
Theo Arends 164b3aaf11 Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W
Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W. Default setting is 128 (#5756)
2019-06-04 17:30:03 +02:00
Theo Arends d0502c1af8 Fix PZem startup issue
Fix PZem startup issue (#5875)
2019-06-02 18:07:54 +02:00
Theo Arends ffd36e0b2d 6.5.0.14 Webserver HTML/Javascript changes
6.5.0.14 20190602
 * Change webserver HTML input, button, textarea, and select name based on id
 * Fix webserver multiple Javascript window.onload functionality
2019-06-02 16:44:02 +02:00
Theo Arends 1b229f5c9b Work-around for Philips Hue emulation issue by using part of MAC address for LightId
Work-around for Philips Hue emulation issue by using part of MAC address for LightId (#5849)
2019-05-31 11:28:47 +02:00
Adrian Scillato 712ea8ec43
Add support to Stage Arduino Core 2019-05-30 18:32:07 -03:00
Stephan Hadinger ad11828e9d Work-around for Philips Hue emulation issue (#5849) 2019-05-30 21:47:19 +02:00
Theo Arends 4e95417db4 Add reset of Energy values when connection to sensor is lost for over 4 seconds
Add reset of Energy values when connection to sensor is lost for over 4 seconds (#5874, #5881)
2019-05-30 12:45:02 +02:00