202 Commits

Author SHA1 Message Date
arendst
e08d96acc2 v5.9.0
5.9.0 20171030
* Rewrite code (partly) using Google C++ Style Guide
(https://google.github.io/styleguide/cppguide.html)
* Rewrite code by using command lookup tables and javascript (client
side) web page expansions
* Change HTML/CSS to enable nicer form field entry
* 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
* 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
* Change when another module is selected now all GPIO user configuration
is removed
* Change command name IRRemote to IRSend (#956)
* Remove Arduino IDE version too low warning as it interferes with
platformio.ini platform = espressif8266_stage
* Fix command FullTopic entry when using serial or console interface
* Fix possible UDP syslog blocking
* Fix minimum TelePeriod of 10 seconds set by web page
* Fix command GPIOx JSON response (#897)
* Fix inverted relay power on state (#909)
* Fix compile error when DOMOTICZ_UPDATE_TIMER is not defined (#930)
* Fix alignment of web page items in some browsers (#935)
* Fix setting all saved power settings to Off when SetOption0
(SaveState) = 0 (#955)
* Fix timezone range from -12/12 to -13/13 (#968)
* Fix Southern Hemisphere TIME_STD/TIME_DST (#968)
* Fix TLS MQTT SSL fingerprint test (#970, #808)
* Fix virtual relay status message used with Color/Dimmer control (#989)
* Fix command IRSend and IRHvac case sensitive parameter regression
introduced with version 5.8.0 (#993)
* Fix pressure calculation for some BMP versions regression introduced
with version 5.8.0i (#974)
* Fix Domoticz Dimmer set to same level not powering on (#945)
* Fix Blocked Loop when erasing large flash using command reset 2
(#1002)
* Fix relay power control when light power control is also configured as
regression from 5.8.0 (#1016)
* Fix Mqtt server mDNS lookup only when MqttHost name is empty (#1026)
* Add debug information to MQTT subscribe
* Add translations to I2Cscan
* Add translation to BH1750 unit lx
* Add light scheme options (Color cycle Up, Down, Random) and moving
WS2812 schemes up by 3
* Add Domoticz counter sensor to IrReceive representing Received IR
Protocol and Data
* Add option 0 to MqttHost to allow empty Mqtt host name
* Add support for Arilux AL-LC01 RGB Led controller (#370)
* Add esp8266 de-blocking to PubSubClient library (#790)
* Add Domoticz sensors for Voltage and Current (#903)
* Add platformio OTA upload support (#928, #934)
* Add warning to webpage when USE_MINIMAL is selected (#929)
* Add smoother movement of hour hand in WS2812 led clock (#936)
* Add support for Magic Home RGBW and some Arilux Led controllers (#940)
* Add command SetOption15 0 (default) for command PWM control or
SetOption15 1 for commands Color/Dimmer control to PWM RGB(CW) leds
(#941)
* 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)
* Add PWM initialization after restart (#955)
* Add IR Receiver support. Disable in user_config.h (#956)
* Add support for inverted PWM (#960)
* Add Sea level pressure calculation and Provide command Altitude (#974)
* Add support for up to 8 relays (#995)
* Add commands RfSync, RfLow, RfHigh, RfHost and RfCode to allow sending
custom RF codes (#1001)
* Add retain to ENERGY messages controlled by command SensorRetain
(#1013)
* Add commands Color2, Color3, Color4, Width2, Width3, Width4 and
SetOption16 to set Ws2812 Clock parameters (#1019)
* Add German language file (#1022)
* Add support for connecting to MQTT brokers without userid and/or
password (#1023)
* Add support for esp8266 core v2.4.0-rc2 (#1024)
* Add commands PwmRange 1,255..1023 and PwmFrequency 1,100..4000 (#1025)
* Add Polish language file (#1044, #1047)
* Add support for KMC 70011 Power Monitoring Smart Plug (#1045)
* Add support for VEML6070 I2C Ultra Violet level sensor (#1053)
* Add light turn Off Fade (#925)
* Add IrSend command option Panasonic as IrSend {"Protocol":"Panasonic",
"Bits":16388, "Data":<Panasonic data>}
*   where 16388 is 0x4004 hexadecimal (#1014)
* Add retry counter to DHT11/21/22 sensors (#1082)
v5.9.0
2017-10-30 15:43:39 +01:00
arendst
1ef3ad6afa Add support for ESP8266 core v2.4.0-rc2
To be used for fixing KRACK WPA2 vulnerability (#1024)
2017-10-17 11:13:34 +02:00
arendst
d9e1ab0ca3 Add optional pio OTA upload support
Add custom upload (#928) and (#934)
2017-09-30 16:03:19 +02:00
arendst
9b36732890 Add esp8266 de-blocking to PubSubClient
Solve possible PubSubClient timeout due to esp8266 blocking (#790)
2017-09-25 12:38:49 +02:00
arendst
af942a278c v5.8.0
5.8.0 20170918
 * Remove the need for NeoPixelBus library for Hue
support
 * Consolidate WS2812 into Sonoff Led for flexible future led
strip library changes
 * Invert WS2812 fade speed to align with Sonoff
led (Speed 1 = fast, Speed 8 = slow)
 * Remove upper case MQTT receive
buffer
 * Reduce code and string length for output of commands Modules
and GPIOs
 * Add Sonoff SC debug information
 * Change syslog service
 *
Removed webserver syslog disable as now no longer needed
 * Increased
default MQTT message size from 368 to 405 bytes while keeping
MQTT_MAX_PACKET_SIZE = 512 (because we can)
 * Fix MQTT Offline or
Remove MQTT retained topic code
 * Fix Domoticz loop when Emulation is
selected
 * Add blink to WS2812 and Sonoff Led (#643)
 * Add option
WIFI_WAIT (5) to command WifiConfig to allow connection retry to same AP
without restart or update flash (#772, #869)
 * Add support for Witty
Cloud (#794)
 * Add GPIO14 to Sonoff Dual (#797, #839)
 * Add support
for Yunshan Wifi Relay (#802)
 * Add GPIO16 input pulldown (#827)
 * Add
timeout to DHT and DS18B20 sensors (#852)
 * Fix watchdog timeout caused
by lack of stack space by moving to heap (#853)
 * Allow LogPort and
MqttPort up to 65535 and add LogPort tot Status 3 (#859)
 * Allow
command SwitchTopic in group mode (#861)
 * Allow command SwitchMode if
no switches are defined (#861)
 * Add optional dimmer parameter to
command Wakeup for WS2812, AiLight, Sonoff B1, Led and BN-SZ01 (#867)
 *
Fix basic On, Off, Toggle, Blink and BlinkOff commands when other
language is selected (#874)
v5.8.0
2017-09-18 18:38:13 +02:00
arendst
41f1004d93 v5.7.1
5.7.1 20170909
 * Remove leading spaces from MQTT data
 * Fix webconsole
special character entry
 * Allow # as prefix for color value
 * Fix
Alexa detection and Hue App Update Request (#698, #854)
2017-09-09 19:21:54 +02:00
arendst
69dbb255b0 Cleanup 2017-09-09 19:19:26 +02:00
arendst
465aa4fffa v5.7.1
5.7.1 20170909
 * Remove leading spaces from MQTT data
 * Fix webconsole
special character entry
 * Allow # as prefix for color value
 * Fix
Alexa detection and Hue App Update Request (#698, #854)
2017-09-09 19:14:11 +02:00
arendst
5bd5e28652 Merge branch 'development'
# Conflicts:
#	README.md
#	sonoff/_releasenotes.ino
#	sonoff/sonoff.ino
#	sonoff/xdrv_snfled.ino
#	sonoff/xdrv_ws2812.ino
2017-09-09 19:03:18 +02:00
arendst
8585465967 v5.7.1
5.7.1 20170909
 * Remove leading spaces from MQTT data
 * Fix webconsole
special character entry
 * Allow # as prefix for color value
 * Fix
Alexa detection and Hue App Update Request (#698, #854)
v5.7.1
2017-09-09 18:46:29 +02:00
Theo Arends
7ccdb49671 Merge pull request #854 from altelch/development
Fix for Alexa detection of HUE Emulation and fix Update Request in HUE App
2017-09-09 18:23:15 +02:00
altelch
924b4c8b7f Fix for Alexa detection of HUE Emulation and fix for Update Request in Hue App 2017-09-09 15:36:30 +02:00
arendst
53b0dad348 v5.7.0b - Add optional # to color value
5.7.0b
 * Add snfled UNDOCA
 * Allow # as prefix for color value for
ws2812 too
2017-09-08 17:14:39 +02:00
arendst
4f6acfa7d9 v5.7.0a - Add optional # to color
5.7.0a
 * Remove leading spaces from MQTT data
 * Fix webconsole special
character entry
 * Allow # as prefix for color value
2017-09-08 12:57:08 +02:00
Theo Arends
7618338bdd Add license information 2017-09-08 11:22:01 +02:00
Theo Arends
2bac7fa037 Add license information 2017-09-08 11:21:54 +02:00
Theo Arends
785239a1b8 Update README.md 2017-09-08 11:13:34 +02:00
Theo Arends
b2c84a2758 Update README.md 2017-09-08 11:09:54 +02:00
Theo Arends
fa83abf916 Add license info 2017-09-08 11:07:04 +02:00
Theo Arends
bc36c38be1 Add language support v5.7.0 2017-09-07 19:08:40 +02:00
arendst
283252d208 v5.7.0
Add language support
2017-09-07 19:07:47 +02:00
Theo Arends
f7bc1b6eee Update README.md 2017-09-07 19:03:43 +02:00
arendst
4ca5893037 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:58:14 +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
arendst
ee914714ab v5.6.1l - Tried to fix excepetion 3
5.6.1l
* Fix some string length issues
* Add more string length tests by using strncpy
* Tried to fix Exception 3 as I can't reproduce (#830)
2017-09-06 17:37:41 +02:00
arendst
1b450b8c88 Add language preprocessor demo 2017-09-02 17:24:05 +02:00
arendst
95d54230fc v5.6.1k - Fix preprocessor language selection
5.6.1k
* Fix preprocessor language selection
2017-09-02 17:16:18 +02:00
arendst
1facc146cc Fix Linux compile error
5.6.1j
* Fix compile error on Linux due to language folder name
* Add basic internationalization and localization (#763)
* Fix invalid JSON (#822)
2017-09-02 15:06:57 +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
740a0c6283 Add PulseTime to power check at startup
5.6.1h
* Add PulseTime to power check at startup (#526)
2017-08-30 11:08:18 +02:00
arendst
300bb8818f Fix Sonoff Bridge duplicates and check power at startup
5.6.1g
* Add power check at startup (#526)
* Add duplicate check to received RF signal within 2 seconds for Sonoff
Bridge (#810)
2017-08-29 16:35:45 +02:00
Theo Arends
9c3b1852b1 Revert HLW power changes
5.6.1f
* Fix JSON error (#786)
* Revert changes from 5.6.1e but extent HLW power timer to 10 seconds
(#796)
2017-08-27 10:00:11 +02:00
arendst
65681a7054 Remove HLW Power Timer (#759) 2017-08-24 15:09:39 +02:00
arendst
0de07df099 Fix possible Pow Exception 0 2017-08-24 11:09:52 +02:00
Theo Arends
0c59eb5585 Add more precision to Sonoff Pow period and power results using command WattRes 0|1 (#759) 2017-08-20 11:40:50 +02:00
arendst
3f365b6228 Add Supla Espablo support (#755) 2017-08-19 18:08:06 +02:00
arendst
dbab55758a Shrink module configuration webpage 2017-08-19 16:29:51 +02:00
arendst
224354642b Merge remote-tracking branch 'refs/remotes/origin/development' 2017-08-18 18:05:26 +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)
v5.6.1
2017-08-18 18:04:49 +02:00
arendst
a872f7ff3b Merge remote-tracking branch 'refs/remotes/origin/development' 2017-08-18 14:53:38 +02:00
arendst
fa0b7d7784 v5.6.0
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 14:52:57 +02:00
arendst
b7e71690e4 Merge remote-tracking branch 'refs/remotes/origin/development' 2017-08-18 14:50:13 +02:00
arendst
06d0c62dfa Add global interlock
Use command SetOption14 1 to enable interlock mode
2017-08-18 12:55:08 +02:00
arendst
e0f759a318 Invert Sonoff T1 led state 2017-08-18 10:40:21 +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
e9f4ca930a v5.5.2h - Add Sonoff B1 support
5.5.2h
* 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)
2017-08-16 17:45:23 +02:00
arendst
e1895cbeba Merge branch 'sonoff-b1' into development 2017-08-16 17:20:47 +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