Commit Graph

161 Commits

Author SHA1 Message Date
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 53235a3382 Redesign Energy Total calculation
* Redesign Energy Total calculation
* Increase SDM120 modbus interval time to 200mS (#6282)
2019-09-06 18:02:31 +02:00
Theo Arends ab89bb53a9 Oops
Oops
2019-09-05 17:45:43 +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 f88e87cfde Refactor and document power control
Refactor and document power control
2019-09-04 12:20:04 +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
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
Theo Arends 48783a4772 Add define USE_WS2812_BTYPE to select different bitbang timing
Add define USE_WS2812_BTYPE to select different bitbang timing (#6292)
2019-08-29 18:03:30 +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
Shantur Rathore 231a1ba137 Tuya Serial: Add support for power metering
Capable Tuya serial devices send power metering data over serial interface. User needs to identify the ids of all power metering functions and set as
SetOption44 -> Voltage
SetOption45 -> Current
SetOption46 -> Power
2019-08-27 10:50:34 +01:00
Shantur Rathore 579f68cf2f Tuya Dimmer: Add support for dimmers with max 24
New Tuya Dimmer has dim values from 0 to 24. Currently the code expects it to be 0-100 or 0-255.
With this change we move the flag to a param and use that to calculate correct dim percentage.

This change also makes sure to update settings on version upgrade.
2019-08-27 10:46:27 +01:00
Theo Arends 427dee028d Fix compile error
Fix compile error
2019-08-25 17:30:12 +02:00
Theo Arends ef63883a1c Refactor Button, Switch and Rotary to save code space
Refactor Button, Switch and Rotary to save code space
2019-08-17 16:19:58 +02:00
Theo Arends 38c6254833 Refactor light driver saving code space
Refactor light driver saving code  space
2019-08-17 13:17:30 +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 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 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 81ca44dba2 Add SetOption68 to enable multi-channel PWM instead of a single light (#6134) 2019-08-06 10:57:50 +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
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
Theo Arends 86314e24e5 Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays
Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays (#6039)
2019-07-08 12:42:46 +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
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
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
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 22663fc10c 6.5.0.13 Add command SetOption38 6..255
6.5.0.13 20190527
 * Add command SetOption38 6..255 to set IRReceive protocol detection sensitivity mimizing UNKNOWN protocols (#5853)
2019-05-27 11:56:14 +02:00
Theo Arends 4d070bfb15 Change default PowerDelta from 80% to 0% on new installations
Change default PowerDelta from 80% to 0% on new installations (#5858, #5028, #4813, #4130, #4145, #3795, #3778, #3660, #3648)
2019-05-24 15:04:48 +02:00
Stephan Hadinger ae3d7e0122 PWM using 10 bits resolution, LST_MAX created 2019-05-02 22:50:19 +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 2aad0567bf Change some defines to const
Change some defines to const
2019-03-30 16:29:27 +01:00
Theo Arends b7f89c0a8c 6.5.0.1 Change GUI data collection
6.5.0.1 20190319
 * Change Web GUI sensor data collection
2019-03-19 17:31:43 +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
Gabor Simon 48f6b09987 Initialisation and updating of color mapping added 2019-02-24 23:48:03 +00:00
netpok 945e7000dd Implement full color remapper 2019-02-24 21:03:33 +01:00
Gabor Simon 4492a14574 Added SetOption37 for RGB remapping 2019-02-24 12:07:15 +00:00
Gabor Simon 38b81302e3 sm16716: added config option for custom rgb order 2019-02-24 09:26:10 +04:00
netpok 4993d16ecb Implement WifiConfig 7 2019-02-21 17:49:11 +01:00
Andre Thomas cee9fee756
Make pwm scheme 0 sleep optional
Make pwm scheme 0 sleep optional (enabled by default)
2019-02-18 08:19:17 +02:00
Colin Kuebler d7b8a6453d Added preprocessor constant for LT_SM16716 for improved code readability
Note that this differs from other LT_* in that it's not an enum
Ensure the SM16716 codepath is only taken when the top half of light_type is LT_SM16716
2019-02-01 19:41:12 -05:00
Theo Arends 2c164a8b4b 6.4.1.13 Add boot loop offset
6.4.1.13 20190130
 * Add command SetOption36 to control boot loop default restoration (#4645, #5063)
2019-01-30 14:34:31 +01:00
Theo Arends 505c4794d1 6.4.1.11 Rewrite interlock
6.4.1.11 20190124
 * Remove command SetOption14 as it has been superseded by command Interlock
 * Remove command SetOption63 as it has been superseded by command Interlock
 * Add command Interlock 0 / 1 / 1,2 3,4 .. to control interlock ON/OFF and add up to 8 relays in 1 to 4 interlock groups (#5014)
2019-01-25 17:46:27 +01:00
dh.harald 9f030ae431 Change color temp with rotary when Button1 pressed 2019-01-15 00:45:19 +00:00
dh.harald 2aac0683be Add support for Mi Desk Lamp 2019-01-14 22:53:15 +00: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
Joel Stein b2005fba40 introduce new api-call for dimmer-devices 2018-12-17 18:29:42 +01:00
Theo Arends dfa0d2ef11 Add Domoticz Selector for Fanspeed
Add support for iFan02 Fanspeed in Domoticz using a selector (#4517)
2018-12-06 10:49:49 +01:00
Adrian Scillato 24ef9ab6b8
Fix Compilation issue with STAGE Core
Now the Stage core has the the same STR macro defined in sonoff.h.
2018-12-03 17:38:31 -03:00
andrethomas 6050cd40f3 Merge sleep command 2018-12-01 18:47:25 +02:00