Commit Graph

153 Commits

Author SHA1 Message Date
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
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 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
Markus Past 5737665a2f MAX31855 driver for Sonoff-Tasmota - Initial commit 2018-12-30 11:45:21 +01:00
Arthur de Beun 604f341e9a Add support for AZ-Instrument 7798 CO2 meter/datalogger. 2018-12-18 22:22:41 +13:00
Theo Arends 67ec0678a3 6.3.0.17 Add features
6.3.0.17 20181211
 * Add support for TheoV2 sensors as documented on https://sidweb.nl
 * Add support for SDM220 (#3610)
 * Enhance support for MPU6050 using DMP (#4581)
2018-12-11 14:24:52 +01:00
Dees7 9980707a0a
Merge branch 'development' into development 2018-12-11 15:22:16 +05:00
Erik d8cf001304 Announce RGBW light, add 'White' command 2018-12-07 21:32:01 +01:00
Theo Arends 070843200f Add IR Raw data control
* Add command SetOption58 0/1 to enable IR raw data info in JSON message (#2116)
 * Add command IRSend <frequency>|0,<rawdata1>,<rawdata2>,.. to allow raw data transmission (#2116)
2018-11-21 16:36:10 +01:00
Theo Arends 18997e841f 6.3.0.9 Add dynamic delay in loop
6.3.0.9 20181118
 * Moved command SetSensorXX to debugging driver freeing user code space
 * Add dynamic delay to main loop providing time for wifi background tasks
 * Remove delays introduced in 6.3.0.1 (#4233)
2018-11-18 15:02:52 +01:00
Denis Taranushin 2c138e69c2 Add SDM220 Support
Add some electric parameters for SDM220
2018-11-13 19:55:24 +05:00
Theo Arends 3ef78e8095 Revert "Moved command SetSensorXX"
This reverts commit 830319bc6e.
2018-11-12 15:54:18 +01:00
Theo Arends 830319bc6e Moved command SetSensorXX
Moved command SetSensorXX to debugging
2018-11-12 15:09:09 +01:00
Theo Arends f9bddb6c54 Add flashchipid info
Add flashchipid info
2018-11-08 10:40:19 +01:00
Theo Arends c75ae78d88 6.3.0.5 Add code image
6.3.0.5 20181107
 * Add code image and optional commit number to version
2018-11-07 15:03:41 +01:00
Theo Arends 15148f290d 6.3.0.4 Add SetSensorXX
6.3.0.4 20181106
 * Add command SetSensorXX 0/1 to disable/re-enable compiled xsns_XX_sensor.ino driver
2018-11-06 17:33:51 +01:00
Theo Arends 14a7424e9b Add command SetOption24
Add command SetOption24 0/1 to select pressure unit as hPa or mmHg (#4241)
2018-11-04 16:55:12 +01:00
Andrei eeak 2f1a4df1f0 Fix ш18тюр 2018-11-01 21:11:57 +02:00
Theo Arends e6a8b2d30d Add TotalStartTime to Energy JSON
Add TotalStartTime to Energy JSON message (#3971)
2018-10-30 17:04:19 +01:00
Theo Arends b3039de1b6 6.2.1.14 Rewrite Webserver
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 22:21:44 +02:00
Theo Arends 633a45f964 Revert "6.2.1.14 Webserver rewrite"
This reverts commit 077b8a79e1.
2018-10-10 19:41:08 +02:00
Theo Arends 077b8a79e1 6.2.1.14 Webserver rewrite
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 16:40:54 +02:00
Theo Arends ba16e00e36 Add command WebRefresh
Add command WebRefresh 1000..10000 to control web page refresh in milliseconds. Default is 2345
2018-10-08 14:39:36 +02:00
Erik 87dc6fe20e Add basic support for color calibration 2018-09-29 16:55:53 +02:00
Mike 36d6ae0803
Added D_JSON_UV_INDEX_TEXT
Added D_JSON_UV_INDEX_TEXT for more info on json output
2018-09-28 17:26:13 +02:00
Theo Arends eb53605fc1 Fix VEML6070 compile errors 2018-09-25 17:03:22 +02:00
Mike e9d6a5bc46
added define
Forgot to add #define D_JSON_UV_POWER "UvPower"
2018-09-25 16:19:49 +02:00
Theo Arends 7a767f104c 6.2.1.6 Remove some commands
6.2.1.6 20180922
 * Removed commands PowerCal, VoltageCal and CurrentCal as more functionality is provided by commands PowerSet, VoltageSet and CurrentSet
 * Allow decimals as input to commands PowerSet, VoltageSet and CurrentSet
 * Add support for PCA9685 12bit 16pin hardware PWM driver (#3866)
2018-09-22 15:09:53 +02:00
Theo Arends 392ae6119d
Merge pull request #3854 from andrethomas/development
Add driverXX support for FUNC_COMMAND callback
2018-09-21 16:10:56 +02:00
Theo Arends f7a8b1f923 Shelly2 clean up
Shelly2 clean up
2018-09-21 16:02:56 +02:00
Theo Arends 4065a215f0 Add Shelly2 Energy Monitoring
Add energy monitoring to Shelly2 (#2789)
2018-09-21 15:22:17 +02:00
andrethomas 846d7a911f Add driverXX support for FUNC_COMMAND callback 2018-09-20 22:56:07 +02:00
Theo Arends f517755303 Prep for frequency display
Prep for energy frequency display and update xnrg_05_pzem2.ino with correct register values
2018-09-07 18:15:47 +02:00
Theo Arends 2210bda2e6 Replace APMac with BSSId
Replace APMac with BSSId in state and status 11
2018-09-02 15:54:26 +02:00
Theo Arends 5623924813 Add Wifi channel number
Add Wifi channel number to state message (#3664)
2018-09-02 12:10:22 +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 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 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 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 277e776cf3 Add sensor MPU6050
Add initial support for sensor MPU6050 (#3352)
2018-07-28 16:16:53 +02:00
Oliver Welter 06c2ab8229 Added support for MPU6050 gyro sensor 2018-07-28 03:53:51 +02:00
Theo Arends afdb197a6c v6.6.1b - Change wifi options
6.1.1b
 * Add default Wifi Configuration tool as define WIFI_CONFIG_NO_SSID in user_config.h if no SSID is configured (#3224)
 * Add user selection of Wifi Smartconfig as define USE_SMARTCONFIG in user_config.h
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled
 *   or Wifi Smartconfig if webserver is disabled
 *   or Wifi Serial input if Smartconfig is disabled
 * Remove WPS and SmartConfig from sonoff-minimal saving 56k code space
2018-07-15 15:21:48 +02:00
Theo Arends 8fdcbaa8e1 Add read sensor retry
Add read sensor retry to DS18B20, DS18x20, DHT, SHT1X and HTU21
2018-07-10 22:12:16 +02:00
Theo Arends 0fc019e418 Initial Sonoff iFan02 support
Initial Sonoff iFan02 support (#2839)
2018-06-30 18:50:10 +02:00
ascillato b0e979673a Revert "Merge branch 'development' into development"
This reverts commit 3ca69e499b, reversing
changes made to 7d8495b263.
2018-06-05 18:54:35 -03:00
ascillato 1c20dbe3a2 Revert "Revert Changes"
This reverts commit 1c337ae28e.
2018-06-05 18:54:30 -03:00
ascillato 1c337ae28e Revert Changes 2018-06-05 17:04:34 -03:00
Adrian Scillato 145352ee27
Sync to Tasmota
Sync to Tasmota
2018-06-04 18:33:46 -03:00
Theo Arends d4119fe54d Add SnfBrdg EFM8BB1 fw tools
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886)
* Add command RfRaw to control Portisch firmware features
2018-06-04 18:10:38 +02:00
Adrian Scillato 9a09fed6eb
Update i18n.h 2018-05-31 03:47:14 -03:00
Theo Arends 41496acdee File renames and Add command WebSend
5.14.0b
* Add command WebSend [<host>(:<port>,<user>:<password>)] <command>
(#2821)
2018-05-28 11:35:23 +02:00
Theo Arends 496b41dfbd Add compiled feature information
5.14.0a
 * Add compiled feature information to Status 4
2018-05-17 15:36:45 +02:00
Theo Arends d7afc664f5 Add user entry DST/STD
5.13.1c
 * Add user entry DST/STD using commands TimeStd and TimeDst
with options like 0,0,3,1,2,120 (#2721)
2018-05-14 23:22:29 +02:00
Gennaro Tortone 4a7cd60a56 add new metrics to SDM120 power meter 2018-05-14 14:04:10 +02:00
Theo Arends e6a1eff8ed Add support for sensor SI1145
5.13.1a
* Add support for sensor SI1145 UV Index / IR / Visible light (#2496)
2018-05-12 21:15:59 +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 49aec2e307 Fix sensor MHZ-19 vanishing data over time
5.13.1a
* Fix sensor MHZ-19 vanishing data over time (#2659)
2018-05-08 17:07:55 +02:00
Theo Arends 458f00b2bd Revert "Fix sensor MHZ-19 vanishing data over time"
This reverts commit b7b3f9b0d5.
2018-05-08 17:05:49 +02:00
Theo Arends b7b3f9b0d5 Fix sensor MHZ-19 vanishing data over time
5.13.1a
* Fix sensor MHZ-19 vanishing data over time (#2659)
2018-05-08 17:04:35 +02:00
Theo Arends 0c0f2236bd Lost updates 2018-05-06 16:18:17 +02:00
Theo Arends 9549ab3ad3 Remove display of passwords (#2505)
Remove display of passwords (#2505)
2018-04-21 18:17:24 +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 e0aeb8e0a2 Add Greek translation
5.12.0m
* Add Greek language file (#2491)
2018-04-19 21:57:14 +02:00
Theo Arends 8bc6475850 v5.12.0m - Add KNX support and Random Timer
5.12.0m
 * Reinit timers to accomodate random window (#2447)
 * Add
random window to timers (#2447)
 * Add optional KNX IP Protocol Support
(#2402)
2018-04-18 17:28:45 +02:00
Theo Arends 08456e55e6 v5.12.0k - Add rules
5.12.0k
* Add commands Publish, Rule, RuleTimer and Event. See Wiki about Rule
restriction, usage and examples
2018-04-13 17:42:11 +02:00
Theo Arends 2049730877 Fix DS18x20 temperature updates (#
5.12.0k
 * Change Timer parameter name from Power to Action
 * Fix
update temperature on DS18x20 drivers (#2328)
2018-04-12 14:01:43 +02:00
Theo Arends 524979aa5f v5.12.0j - Add Sunrise/set timer option
5.12.0j
 * Add optional Sunrise and Sunset timers with commands Latitide
and Longitude to be enabled with define USE_SUNRISE in user_config.h
(#2317)
2018-04-05 12:49:43 +02:00
Theo Arends fa556897fe Change SGP30 CO2 into eCO2
Change SGP30 CO2 into eCO2 (#2307)
2018-04-01 21:54:15 +02:00
Theo Arends 823c9a0404 Add more validation to timer handling
Add more validation to timer handling
2018-03-31 17:29:00 +02:00
Theo Arends 67477b1f4e Add support for SGP30 sensor
5.12.0i
 * Add support for SGP30 gas and air quality sensor (#2307)
2018-03-31 16:26:00 +02:00
Theo Arends 5ee463ddfb Change Timer parameter Device to Output
Change Timer parameter Device to Output and add German translation
(#2294)
2018-03-30 11:15:04 +02:00
Theo Arends d564615b7d v5.12.0i - Add timers
5.12.0i
 * Add 16 timers using commands Timer and Timers (#1091)
2018-03-23 17:20:20 +01:00
Theo Arends 2c4b8a4a3b v5.12.0h - Add HSBColor and Channel commands
5.12.0h
 * Add PWM status to command State if PWM enabled (#2203)
 * Add
command HSBColor Hue,Sat,Bri (#1642, #2203)
 * Add command Channel
0..100 to control dimmer value for individual color channels (#2111,
#2203)
2018-03-20 16:28:18 +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 d3ef9caa34 v5.12.0g - Add hardware serial mqtt bridge
5.12.0g
 * Add support for MQTT to hardware serial bridge using commands
Baudrate and SerialSend. Currently supports 8N1 and text only (#2182)
2018-03-18 13:47:30 +01:00
Theo Arends 12fa894303 v5.12.0e - Add command PowerDelta
5.12.0e
 * Add command PowerDelta 0..100 (percentage) to Energy
monitoring devices to report on active power load change (#2157)
2018-03-14 14:32:51 +01:00
Theo Arends fa25b8c043 v5.12.0e - Add display remaining time to PulseTime
5.12.0e
 * Add display of remaining pulse time to command PulseTime
(#2085)
2018-03-11 15:46:58 +01:00
Theo Arends 4063275f7d v5.12.0e - Add Clock features
5.12.0e
* Add commands Color6 RRGGBB for Clock marker color and Rotation pixels
for Clock rotation (#2092)
2018-03-10 17:58:54 +01:00
arendst 77be56363a v5.12.0b
5.12.0b
 * Add Multichannel Gas sensor using MultiChannel_Gas_Sensor
library (#1245)
2018-02-18 18:39:28 +01:00
arendst 1c81b0cdd9 v5.12.0b - Add Restart time
5.12.0b
 * Add Restart time to Status 1 (#1938)
 * Change Sonoff SC JSON
format (#1939)
2018-02-17 13:47:11 +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 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 c14234394a v5.11.1d - Add command State and fixes
5.11.1d
 * Add locale Decimal Separator to Web sensor page
 * Add
command State to retrieve device state information (same data as
teleperiod state and status 11 in slightly different JSON format)
 *
Extent state information with Light parameters
 * Fix IRSend parameter
translation (#1636)
 * Add optional login to Webserver AP mode (#1587,
#1635)
 * Fix BME680 teleperiod resistance measuring (#1647)
2018-01-20 12:12:39 +01:00
arendst 4fba6f2758 v5.11.1b - Several fixes and French languga
5.11.1b
 * Add command PowerOnState option 5 which inverts PulseTime and
allows for delayed always on after power on
 * Changed
OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to allow slow
networks (#1556)
 * Add French language file (#1561)
 * Fix truncated
command names and wrong response for DomoticzSwitchIdx (#1571)
 * Add
HTTP Allow Cross Origin removed from ESP8266/Arduino 2.4.0 (#1572)
 *
Fix %-sign issue as printf escape character in Humidity and Sonoff SC
(#1579)
2018-01-13 15:53:02 +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 f4f4039599 v5.11.1a
Align with master
2018-01-08 11:44:18 +01:00
arendst b583bc48f4 v5.10.0j - MQTT/JSON language consolidation complete
5.10.0j
 * Allow conditional code based on core version
 * Removed all
MQTT, JSON and Command language defines from locale files (#1473)
2018-01-06 17:34:42 +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 5639b6d966 v5.10.0f
5.10.0f
 * Differentiate between JSON text defines and other text
defines to allow for English JSON while using different locale (#1449)

* Fix display of build date and time in non-english locale (#1465)
2017-12-29 14:35:05 +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 83a9c0693a v5.9.1b - Add INA219 support
5.9.1b
 * Remove spaces in JSON messages
 * Add support for INA219
Voltage and Current sensor to be enabled in user_config.h
2017-11-11 12:33:30 +01:00
arendst 19533cc995 v5.9.0b - Fixes and add ADS1115 A/D converter
5.9.0b
 * Add support for ADS1115 to be enabled in user_config.h and
needs libraries i2cdevlib-Core and i2cdevlib-ADS1115 (#338, #660)
 * Fix
Exception 26 and empty console screen after usage of command
WakeupDuration (#1133)
 * Fix some changed iTead web links in README.md
(#1137)
2017-11-07 15:57:24 +01:00
arendst d5cf0fc57f Expand bridge functionality 2017-10-30 11:42:34 +01:00
arendst ebe642c995 v5.8.0q Fixes and Shrinking code
5.8.0q
 * Shrink code by 4k using command lookup tables
 * Add retry
counter to DHT11/21/22 sensors (#1082)
 * Add commands RfSync, RfLow,
RfHigh, RfHost and RfCode to allow sending custom RF codes (#1001)
2017-10-29 18:18:46 +01: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 e015b574e6 v5.7.1g - Add wificonfig option 5 (WIFI_WAIT)
5.7.1g
 * Add option WIFI_WAIT (5) to command WifiConfig to allow
connection retry to same AP without restart or update flash (#772, #869)
2017-09-16 14:19:47 +02:00
arendst 92ff7f0adc v5.7.0
5.7.0 20170907
* Shrink module configuration webpage
* Fix settings order during startup to allow for displaying debug
messages
* Fix some string length issues
* Add more string length tests by using strncpy
* Add Ai-Thinker RGBW led (AiLight)
* Add Power check and add PulseTime to power check at startup (#526)
* Add Supla Espablo support (#755)
* Add more precision to Sonoff Pow period and power results using
command WattRes 0|1 (#759)
* Add basic internationalization and localization (#763)
* Add more Sonoff Pow range checking (#772)
* Fix invalid JSON (#786, #822)
* Add duplicate check to received RF signal within 2 seconds for Sonoff
Bridge (#810)
2017-09-07 18:53:59 +02:00