Commit Graph

222 Commits

Author SHA1 Message Date
Theo Arends c9cf375c6c Add checks for GPIO selections
Add more strict checks for GPIO selections
2018-11-05 17:27:02 +01:00
Joel Stein 7f9f1f2f66 tuya: autoconfigure gpios 2018-11-01 02:55:16 +01:00
Joel Stein b605e58320 tuya: don't allow selecting GPIO08 2018-10-27 04:37:50 +02:00
Joel Stein 7093bd6ab0 tuya: software-serial: fixes 2018-10-27 04:11:30 +02:00
Joel Stein 22c20ab5fe tuya: software-serial 2018-10-27 03:01:09 +02:00
Theo Arends f2b04092f8 Initial release of RF transceiving
Initial release of RF transceiving using library RcSwitch (#2702)
2018-10-25 18:17:58 +02:00
Theo Arends 266f7f1fe0 Add support for TX20
Add support for La Crosse TX20 Anemometer (#2654, #3146)
2018-10-21 12:44:45 +02:00
Adrian Scillato 0effef5f04
Fix Analog input in Obi Socket Template 2018-10-19 14:29:53 -03:00
Joel Stein df5a7ec054 obi-socket: change LED4 back to LED2 2018-10-19 19:10:55 +02:00
Joel Stein 0078b9f650 remove ADC0 2018-10-19 18:12:09 +02:00
Joel Stein 42aa66e02f obi-socket: allow user-configuration of free GPIOs 2018-10-19 17:11:30 +02:00
Theo Arends d1c807998f Rewrite Tuya Dimmer code
Rewrite Tuya Dimmer code
2018-10-18 13:01:31 +02:00
Theo Arends 0ab43909c3 6.2.1.17 Changes and Adds
6.2.1.17 20181017
 * Enable updated non-blocking PubSubClient as default MQTT client
 * Update TasmotaModbus and TasmotaSerial libraries for support of serial 8N2 communication
 * Add support for Pzem-003/017 DC Energy monitoring module (#3694)
 * Change support for Pzem-014/016 AC Energy monitoring module (#3694)
2018-10-17 12:27:05 +02:00
Theo Arends d47ab92862 Fixxes and Add Tuya Dimmer
* Fix RfRaw and SerialSend5 regression from 6.2.1.15 (#4072)
 * Fix Sonoff Bridge RfRaw receive (#4080)
 * Add support for Tuya Dimmer (#469, #4075)
2018-10-16 11:21:44 +02:00
digiblur 5894cd97fc Initial TuyaDimmer Support 2018-10-15 18:32:14 -05:00
Theo Arends ab56648e2e Fix compile error
Fix compile error
2018-10-11 18:26:49 +02:00
Theo Arends 5bbec2617f 6.2.1.12 - Fixes Shelly1 and CSL
6.2.1.12 20181007
 * Fix Shelly1 switchmode 3 and 4 when using pushbutton (#3989)
 * Add support for CSL Aplic WDP 303075 Power Socket with Energy Monitoring (#3991, #3996)
2018-10-07 12:37:03 +02:00
phelagor adc3d4ebaa Added support for CSL Aplic WDP303075
- Added template for Module.
- Added support for HLW8012 (HLW_SEL is different to sonoff POW, needs different level to read voltage)
2018-10-06 22:05:15 +02:00
Theo Arends 9e5aaef51f Add OBI/Teckin Socket support
* Add support for OBI Power Socket (#1988, #3944)
 * Add support for Teckin Power Socket with Energy Monitoring (#3950)
2018-10-01 12:19:58 +02:00
Florian Schroen 89825907d0 Add support for OBI smart socket
Model tested: WFG-1
Models maybe working: WFF-1, WFE-1, WFI-1, WFD-1, WFR-1, WFA-1, WFU-1
Manufactured by: Cixi Yidong Electronics Co. Ltd - http://www.cn-yidong.com/
Sold by: OBI DIY market in Germany - https://www.obi.de/
2018-09-30 19:16:55 +02:00
Theo Arends 2fd42446e9 Add ESP Switch support
Add support for Michael Haustein ESP Switch
2018-09-30 14:33:26 +02:00
Theo Arends 2252be521a Fix I2CScan invalid JSON
Fix I2CScan invalid JSON error message (#3925)
2018-09-29 12:34:24 +02:00
Theo Arends 8f95f07b51 Add RF to MagicHome / LC10
Add RF Receiver control to module MagicHome to be used on Arilux LC10 (#3792)
2018-09-28 17:26:08 +02:00
Theo Arends 1a4458528e Add Neo Coolcam support
Add support for Neo Coolcam Wifi Smart Power Plug
2018-09-27 18:36:42 +02:00
Theo Arends 6939d6eead Fix Shelly Ghost and Rule sensors
* Change pinmode for no-pullup defined switches to pullup when configured as switchmode PUSHBUTTON (=3 and up) (#3896)
 * Add delay after restart before processing rule sensor data (#3811)
2018-09-26 11:56:58 +02:00
Adrian Scillato f8115a5abd
Added support for Xiaomi-Phillips bulb
https://github.com/arendst/Sonoff-Tasmota/issues/3055
2018-09-13 11:43:23 -03:00
Theo Arends b96c0d7773 Fix Novafitnes GPIO selection
Fix Novafitnes GPIO selection
2018-09-08 18:17:36 +02:00
Theo Arends 649ec49478
Merge pull request #2841 from JohannWeging/development
Add Nova SDS0X1 sensor idling to expand its lifespan
2018-09-08 18:09:23 +02:00
Theo Arends 7cd9224819 6.2.1.3 - Change drop down list
6.2.1.3 20180907
 * Change web Configure Module GPIO drop down list order for better readability
 * Fix showing Period Power in energy threshold messages
 * Fix ButtonRetain to not use default topic for clearing retain messages (#3737)
2018-09-08 17:18:31 +02:00
Mike 96682723d3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:14:07 +02:00
Mike 7722f5232a
Added DFPlayer Mini MP3 Player (RB-DFR-562) 2018-09-07 07:54:29 +02:00
Theo Arends b441c85776 Experimental PZEM-003,014,016,017
Add experimental support for PZEM-003,014,016,017 Energy monitoring (#3694)
2018-09-06 17:35:57 +02:00
Theo Arends 35d0e502c4 Some additions
* Add command Display to show all settings at once
 * Add toggle function RGBW lights (#3695, #3697)
 * Add user configurable GPIO02 and GPIO03 on H801 devices (#3692)
2018-09-05 18:01:15 +02:00
MadDoct a8b673487b
h801 tx and rx user selectable 2018-09-04 09:56:43 +01:00
Theo Arends 44ecdaf952 Add support for Shelly
Add support for Shelly 1 and basic support for Shelly 2 - No energy monitoring yet (#2789)
2018-09-02 16:17:49 +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 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 d08cefb0df Rewrite BME680 driver
Rewrite BME680 driver now using latest Bosch BME680 library (#2969)
2018-07-04 18:41:00 +02:00
Theo Arends 8f60a88a20 Add support for BlitzWolf BW-SHP2
Add support for BlitzWolf BW-SHP2 (and Homecube, Gosund SP1) Energy
Monitoring Smart Socket (#2223)
2018-07-02 14:25:02 +02:00
Theo Arends d3d876f030 Add Sonoff iFan02 support
Add support for Sonoff iFan02 as module 44 introducing command FanSpeed
0..3 (#2839)
2018-07-01 15:06:44 +02:00
Theo Arends 0fc019e418 Initial Sonoff iFan02 support
Initial Sonoff iFan02 support (#2839)
2018-06-30 18:50:10 +02:00
Theo Arends 03ae4098b5 Add support for Sonoff S26 Smart Socket
Add support for Sonoff S26 Smart Socket (#2808)
2018-06-29 13:48:19 +02:00
Theo Arends 3e96e04690 Add experimental (untested) TM1638 support
Add experimental (untested) TM1638 switch support (#2226)
2018-06-28 17:40:37 +02:00
Theo Arends 6e9602418d v6.0.0b - Support up to 8 switches
6.0.0b
* Change number of switches from 4 to 8 (#2885, #3086)
2018-06-28 14:28:14 +02:00
Johann Weging 9c04666a17 Add SDS0X1 RX and TX gpio pins to sonoff_template.h 2018-05-27 14:19:29 +02:00
Theo Arends 6cb3f7f06b Add Eastron SDM630 energy meter
5.14.0a
 * Add Eastron SDM630 energy meter (#2735)
2018-05-16 10:07:41 +02:00
Theo Arends f7ecc99209 Add Eastron SDM120 energy meter
5.13.1a
* Add Eastron SDM120 energy meter (#2694)
2018-05-11 14:44:00 +02:00
Theo Arends 8fea3e49a8 5.12.0m - Changes and Fixes
5.12.0m
* Remove sonoff-xxl
* Add sonoff-classic, sonoff-allsensors and sonoff-knx
* Add some coloring to important web buttons
* Add user selectable defines for Sunrise/set Dawn option (#2378)
* Add GPIO_User to GPIO02 for all Sonoff T1 (#2524)
2018-04-23 11:37:46 +02:00
Theo Arends a8b83aa036 Add support for Sonoff Pow R2 (#2340)
5.12.0m
* Add support for Sonoff Pow R2 (#2340)
2018-04-20 16:55:27 +02:00
Theo Arends 2743c35462 Add support for HC-SR04
5.12.0m
* Add support for sensor HC-SR04 ultrasonic (#113, #1964, #2444)
2018-04-20 14:31:09 +02:00
Theo Arends 76f699bf02 Remove debug code and do some clean-up
Remove debug code and set H801 GPIO0 to GPIO_USER (#1503)
2018-04-19 22:29:09 +02:00
Theo Arends ed2e8d8934 Add PWM4/5 to H801 template (#1503) 2018-04-13 10:33:17 +02:00
Theo Arends f205a68d43 Add GPIO13 to Sonoff Dev (#2341) 2018-04-03 16:45:33 +02:00
Theo Arends 687f96f843 v5.12.0h - Change to default PWM Color/Dimmer
5.12.0h
 * Add support for Zengge WF017 PWM Led strip controller
(#2202)
 * Change default option SetOption15 from 0 to 1 providing
better initial PWM experience
2018-03-21 09:27:05 +01:00
Theo Arends 2ba4d6fb47 v5.12.0h - Add Serial Bridges
5.12.0h
 * Add support for Software Serial bridge using commands
SerialDelimiter, SBaudrate and SSerialSend. Supports 8N1 and text only
(#2190)
 * Add support for Hardware Serial bridge using commands
SerialDelimiter, Baudrate and SerialSend. Supports 8N1 and text only
(#2182)
2018-03-20 14:31:11 +01:00
Theo Arends a16e2316b3 v5.12.0d - Add support for Nova Fitness SDS011
5.12.0d
 * Add support for Nova Fitness SDS011 and possibly SDS021
particle concentration sensor (#2070)
2018-03-03 15:28:30 +01:00
arendst 5c60979682 v5.12.0b
5.12.0b
 * Add Webserver upload preflight request support (#1927)
 * Add
Home Assistant clear other device (#1931)
2018-02-16 17:35:51 +01:00
arendst cdacd3ed3a v5.12.0b - Add optional formatting
5.12.0b
 * Add serial debug info
 * Add optional usage of %d or %X
suffices in MQTT client to append chipid (#1871)
 * Add optional usage
of %d or %X suffices in MQTT topic to append chipid (#1871)
 * Add
optional usage of %d or %04d in ota url to be replaced with chipid
(#1871)
 * Add user configurable serial GPIOs to MagicHome and Arilux
modules (#1887)
2018-02-13 14:30:30 +01:00
arendst 12f13a37b9 v5.11.1i - Add S31 support and some fixes
5.11.1i
 * Update TasmotaSerial library to 1.1.0
 * Rename commands
HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal and CurrentCal to
be used for both Pow and S31 calibration
 * Rename commands HlwPSet,
HlwUSet and HlwISet to PowerSet, VoltageSet and CurrentSet to be used
for both Pow and S31 calibration
 * Add support for Sonoff S31 Smart
Socket with Power Consumption Detection (#1626)
 * Fix IRReceive Data
value (#1663)
 * Fix compiler warnings (#1774)
2018-02-03 23:25:05 +01:00
arendst 88429fb24c Faster console output. Support longer sensor names 2018-02-01 16:18:00 +01:00
arendst 2cac51619c v5.11.1e Fixes new commands
5.11.1e
 * Replaced command Ina219Mode with command Sensor13
 * Add
command Sensor15 2 to start MHZ19(B) Zero Point Calibration
 * Add
chunked webserver pages for large pages saving memory
 * Fix Non-English
JSON temperature unit attachement
 * Fix Sonoff Pow Energy Today and
Energy Total reading after restart (#1648)
 * Rewrite function pointers
to save code space and memory (#1683)
 * Add option define
HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685)
 * Fix SOnoff
Pow Energy Period roll-over (#1688)
2018-01-24 17:31:20 +01:00
arendst 1538d30c96 v5.11.1c - Fixes and experimental Hass Discovery
5.11.1c
 * Make command color parameter input less strict to ease Hass
support
 * Add ColorTemperature to light status message
 * Change
PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Hass
support
 * Make define MESSZ dependent on PubSubClient.h define
MQTT_MAX_PACKET_SIZE
 * Fix logging line length around 400 characters
 *
Change module name Wemos D1 mini into Generic (#1220)
 * Revert HTML
change from width=100% to style=width:100% supporting HTML5 (#1358)
 *
Add experimental (still Hass python exceptions) Home Assistant Discovery
for switch and light to be enabled by command SetOption19 1 (#1534)
 *
Updated French Translation (#1561)
 * Fix DS18B20 temperature JSON
decimal dot (#1561)
 * Add Spanish language file (#1589)
 * Update
Italian Language file (#1594)
 * Consolidate WIFI_MANAGER_SEC into
WIFI_CONFIG_SEC (#1616)
 * Fix Energy JSON message (#1621)
2018-01-18 16:19:28 +01:00
arendst aed070cc90 Add automagic two step OTA and Chinese locale
5.11.1a
 * Add automagic two step Web server OTA upgrade using
filename-minimal image if OTA free space is too small
 * Add chinese
language file (#1551)
2018-01-10 14:10:25 +01:00
arendst c1083c6e1c v5.11.0a
Align with master
2018-01-07 14:56:23 +01:00
arendst 349230de72 v5.10.0i - Fixes and rearrangements
5.10.0i
 * Add device function pointers
 * Moved Command and JSON
English language defines to one file (i18n.h)
 * Update it-IT.h language
file (#1449)
 * Fix Wemo and Hue emulation by adding M-Search response
delay (#1486)
2018-01-05 12:26:19 +01:00
arendst 67d8fa0d64 v5.10.0c
5.10.0c
 * Consolidate device serial (MH-Z19, SenseAir and Pzem004T)
into TasmotaSerial library
 * Consolidate PWM device recognition
 * Fix
Wemo Emulation (#1357)
 * Add support for Arilux LC06 (#1414)
2017-12-25 17:41:12 +01:00
arendst 7723d52453 Add support for SenseAir S8 CO2 sensor
* Add support for SenseAir S8 CO2 sensor to be enabled with define
USE_SENSEAIR in user_config.h
 * Add support for Domoticz Air Quality
sensor to be used by MH-Z19(B) and SenseAir sensors
2017-12-22 14:55:24 +01:00
arendst f9ce916e0b v5.10.0b - Add PZEM004T support
5.10.0b
 * Change Sonoff Pow Energy MQTT data JSON message and
consolidate Status 8 into Status 10
 * Add optional support for PZEM004T
energy sensor to enable with define USE_PZEM004T in user_config.h (#614)
2017-12-16 15:51:45 +01:00
arendst 6331ee7c8f Add experimental MH-Z19(B) support
Add (experimental) support for sensor MH-Z19(B) to be enabled with
define USE_MHZ19 in user_config.h (#561, #1248)
2017-12-04 17:25:06 +01:00
arendst 253d60fd2b Add experimental SI7021 support
* Add (experimental) support for iTead SI7021 temperature and humidity
sensor (#735)
 * Change ADS1115 default voltage range from +/-2V to
+/-6V (#1289)
2017-12-03 14:06:15 +01:00
arendst c102fc5f9e v5.10.0a - Fixes ADS1115 and Sonoff Dual R2
5.10.0a
 * Add (experimental) support for sensor SHT3x
 * Change ADS1115
default voltage range from +/-2V to +/-4V (#1289)
 * Add multipress
support and more user configurable options to Sonoff Dual R2 (#1291)
2017-12-02 12:40:33 +01:00
arendst 5731c975e4 Revert "v5.10.0a - Fixes ADS1115 and Sonoff Dual R2"
This reverts commit 73547c8bd7.
2017-12-02 12:38:50 +01:00
arendst 73547c8bd7 v5.10.0a - Fixes ADS1115 and Sonoff Dual R2
5.10.0a
 * Add (experimental) support for sensor SHT3x
 * Change ADS1115
default voltage range from +/-2V to +/-4V (#1289)
 * Add multipress
support and more user configurable options to Sonoff Dual R2 (#1291)
2017-12-02 12:38:29 +01:00
arendst 0f531e24e5 v5.9.1j - Add Dual R2, Rewrite DS18x20 and fixes
5.9.1j
 * Revert changes to xsns_05_ds18x20.ino and rename to
xsns_05_ds18x20_legacy.ino still needing library OneWire and providing
legacy JSON message:
 *
"DS18x20":{"DS1":{"Type":"DS18B20","Address":"284CC48E04000079","Temperature":19.5},"DS2":{"Type":"DS18B20","Address":"283AC28304000052","Temperature":19.6}}

* Add new xdrv_05_ds18x20.ino free from library OneWire and add the
following features:
 *  Add support for DS1822
 *  Add forced setting of
12-bit resolution for selected device types (#1222)
 *  Add read
temperature retry counter (#1215)
 *  Fix lost sensors by performing
sensor probe at restart only thereby removing dynamic sensor probe
(#1215)
 *  Fix sensor address sorting using ascending sort on sensor
type followed by sensor address
 *  Rewrite JSON resulting in shorter
message allowing more sensors in default firmware image:
 *
"DS18B20-1":{"Id":"00000483C23A","Temperature":19.5},"DS18B20-2":{"Id":"0000048EC44C","Temperature":19.6}

* Add additional define in user_config.h to select either single sensor
(defines disabled), new multi sensor (USE_DS18X20) or legacy multi
sensor (USE_DS18X20_LEGACY)
 * Add support for Sonoff Dual R2 (#1249)
 *
Fix ADS1115 detection (#1258)
2017-11-27 17:46:51 +01:00
arendst 8366ee116a v5.9.1g - Add Pow Energy set and Clock tuning
5.9.1g
 * Fix typo ALIRFRCV into ARIRFRCV
 * Add nicer clock support for
larger hand widths
 * Add better clock support for different pixel
counts (#1226)
 * Remove command EnergyReset 1..3
 * Add commands
EnergyReset1 0..42500, EnergyReset2 0..42500 and EnergyReset3
0..42500000
 *  to (Re)set Energy Today, Yesterday or Total respectively
in Wh (#406, #685, #1202)
 * Add SettingsSaveAll routine to command
SaveData to be used before controlled power down (#1202)
2017-11-21 16:06:51 +01:00
arendst db4a3a4a1e v5.9.1d - Add Arilux LC11 support
5.9.1d
 * Add support for Arilux LC11 (CLearing RF home code when
selecting no Arilux module)
 * Add fixed color options 1..12 to command
Color
 * Add + (plus) and - (minus) to commands Dimmer (+10/-10), Speed
and Scheme
2017-11-15 23:07:45 +01:00
arendst ae12b958cd v5.8.0p - Prep for release
5.8.0p
 * Fix initial PwmFrequency and PwmRange
 * Add support for
Arilux AL-LC01 RGB Led controller (#370)
 * Add light turn Off Fade
(#925)
 * Change IrSend Panasonic command to IrSend
{"Protocol":"Panasonic", "Bits":16388, "Data":<Panasonic data>}
 *
where 16388 is 0x4004 hexadecimal (#1014)
2017-10-26 16:33:33 +02:00
arendst 1296432da2 v5.8.0n - Add language, device and clock commands
5.8.0n
 * Fix minimum TelePeriod of 10 seconds set by web page
 * Shrink
information web page by 1k code space
 * Removed Arduino IDE version too
low warning as it interferes with platformio.ini platform =
espressif8266_stage
 * Add commands Color2, Color3, Color4, Width2,
Width3, Width4 and SetOption16 to set Ws2812 Clock parameters (#1019)
 *
Add Polish language file (#1044, #1047)
 * Add support for KMC 70011
Power Monitoring Smart Plug (#1045)
 * Corrected German language file
(#1054)
2017-10-23 12:18:15 +02:00
arendst fc89330056 v5.8.0m - Rewrite and Additions
5.8.0m
 * Rewrite code (partly) using Google C++ Style Guide
(https://google.github.io/styleguide/cppguide.html)
 * Allow empty
MqttHost name by using option 0
 * Allow Mqtt server mDNS lookup only
when MqttHost name is empty (#1026)
 * Change Ws2812 clock with more
flexible version (#1019)
 * Add German language file (#1022)
 * Support
connecting to MQTT brokers without userid and/or password (#1023)
 * Add
commands PwmRange 1,255..1023 and PwmFrequency 1,100..4000 (#1025)
2017-10-18 18:22:34 +02:00
arendst 66d9ff14ac v5.8.0l - Update module config webpage
5.8.0l
* Update HTML/CSS to enable nicer form field entry
* Fix inverted relay status after restart or power on as regression from
5.8.0d (#909)
* Add send protocol Panasonic to IRsend (#1014)
* Fix relay power control when light power control is also configured as
regression from 5.8.0 (#1016)
2017-10-14 11:26:49 +02:00
arendst 804bd8fb53 v5.8.0k - Add support for 8 relays
5.8.0k
 * Add support for up to 8 relays (#995)
 * Fix Blocked Loop when
erasing large flash using command reset 2 (#1002)
2017-10-12 11:29:40 +02:00
arendst 3bc7dd4e83 v5.8.0h - Add IR Receive
5.8.0h
 * Rename command IRRemote to IRSend (#956)
 * Add IR Receiver
support. Disable in user_config.h (#956)
 * Change default PWM
assignment for Witty Cloud to support optional Color/Dimmer control
(#976)
 *   GPIO12 (Green) from GPIO_PWM4 to GPIO_PWM2
 *   GPIO13
(Blue)  from GPIO_PWM5 to GPIO_PWM3
 *   GPIO15 (Red)   from GPIO_PWM3
to GPIO_PWM1
2017-10-06 17:28:00 +02:00
arendst c82fe7f46e v5.8.0f - Add inverted PWM support
5.8.0f
 * Set all saved power settings to Off when SetOption0
(SaveState) = 0 (#955)
 * Allow PWM initialization after restart (#955)

* Add support for inverted PWM (#960)
2017-10-04 17:29:49 +02:00
arendst 12af1af01b v5.8.0e - SnfBrdge RF code as Domoticz Counter
5.8.0e
 * Add Domoticz counter sensor to Sonoff Bridge representing
Received RF code (#943)
 * Add support for Luani HVIO board
(https://luani.de/projekte/esp8266-hvio/) (#953)
2017-10-02 16:45:03 +02:00
arendst 48faeaa2ce v5.8.0d - Add Color/Dimmer control to PWM
5.8.0d
 * Remove previous GPIO configuration when another module is
selected
 * Fix inverted relay power on state (#909)
 * Change default
PWM assignments for H801 RGB(CW) led controller to support optional
Color/Dimmer control
 *   GPIO04 (W2)    from GPIO_PWM2 to GPIO_USER to
be user configurable for GPIO_PWM5 (second White - Warm if W1 is Cold)

*   GPIO12 (Blue)  GPIO_PWM3 no change
 *   GPIO13 (Green) from
GPIO_PWM4 to GPIO_PWM2
 *   GPIO14 (W1)    from GPIO_PWM1 to GPIO_USER
to be user configurable for GPIO_PWM4 (first White - Cold or Warm)
 *
GPIO15 (Red)   from GPIO_PWM5 to GPIO_PWM1
 * Change default PWM
assignments for MagicHome RGB(W) led controller to support optional
Color/Dimmer control
 *   GPIO05 (Green) from GPIO_PWM4 to GPIO_PWM2
 *
GPIO12 (Blue)  from GPIO_PWM5 to GPIO_PWM3
 *   GPIO13 (White) GPIO_USER
to be user configurable for GPIO_PWM4 (White - Cold or Warm)
 *   GPIO14
(Red)   from GPIO_PWM3 to GPIO_PWM1
 * Add command SetOption15 0
(default) for command PWM control or SetOption15 1 for commands
Color/Dimmer control to PWM RGB(CW) leds (#941)
2017-10-01 14:32:36 +02:00
arendst 107b746083 v5.8.0c
5.8.0c
 * Add warning to webpage when USE_MINIMAL is selected (#929)
 *
Fix compile error when DOMOTICZ_UPDATE_TIMER is not defined (#930)
 *
Fix alignment of web page items in some browsers (#935)
 * Add smoother
movement of hour hand in WS2812 led clock (#936)
 * Add support for
Magic Home RGBW Led controller (#940)
2017-09-30 13:32:53 +02:00
arendst 0151188652 v5.7.1a
5.7.1a
 * Fix Domoticz loop when Emulation is selected
 * Add GPIO14 to
Sonoff Dual (#797, #839)
 * Add support for Witty Cloud (#794)
 * Add
support for Yunshan Wifi Relay (#802)
 * Add GPIO16 input pulldown
(#827)
2017-09-10 15:51:44 +02:00
arendst 0fbbc23b2c Add I18n and fix invalid JSON
5.6.1i
* Add basic internationalization and localization (#763)
* Fix invalid JSON (#822)
2017-09-02 14:37:02 +02:00
arendst 3f365b6228 Add Supla Espablo support (#755) 2017-08-19 18:08:06 +02:00
arendst d96191888d v5.6.1
5.6.1 20170818
* Change module list order in webpage
* Fix Sonoff T1 1CH and 2CH configuration (#751)
*
* 5.6.0 20170818
* Fix Sonoff Pow intermittent exception 0
* Change Sonoff Pow sending Domoticz telemetry data only
* Add Ai-Thinker RGBW led (AiLight) (experimental)
* Add NeoPixelBus library to Sonoff Led for Hue support
* Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge
* Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676)
* Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color
Temperature
* Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1
* Add CT parameter to Hue
* Add Sonoff T1 support (#582)
* Add AnalogInput0 if configured as Analog Input to webpage (#697, #746)
* Add command SetOption14 0|1 to enable interlock mode (#719, #721)
* Fix Mitsubishi HVAC IR power controll (#740)
2017-08-18 18:04:49 +02:00
arendst 963476e688 v5.5.2i
5.5.2i
* Fix Sonoff Pow intermittent exception 0
* Change Sonoff Pow sending Domoticz telemetry data only
* Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676)
* Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color
Temperature
* Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1
* Add CT parameter to Hue
* Add Ai-Thinker RGBW led (AiLight) (experimental)
* Add NeoPixelBus library to Sonoff Led for Hue support (saves 1k code
space)
* Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge
* Fix Mitsubishi HVAC IR power controll (#740)
* Add Sonoff T1 support (#582)
2017-08-16 22:56:32 +02:00
arendst ebee148be8 Add Sonoff B1 features 2017-08-16 17:05:36 +02:00
arendst 99c9b1671c Add Sonoff B1 Support. AiLight is experimental 2017-08-15 22:09:52 +02:00
arendst 5fdc5e890a Add AiLight and update Sonoff B1 (experimental) 2017-08-13 15:31:49 +02:00
Theo Arends 700e51b091 Add Sonoff B1 b using different pins 2017-08-13 13:11:44 +02:00
arendst 7825bc0f0a Experimental Sonoff B1 support 2017-08-12 17:55:20 +02:00
arendst 0a9ec10b0a v5.5.0
5.5.0 20170730
* Reduce code space by removing the following commands as they are
replaced by SetOption alternatives:
*   SaveState = SetOption0
*   ButtonRestrict = SetOption1
*   Units = SetOption2
*   MQTT = SetOption3
*   MQTTResponse = SetOption4
*   TempUnit = SetOption8
* Smoothing WS2812 animation poll, invert fade speed and max allowed
wakeup time down to 3000 seconds
* Fix initial button press detection
* Add support for Sonoff RF Bridge 433 using command RfKey
* Fix regression from 5.0.7 by increasing message buffer size from 360
to 368 to accomodate 4 x DS18x20 sensors (#637)
* Add GroupTopic to Topic test when using ButtonTopic/SwitchTopic to
send either ON/OFF or TOGGLE (#642)
* Adjust HLW calibration limits to accomodate HuaFan device and add
commands HlwPSet, HlwUSet and HlwISet (#654)
2017-07-30 17:55:37 +02:00
arendst 22ef93a2c4 v5.4.0
5.4.0 20170725
* Fix command reset regression introduced in 5.2.0
* Increase polling from 0.1 second to 0.05 second
* Add multipress to all buttons
* Fix button 1 double press behaviour on multi relay devices
* Add support for Hua Fan Smart Socket (#479)
* Add support for Sonoff 4ch Pro (#565)
* Add command SetOption13 1 to allow immediate action on single button
press
*   (disables multipress, hold and unrestricted commands) (#587)
2017-07-25 18:05:47 +02:00
arendst 7e6b3a2bb1 v5.3.0
5.3.0 20170715
* Major Hue rewrite which might introduce Alexa problems. If so,
initiate an issue
* Add support for Sonoff Led and BN-SZ01 Ceiling Led brightness control
to Hue
* Fix Sonoff Led Power, Dimmer and Color MQTT response (#176)
* Add commands Delay and Backlog to allow multiple commands at once
separated by ";" (#593)
* Use default flashmode DOUT to solve restart hangs on esp8285 chips
(#453, #598)
* Change Web console column width from 99 to 300 (#599)
2017-07-15 15:07:30 +02:00
arendst 39a65e230b v5.2.4
5.2.4 20170703
* Removed flash mode update after selecting different module solving
esp8285 related problems
* Add device type flag to sonoff_template.ino
* Change Sonoff Led Wakeup and add support for Sonoff BN-SZ01 Led
2017-07-03 11:45:15 +02:00
arendst 88648a8099 v5.1.1
5.1.1 20170517
* Allow command FullTopic in group mode
* Prepare for more use of RTC memory
* Add independant WS2812 led string power control (#386, #390)
* Add command Counter<x> to control up to four GPIO falling edge
interrupt counters or timers (#459)
* Add command CounterType<x> to select between pulse counting or pulse
timing
* Add command CounterDebounce to select global counter debounce time in
mSec
2017-05-17 22:49:22 +02:00
arendst f6f6616c9d v5.1.0
5.1.0 20170513
* Fix Offline/Removal of retained topic when FullTopic is changed
* Add FullTopic to MQTT Configuration and Information web page
* Adde license model GPLv3 (#188)
2017-05-13 13:02:10 +02:00
arendst 824368125b v4.1.3
4.1.3 20170410
* Add user configuarble GPIO to module S20 Socket and Slampher
* Add support for Sonoff SC (#112)
* Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led
firmware (#122)
* Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions
due to power supply instabilities (#122)
* Add Access Point Mac Address to Status 11 and Telemetry (#329)
* Fix DS18B20 negative temperature readings (#334)
2017-04-10 17:25:31 +02:00
arendst ae27ec26a4 v4.1.0
4.1.0 20170325
* Change static IP addresses in user_config.h from list (using commas)
to string (using dots)
* Unify display result of commands Modules, Module and Gpios
* Rewrite Module selection web page to bring size down from 18651 to
4319 bytes (!) (#234, #240)
* Add basic support for (Lixada) H801 RGBWW controller (#252)
* Add command Prefix1 to Prefix3 to assign SUB_PREFIX, PUB_PREFIX and
PUB_PREFIX2 respectively (#255)
* Add static ip addresses to flash (#262)
* Add commands IpAddress, Gateway, Subnetmask and DnsServer to select
static ip addresses (#273)
2017-03-25 17:24:11 +01:00
arendst 742a87df8a v4.0.7
4.0.7 20170319
* Increased Sonoff Led PWM frequency from 432 to 1000
* Fix possible watch dog reboot after changing module type on web page
* Fix reporting of GPIO usage from web page
* Fix Sonoff Led blank during firmware upgrade
* Fix Sonoff Led flicker and possible flash corruption by using latest
Arduino-esp8266 versions
*   of pwm core files included in sonoff library (#211)
* Add PWM output control with commands PWM1 to PWM5 using user
selectable GPIOs (#211)
* Fix exceptions due to low values of commands HlwPCal (10000), HlwUCal
(1000) and HlwICal (2500) (#223)
* Add Switch state to sensor status (#227, #233)
* Add user configuarble GPIO to module Sonoff Touch (#228)
* Add define WEB_PORT to user_config.h to change default web server port
from 80 (#232)
* Fix failed Ota Firmware upgrade started from Web page (#235)
2017-03-19 18:19:08 +01:00
arendst c4cdd4459c v4.0.6
4.0.6 20170316
* Fix to better find device by Wifi hostname
* Fix compile error when some I2C devices are disabled
* Add (experimental) support for SHT1X emulating I2C (#97)
* Add ADC to ElectroDragon (#203)
* Add support for Sonoff Dev (#206)
2017-03-16 16:23:11 +01:00
arendst 67fe118dfe v4.0.5
4.0.5 20170314
* Add command Status 11 to show power status with Vcc if define
USE_ADC_VCC is enabled (default)
* Add ADC input to Sonoff SV and Wemos D1 mini - Needs recompile with
define USE_ADC_VCC disabled (#137)
* Add MQTT host:port to timeout message (#199)
2017-03-14 18:03:25 +01:00
arendst 5e4157ebe4 Revert "v4.0.5"
This reverts commit 18a1f5e5df.
2017-03-14 15:40:24 +01:00
arendst 18a1f5e5df v4.0.5
4.0.5 20170314
* Add command Status 11 to show power status with Vcc if define
USE_ADC_VCC is enabled (default)
* Add ADC input to Sonoff SV and Wemos D1 mini - Needs recompile with
define USE_ADC_VCC disabled (#137)
* Add MQTT host:port to timeout message (#199)
2017-03-14 12:36:06 +01:00
arendst b85fef0479 v4.0.4
4.0.4 20170312
* Add pulse timers for up to 4 relays (#106)
* Fix Sonoff Led power state when dimmer or color is 0 (#176)
* Add command NtpServer<x> to configure up to three NTP servers (#177)
* Delete module User Test as module Wemos D1 mini has same/more user
configurable GPIO (#178)
* Add more user configurable GPIO to module ElectroDragon (#183)
2017-03-12 18:36:33 +01:00
arendst 59bb20d2cb v4.0.3
4.0.3 20170309
* Renamed Module NodeMCU to WeMos D1 mini
* Add GPIO1 as user option to some modules
* Add Buttons, Relays and Leds to user configurable options (#159)
* Add description on Module parameters web page to some well known GPIOs
(#107, #171)
2017-03-09 17:48:04 +01:00
arendst fc3b7e22ab v3.9.22
3.9.22 20170228
* Update web console
* Fix Status 4 JSON message
* Add Exception info during restart if available
* Add osWatch service to detect loop hangs that might happen during
(OTA) upgrades
* Add WiOn support for relay and switch only (#82, #102)
* Allow for user specified relay count up to four in sonoff_template.h
(#109)
* Add support for HTU21 compatible I2C sensors SI7013, SI7020 and SI7021
(#118)
* Add NodeMCU or Wemos configuration option (#119)
2017-02-28 16:01:48 +01:00
arendst 3fefb9b931 v3.9.21
3.9.21 20170224
* Add ajax to web root page and web console (#79)
* Add commands SwitchMode1..4 and enable user switches 2, 3 and 4 (#84,
#88)
* Fix MQTT upgrade when webserver is active
2017-02-24 18:17:48 +01:00
arendst 18aaf05622 v3.9.19
3.9.19 20170219
* Sonoff Led: Made GPIO04, 05 and 15 available for user
* Sonoff Led: Add commands Fade, Speed, WakupDuration, Wakeup and
LedTable
2017-02-19 17:49:17 +01:00
arendst edca508f57 v3.9.17
3.9.17 20170217
* Fix possible ArduinoJSON related memory fragmentation
* Changed console logging using less memory
* Add GPIO04 as user selectable for Sonoff Dual (#75)
2017-02-17 17:18:41 +01:00
arendst 381bb4b50c v3.9.16
3.9.16 20170214
* Update latching relay handler
* Add support for IR led using IRremoteESP8266 library (#59)
* Add Hue argument passing using ArduinoJSON library (#59)
2017-02-14 14:27:08 +01:00
arendst 533855c210 v3.9.15
3.9.15 20170213
* Change JSON float values from string to number according to
http://json.org (#56)
* Add support for exs latched relay module
https://ex-store.de/ESP8266-WiFi-Relay-V31 (#58)
* Add support for inverted relays
* Changed MAX_LOG_LINES from 70 to 60 to preserve memory
2017-02-13 17:25:46 +01:00
arendst bb5251c2c8 v3.9.14
3.9.14 20170211
* Add False and True as alternatives for 0/Off and 1/On (#49)
* Fix Status10 JSON format (#52)
* Fix DS18x20 using OneWire library (#53)
2017-02-11 15:06:23 +01:00
arendst 3a07c9bf6a v3.9.13
3.9.13 20170210
* Add FlashChipSize to Status 4
* Removed redundant DHT2 option and code
* Add Sonoff SV GPIO pin 05 configuration (#40)
* Add configuration file backup and restore via web page
* Fix latency due to light_sleep mode even if sleep was set to zero
(#50)
2017-02-10 17:22:06 +01:00
arendst cbd1904b42 v3.9.13
3.9.13 20170210
* Add FlashChipSize to Status 4
* Removed redundant DHT2 option and code
* Add Sonoff SV GPIO pin 05 configuration (#40)
* Add configuration file backup and restore via web page
* Fix latency due to light_sleep mode even if sleep was set to zero
(#50)
2017-02-10 17:03:34 +01:00
arendst 213e8d8095 v3.9.11
3.9.11 20170204
* Fix command I2Cscan
* Fix not allowed spaces in Topic, ButtonTopic and SwitchTopic
* Make all TELEMETRY, STATUS and COMMAND message topics unique (#4)
* Advertise command topic to be used by iobroker (#299)
* Fix butten (non)detection if no GPIO_KEY1 is defined (#13)
* Change WeMo serialnumber from 7 decimal chars to 8 hexadecimal chars
(#18)
* Update web page with Build Date/Time, Emulation and mDNS Discovery and
Advertise information (#21)
2017-02-04 17:09:54 +01:00
arendst d392cf2f77 v3.9.4 2017-01-28 14:41:01 +01:00