Commit Graph

1462 Commits

Author SHA1 Message Date
guyelg 8aabe10711
Add support for DS3231-external I2C RTC 2018-10-10 20:25:04 +03: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
Adrian Scillato 3bc3e7e332
Add comment for sleep command (datasheet) 2018-10-08 17:25:42 -03: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
Theo Arends 30154e2335 6.2.1.13 Change to ArduinoMqtt
6.2.1.13 20181008
 * Change default Mqtt client library from PubSubClient to non-blocking ArduinoMqtt by Joel Gaehwiler
2018-10-08 10:30:24 +02:00
Adrian Scillato efb328de09
Add PWM Freq Limits Config at Compile time 2018-10-07 14:27:09 -03:00
Adrian Scillato dfce7a280a
Add PWM Freq Limits Config at Compile time
PWM_MAX and PWM_MIN are added with explanation comments in order to let a user, who wants to use a Servo, to config these values. Not added at runtime in order to avoid issues with dimmers.
2018-10-07 14:24:52 -03: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
Mike 461fed6290
missing "" around UV Index test in json
Fixed the missing "" around the UV Index test in json
Old one:
"VEML6070":{"UvLevel":6212,"UvIndex":8.32,"UvIndexText":Danger,"UvPower":0.208}}

New one:
"VEML6070":{"UvLevel":6212,"UvIndex":8.32,"UvIndexText":"Danger","UvPower":0.208}}

Now it works. I have no mqtt system running so i did not know that this would happen.
Possible i have to build up one system.
2018-10-06 20:48:26 +02:00
synekvl 174f2736dc
Update cs-CZ.h 2018-10-06 18:46:29 +02:00
Theo Arends d3d40a1609 Update cs-CZ language 2018-10-06 16:46:25 +02:00
Adrian Scillato f8b93ad3ea
Updated Spanish Translation 2018-10-05 21:59:39 -03:00
Theo Arends 4208baddac Update language files
Update language files
2018-10-05 17:54:12 +02:00
Jason2866 4ba1020609
Update de-DE.h 2018-10-04 13:41:15 +02:00
Theo Arends 623feaa706
Merge pull request #3972 from Staars/development
Update for APDS9960
2018-10-04 11:08:46 +02:00
Theo Arends 52d88439ff Fix Domoticz exception
Fix exception when wrong Domoticz JSON message is received (#3963)
2018-10-04 11:01:50 +02:00
Theo Arends 0d7a1a62fc
Merge pull request #3970 from mike2nl/development
MP3 Driver Update
2018-10-04 09:41:48 +02:00
Mike 4ebcbf084a
Driver update
1.0.0.4 20181003  
added   
- MP3Reset command in case that the player do rare things and needs a reset, the default volume will be set again too
- MP3_CMD_RESET_VALUE for the player reset function
- MP3_CMD_DAC command to switch off/on the dac outputs
cleaned 
- some comments and added function text header
fixed      
- missing void's in function calls
tested  
- works with MP3Device 1 = USB STick, or MP3Device 2 = SD-Card
- DAC looks working too on a headset. Had no amplifier for test
2018-10-04 08:25:32 +02:00
Frank Maas dbb7b27905
Update _changelog.ino
It's not 2019 yet...
2018-10-04 00:19:32 +02:00
Max cea848dec4 Fix XSS-Vulnerability in configuration page
Add HTML entity encoding to the SSID of networks that can be found
using the "Scan for wifi networks" function of the configuration
page.
2018-10-03 19:29:46 +02:00
Theo Arends 1707c73264 Update Hebrew language file
Add Hebrew language file (#3960)
2018-10-03 13:55:07 +02:00
Theo Arends 93460c6498 Change MQTT timeout
Change MQTT_ARDUINOMQTT command timeout from 1 to 10 seconds
2018-10-03 10:00:46 +02:00
Yuval 0826249cff
Create Hebrew Language File 2018-10-02 19:25:18 +03:00
Theo Arends 0ad250c10b 6.2.1.11 Add MQTT Client
6.2.1.11 20191002
 * Remove support for MQTT Client based on esp-mqtt-arduino by #define MQTT_LIBRARY_TYPE MQTT_ESPMQTTARDUINO
 * Add support for MQTT Client based on lwmqtt to be selected by #define MQTT_LIBRARY_TYPE MQTT_ARDUINOMQTT
2018-10-02 17:07:30 +02:00
Theo Arends 3ed06695ba Fix Teckin energy monitoring
Fix Teckin energy monitoring (#3950)
2018-10-02 09:38:36 +02:00
Theo Arends c0117e5315
Merge pull request #3955 from zuckschwerdt/feat-w1parasite
Add W1_PARASITE_POWER optimization for DS18X20
2018-10-01 21:31:36 +02:00
Christian W. Zuckschwerdt 3280c7d177 Add W1_PARASITE_POWER optimization for DS18X20 2018-10-01 20:26:27 +02:00
andrethomas 2f85a4728b PCA9685 - bugfix for telemetry + status command 2018-10-01 19:32:55 +02:00
Theo Arends d9a0c0e4ae
Merge pull request #3953 from ascillato/patch-1
Add Dimmer Trigger for Rules
2018-10-01 18:25:10 +02:00
Adrian Scillato bcc9432214
Added Dimmer Trigger for Rules
For example

rule on Dimmer#state<30 do ... endon
rule on Dimmer#boot<10 do ... endon
2018-10-01 13:13:47 -03:00
Mike 13d37a144a
Fixed wrong sensor name
Fixed a wrong sensor name in line 23. It's not the SPG30, it's the CSS811
2018-10-01 18:06:25 +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
andrethomas 047f430ad8
PCA9685 - Remove unused callbacks in Xdrv15() 2018-10-01 00:27:16 +02:00
andrethomas da0b283fe7 PCA9685 - Add telemetry output 2018-10-01 00:18:37 +02:00
andrethomas 068211cae9
Add #define USE_PCA9685_FREQ 50 if not defined
Add #define USE_PCA9685_FREQ 50 if not defined in user_config.h
2018-09-30 23:33:14 +02:00
andrethomas ee0ef227dc Add ability to set default PWM Freq using #define #define USE_PCA9685_FREQ 2018-09-30 23:07:46 +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 b9b6d132f5 Fix timer offset -00:00
Fix timer offset -00:00 causing 12:00 hour offset (#3923)
2018-09-30 17:52:41 +02:00
Theo Arends 191df17b13 Add support for EXS Relay V5.0
Add support for EXS Relay V5.0 (#3810)
2018-09-30 16:52:25 +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 6a1a21f03a 6.2.1.10 Add RGBWWTable
6.2.1.10 20180930
 * Add command RGBWWTable to support color calibration (#3933)
2018-09-30 11:02:47 +02:00
Theo Arends cdc8a4d9eb
tiny change 2018-09-30 10:54:52 +02:00
Erik 87dc6fe20e Add basic support for color calibration 2018-09-29 16:55:53 +02:00
Theo Arends 3b3579f1db Fix config crc errors
Fix invalid configuration restores and decode_config.py crc error when savedata = 0 (#3918)
2018-09-29 13:09:51 +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 3d6b9859bd
Merge pull request #3929 from emontnemery/fix_hass_colors
Use color2 command (HASS sends normalized RGB)
2018-09-29 10:27:02 +02:00
Erik 8255c001b6 Use color2 command (HASS sends normalized RGB) 2018-09-29 10:12:32 +02:00
Theo Arends 66fce8bd5f
Merge pull request #3921 from mike2nl/development
Udated the driver veml6070
2018-09-28 17:50:38 +02:00
Mike 41e6939a81
outline corrections of // comments 2018-09-28 17:38:06 +02:00
Mike e8a56755d9
Updated the driver
Updated the driver and changed a lot. 
- Starting with switch(function) and the end of it. 
- Changed the json output code a lot to more visibility and a better way of working. 
- Changed the web sever outout so that we need less code.

In #ifdef USE_DOMOTICZ i have changed nothing because i don't have a domotica system.
Therefor someone with a stable running system can build it further or we can work together on it.

Dirver version changed to v1.0.0.2
Theo, i hope the if (11 == (uptime %100)) { .. part is ok. Please have a look on it.
2018-09-28 17:34:25 +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 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 f05a471e48 Fix KNX compile error 2018-09-28 17:02:55 +02:00
Theo Arends 4b7c797fb7 6.2.1.9 Apparent/Reactive Power
6.2.1.9 20180928
 * Add Apparent Power and Reactive Power to Energy Monitoring devices (#251)
2018-09-28 15:48:42 +02:00
Theo Arends 1a0d630da2 Removed debug code
Removed unavailable debug code (#3917)
2018-09-28 11:48:55 +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
Staars a84b38dae2 intermediate version for aTime-adjustment 2018-09-27 08:34:12 +02:00
Adrian Scillato a67efa0ab2
Added new triggers for rules on boot time
To make it possible to trigger a rule at boot time with the state of the switches or relays (in order to take decisions), 2 new trigger types has been added: 

* SWITCH1#BOOT

to be used like:

ON SWITCH1#BOOT DO ...  %value% ENDON
ON SWITCH1#BOOT=0 DO .... ENDON
ON SWITCH1#BOOT=1 DO .... ENDON

and

* POWER1#BOOT

to be used like:

ON POWER1#BOOT DO ...  %value% ENDON
ON POWER1#BOOT=0 DO .... ENDON
ON POWER1#BOOT=1 DO .... ENDON
2018-09-26 23:02:55 -03:00
Jason2866 86b3ccf609
Update de-DE.h 2018-09-26 22:20:19 +02:00
Jason2866 3bb8b2fe26
Update de-DE.h 2018-09-26 22:10:32 +02:00
Erik 9acbcc805f Fix logic for forced light discovery 2018-09-26 20:35:39 +02:00
znanev 8022bca19c
Update Bulgarian language file 2018-09-26 18:27:23 +01: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
Theo Arends bac33345a0 6.2.1.8 Extent status JSON
6.2.1.8 20180926
 * Change status JSON message providing more switch and retain information
2018-09-26 10:13:44 +02:00
Theo Arends 77a27d4383
Merge pull request #3899 from localhost61/development
Update fr-FR.h
2018-09-26 09:00:02 +02:00
localhost61 8ff696b34b Correct the OoR translation (thanks Adrian ;-) ) 2018-09-26 02:37:27 +02:00
Adrian Scillato 6798eb5854
Updated Spanish Translation 2018-09-25 21:00:56 -03:00
localhost61 71964e0aa4 Update French localization 2018-09-26 00:59:00 +02:00
Theo Arends eb53605fc1 Fix VEML6070 compile errors 2018-09-25 17:03:22 +02:00
Theo Arends 80833ca0d5
Merge pull request #3894 from mike2nl/development
Added missing text
2018-09-25 16:53:41 +02:00
Mike 63dbd6d0c9
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:42:09 +02:00
Mike a47467704e
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:42:07 +02:00
Mike 85692d6f38
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:42:01 +02:00
Mike e719cfbf43
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:41:51 +02:00
Mike 65dbf4c709
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:38:40 +02:00
Mike dc937ed792
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:38:27 +02:00
Mike 6b070e08cf
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:38:04 +02:00
Mike a7495af9ed
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:35:48 +02:00
Mike 55db6530ec
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:35:29 +02:00
Mike a1d5032993
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:35:17 +02:00
Mike 9ad0bc149f
Added text
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:32:46 +02:00
Mike cdc7b90652
Added text
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:32:36 +02:00
Mike 3fd8b8f7f8
Added text
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:32:17 +02:00
Mike b15a29c046
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:29:27 +02:00
Mike a7d59f03fa
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:28:34 +02:00
Mike abd5cb23fe
Added text
forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:27:10 +02:00
Mike e6ae87fd82
added text
forgot the #define D_UNIT_INCREMENTS "inc"
2018-09-25 16:24:44 +02:00
Mike baf81daaa2
added text
forgot the #define D_UNIT_INCREMENTS "inc"
2018-09-25 16:23:38 +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 104eef4829
Merge pull request #3893 from mike2nl/development
changed driver xsns_11_veml6070.ino
2018-09-25 15:57:22 +02:00
Theo Arends 40052a343f Add image sonoff-display
Add define USE_DISPLAYS for selecting image sonoff-display
2018-09-25 15:35:49 +02:00
Mike 13e0bcbd26
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:01:16 +02:00
Mike 044363dc00
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:00:57 +02:00
Mike cf952f6637
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:00:34 +02:00
Mike 56e9e92655
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:57:17 +02:00
Mike c8f51b68fd
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:57:01 +02:00
Mike 78df649fca
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:56:38 +02:00
Mike a6cf1cde4f
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:53:25 +02:00
Mike f7c16f5388
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:53:03 +02:00
Mike 4c900eb0b7
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:52:41 +02:00
Mike 9182d02d0c
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:50:18 +02:00
Mike e3f1d4ad9a
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:50:05 +02:00
Mike 651bdf03c0
Update fr-FR.h
Added some new text UV defines and one unit define W/m2
2018-09-25 14:49:51 +02:00
Mike 89e04dafb0
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:46:43 +02:00
Mike c18a3cd7e0
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:45:27 +02:00
Mike ef6cd4530d
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:44:04 +02:00
Mike 1738f68247
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:42:28 +02:00
Mike ee7acd849b
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:40:55 +02:00
Mike af5ee5a883
Added defines for text
Added defines for uv text and one unit define
2018-09-25 14:37:08 +02:00
Mike 2ba0b1be73
driver cahnge
Added a lot of new calculation for more precission and more output so as UV Index plus a text behind the value and UV Power in W/m2
2018-09-25 14:32:24 +02:00
Mike 977ee779b0
Added VEML6070 defines
Added define for Rset for the VEML6070 sensor and to show or show-not the raw value
2018-09-25 14:30:01 +02:00
Theo Arends ec421e6144 Released decode-config.py
Released tools/decode-config.py by Norbert Richter to decode configuration data.
2018-09-25 14:08:36 +02:00
Theo Arends 2029440fae 6.2.1.7 Fix NTPserver change
6.2.1.7 20180925
 * Remove restart after ntpserver change and force NTP re-sync (#3890)
 * Release full Shelly2 support
2018-09-25 11:35:37 +02:00
Adrian Scillato ecd3175257
Prevent Command NtpServer to restart Tasmota
#3890
2018-09-24 16:16:14 -03:00
Theo Arends 43c3cf57d5 Shelly2 Cleanup
Cleanup and debug updates
2018-09-24 18:16:35 +02:00
Theo Arends f65d8c0cbf Fix possible array overflow
Fix possible array overflow (#3887 )
2018-09-24 11:44:40 +02:00
andrethomas 5fa47c3fdc MCP230xx - Add missing (void) 2018-09-24 00:30:07 +02:00
Theo Arends 683c211241 Fix Shelly2 wrong FrequencySet
Fix Shelly2 wrong FrequencySet calculation and add input range checks (#3882)
2018-09-23 16:41:22 +02:00
Theo Arends 01ce1b0c91 Fix Shelly2 monitoring
Disable serial logging on Shelly2 as serial is being used by energy monitoring (#3878)
2018-09-23 13:55:42 +02:00
Theo Arends f05fc71d67 Fix rule trigger POWER1#STATE
Fix rule trigger POWER1#STATE execution after restart and SetOption0 is 0 (#3856)
2018-09-22 17:37:49 +02:00
Theo Arends 665a4abc47 Fix Pow R2 and S31 low power
* Add power value below 5W to Sonoff Pow R2 and S31 (#3745)
* Add force_update to Home Assistant discovery (#3873)
2018-09-22 16:09:13 +02:00
Theo Arends f9134a89c4
Merge pull request #3873 from emontnemery/fix_hass_button
Set force_update to true for buttons
2018-09-22 16:05:54 +02:00
Erik 544abec7bf Set force_update to true for buttons 2018-09-22 15:42:18 +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 57e7005b48 Fix TSL2561 timeslot 2018-09-22 12:18:13 +02:00
Theo Arends 20e8d76877 TSL2561 driver fixes
Rewrite TSL2561 driver to fix some issues (#3681)
2018-09-22 12:04:38 +02:00
andrethomas 4ff5667c2a PCA9685 I2C Hardware PWM - Experimental 2018-09-22 00:17:08 +02:00
andrethomas 4992b43689 PCA9685 I2C Hardware PWM - Experimental 2018-09-21 23:43:58 +02:00
Theo Arends 557545cb56 Cleanup Driver
Cleanup Driver
2018-09-21 16:19:31 +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
Theo Arends 415ed97dab 6.2.1.5 Add web authentication
Add authentication to HTTP web pages
2018-09-21 11:15:42 +02:00
andrethomas 846d7a911f Add driverXX support for FUNC_COMMAND callback 2018-09-20 22:56:07 +02:00
andrethomas 363e19d681 MCP230xx - Force C/C++ compliance 2018-09-20 21:03:33 +02:00
andrethomas c9f0c18466 LM75AD - Force function parameters to be C and C++ compliant 2018-09-20 20:44:17 +02:00
Theo Arends ff4f8f75c1 Add uncalibrated energy monitor
Add uncalibrated energy monitoring to Shelly2 (#2789)
2018-09-17 20:32:38 +02:00
andrethomas 29b3e6ec27 MCP230xx - Change address selection from auto to user defined 2018-09-16 21:36:56 +02:00
Theo Arends bf7dcb8eec 6.2.1.3 Add SerialSend5
6.2.1.4 20180916
 * Add command SerialSend5 to send raw serial data like "A5074100545293"
 * Update MCP230xx driver
 * Update Czech translation
 * Update MP3 driver (#3800)
 * Add userid/password option to decode-status.py (#3796)
 * Fix syslog when emulation is selected (#2109, #3784)
 * Fix Pzem2 compilation error (#3766, #3767)
2018-09-16 16:09:00 +02:00
andrethomas 98cfb00803 MCP230xx - Fix millisecond counter reset placement 2018-09-15 18:59:45 +02:00
andrethomas d0fa749c30 MCP230xx - Fix support for setoption4 2018-09-15 15:56:56 +02:00
Theo Arends 9fc5d71629 Update Czech translation
Update Czech translation
2018-09-15 12:00:22 +02:00
Mike 3c947e4c81
Added version info and new MP3 Player commands
- Added the version information to have some little hints what is done.
- Added new commands and changed two commands from the first version.
-- Intention was to get as less of commands as needed.
-- There will be possible a version with much more function and serial->read.

Command list:
- MP3TRACK
-- specify playback of a track, e.g. MP3Track 003.
- MP3PLAY        
-- Play, works as a normal play on a real MP3 Player, starts at 001.mp3 file on the selected device.
- MP3PAUSE     
-- Pause, was original designed as stop, see data sheet.
- MP3STOP       
-- Stop, it's a real stop now, in the original version it was a pause command.
- MP3VOLUME 
-- specifies the volume and means a console input as 0..100.
- MP3EQ           
-- specify the EQ(0/1/2/3/4/5), 0:Normal, 1:Pop, 2:Rock, 3:Jazz, 4:Classic, 5:Bass.
- MP3DEVICE    
-- specify playback device, USB=1, SD-Card=2, default is 2 also after reset or power down/up.
2018-09-15 09:33:53 +02:00
Mike 63a1763a3f
added MP3_VOLUME to init the MP3 Player 2018-09-15 09:13:39 +02:00
Adrian Scillato b3d2447fc7
Update _changelog.ino 2018-09-13 11:54:24 -03:00
Adrian Scillato 6f724e705b
Added support for Xiaomi-Phillips bulb 2018-09-13 11:45:01 -03: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
Adrian Scillato 8025f28409
Let syslog to be active when emulation is active too
solves issue https://github.com/arendst/Sonoff-Tasmota/issues/2109
2018-09-12 19:00:35 -03:00
Theo Arends e60f7e4e9e
Update xnrg_05_pzem2.ino 2018-09-11 19:14:15 +02:00
Theo Arends e4ebee738b Minor fixes
Minor fixes
2018-09-11 10:49:13 +02:00
Adrian Scillato 40b9e06b1e
Enable AD0 in sonoff-sensors.bin
#3756
2018-09-10 18:04:21 -03:00
andrethomas 786fd792b7 Fix tr-TR.h and uk-UK.h compiler errors 2018-09-10 19:44:23 +02:00
andrethomas 6f4fefbd77 Fix potential buffer overun for EVENT 2018-09-10 18:32:41 +02:00
Nico b9d1bb965c correct error 2018-09-10 14:06:31 +02:00
Nico 047932a191 cosmetics 2018-09-10 12:25:57 +02:00
Nico dc3d699fd1 cosmetics 2018-09-10 12:23:51 +02:00
Nico 804e74d0de cosmetics 2018-09-10 12:22:00 +02:00
Nico 2f9ba4e7f3 Merge branch 'development' of https://github.com/edelstahlratte/Sonoff-Tasmota into development 2018-09-10 12:12:26 +02:00
Nico ef6d5bb340 cosmetics 2018-09-10 12:11:28 +02:00
edelstahlratte 0f25925357
Add SDS0X1 working period 2018-09-10 11:50:54 +02:00
Nico cc23deac00 use SDS0X1 working period command 2018-09-10 11:37:16 +02:00
Theo Arends 4c41ea4461 Houskeeping 2018-09-09 14:31:40 +02:00
Theo Arends 56920ad826 Adjust list box width
Adjust GPIO drop down list box width
2018-09-08 18:33:56 +02:00
Theo Arends 3b029797b6 Add sleep to Nova Fitness SDS01X
Add sleep to Nova Fitness SDS01X sensor (#2841, #3724)
2018-09-08 18:25:06 +02: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
Erik b5d7f75647 Fix setting and getting color temperature for Philips Hue emulation
- Improve setting and getting color temperature for Philips Hue emulation
- Clamp Philips Hue API values
- Turn off white LEDs when setting hue+saturation
2018-09-08 08:49:08 +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 b659444c3a Add basic MP3 player
* Fix KNX PA exception. Regression from 6.2.1 buffer overflow caused by subStr() (#3700, #3710)
 * Add basic support for MP3 player using DFRobot RB-DFR-562 (#3723)
2018-09-07 10:54:24 +02:00
Mike 9bb6c201df
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:31 +02:00
Mike a37f0b3973
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:22 +02:00
Mike a33566f93e
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:15 +02:00
Mike 8dfbaf6566
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:30:31 +02:00
Mike 764af507b9
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:30:24 +02:00
Mike f6f69e3b4d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:29:00 +02:00
Mike 1cf7bc747d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:28:50 +02:00
Mike d6324a9f44
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:27:28 +02:00
Mike 3b22dc7d52
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:26:33 +02:00
Mike efd1b8a1a3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:24:12 +02:00
Mike f3ebfe7c5f
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:24:03 +02:00
Mike 1791f8e034
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:23:00 +02:00
Mike f891a8a2e7
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:22:02 +02:00
Mike 9ce856bb6e
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:19:41 +02:00
Mike a5c85a6882
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:18:06 +02:00
Mike 7722c663a0
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:17:26 +02:00
Mike 14ab4b718d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:16:03 +02:00
Mike 96682723d3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:14:07 +02:00
Mike 7fd8dcd68d
Update en-GB.h 2018-09-07 08:11:53 +02:00
Mike b13c5452a5
Added #define D_SENSOR_MP3_DFR562 "MP3 Player" 2018-09-07 08:10:32 +02:00
Mike 5582c85b3b
define MP3 Player added //#define USE_MP3_PLAYER 2018-09-07 08:05:58 +02:00
Mike a416f0b334
Add files via upload 2018-09-07 07:59:08 +02:00
Mike 7722f5232a
Added DFPlayer Mini MP3 Player (RB-DFR-562) 2018-09-07 07:54:29 +02:00
Adrian Scillato 10bb6b856f
Fix Compilation of Sonoff Classic Version 2018-09-06 15:38:10 -03:00
Theo Arends 33bcfd1530
Merge pull request #3718 from andrethomas/development
Update MCP230xx to conform to new usage of subStr()
2018-09-06 19:33:50 +02:00
andrethomas c827270cc2 Update MCP230xx to conform to new usage of subStr() 2018-09-06 19:26:52 +02:00
Adrian Scillato 96aff63c71
Code Simplification for Substr 2018-09-06 14:26:26 -03:00
Adrian Scillato 420be8f499
Simplified Function Substr 2018-09-06 14:21:52 -03:00
Theo Arends 2fdc91f1b4 Housekeeping 2018-09-06 18:08:10 +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 dd95bb393e Add command SetOption52
Add command SetOption52 to control display of optional time offset from UTC in JSON messages (#3629, #3711)
2018-09-06 12:37:50 +02:00
Theo Arends 3ccf83d1a6
Merge pull request #3711 from rgitzel/append-timezone
optionally append timezone to timestamp in JSON messages
2018-09-06 11:38:54 +02:00
Theo Arends 359877489d 6.2.1.2 - Fix KNX PA exception
6.2.1.2 20180906
 * Fix KNX PA exception. Regression from 6.2.1 buffer overflow (#3700, #3710)
2018-09-06 10:42:22 +02:00
Rodney Gitzel 9413ba9f47 optionally append timezone to timestamp in JSON messages 2018-09-05 14:51:12 -07:00
Adrian Scillato b8e7ee8650
Fixed Exception Issue
Solves Bug #3700
2018-09-05 18:35:02 -03:00
Theo Arends 00814c7fc6 Fix compile error
Fix compile error
2018-09-05 20:51:17 +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
Theo Arends ed1fd55d7f
Merge pull request #3692 from MadDoct/patch-3
Make tx and rx pins user selectable on the H801
2018-09-05 16:02:37 +02:00
Theo Arends 089f48e31b
Merge pull request #3697 from gitolicious/patch-1
Added toggle function for RGBW lights #3695
2018-09-05 15:42:59 +02:00
Theo Arends 36242e0e02 Add network information
Add network information to display start screen (#3704)
2018-09-05 15:38:48 +02:00
Theo Arends eaff296262 v6.2.1.1 - Released v6.2.1
Released v6.2.1 to solve important issues
2018-09-05 11:22:58 +02:00
gitolicious 170013c1e1
Added 4th dimming step
It wasn't a good idea to cycle through three dimming steps only, as the 4th would be triggered by the toggle, but nothing happened (`Color 203` got ignored).
2018-09-04 23:03:19 +02:00
gitolicious bd0323f6f2
Added toggle function for RGBW lights #3695
Proposed fix for #3695
2018-09-04 22:43:27 +02:00
MadDoct e7ae727c65
Update sonoff.ino 2018-09-04 18:53:44 +01:00
Theo Arends 07dafe1631 6.2.0.2 - Energy monitoring
6.2.0.2 20180904
 * Rewrite energy monitoring using energy sensor driver modules
 * Fix lost today and total energy value after power cycle (#3689)
2018-09-04 16:22:34 +02:00
MadDoct a8b673487b
h801 tx and rx user selectable 2018-09-04 09:56:43 +01:00
MadDoct ababc351d7
prepare to allow h801 tx and rx pins to be gpio_user 2018-09-04 09:45:26 +01:00
znanev 41999a0afc
Update bg-BG.h 2018-09-03 13:49:49 +01:00
Adrian Scillato d557fdbe7b
Updated Spanish Translation 2018-09-03 00:28:03 -03: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 2210bda2e6 Replace APMac with BSSId
Replace APMac with BSSId in state and status 11
2018-09-02 15:54:26 +02:00
Theo Arends 4b4b0dff85 Fix compile error
Fix compile error
2018-09-02 14:46:06 +02:00
Theo Arends 0ac8c73938 Fix Wemo emulation
Fix Wemo emulation to select the first relay when more than one relay is present (#3657)
2018-09-02 14:26:00 +02:00
Theo Arends a60876378f Show AP channel on webpage
Show channel number on webpage and wifiscan debug info. Add BSSid to wifiscan debug info
2018-09-02 13:01:08 +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 c6a14c5fe7 Fix possible exception
Fix possible exception due to buffer overflow (#3659)
2018-09-02 11:52:24 +02:00
Theo Arends 48b5f9117a 6.2.0.1 - Fix StateText ambiguity
Fix possible ambiguity on command parameters if StateText contains numbers only (#3656)
2018-09-02 11:11:49 +02:00
Alexey Kubrinsky 6a57882829
Revert "Fix ccs811 begin result check" 2018-09-02 00:47:35 +02:00
alex e5186e602e Fix ccs811 begin result check 2018-09-01 19:57:10 +02:00
Theo Arends 2e8864effd 6.2.0 - Released 2018-08-31 16:53:40 +02:00
Theo Arends 5e927000d8 Prep for release
Prep for release
2018-08-31 14:47:49 +02:00
Theo Arends fb6640e94b Update display drivers
Add features to and provide more stable display drivers
2018-08-31 12:17:09 +02:00
Jason2866 bd4048143e
Update xsns_27_apds9960.ino
New Version from Staars https://github.com/Staars/Sonoff-Tasmota/tree/development/sonoff
2018-08-30 18:12:21 +02:00
Theo Arends 2212af4860 Clear GPIO on multi boot loop
Clear GPIO on multi boot loop
2018-08-30 14:47:48 +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
Adrian Scillato ee8a698ca5
Added command TIMERS 2 to toggle global timers enable flag
#3308
2018-08-29 14:21:13 -03:00
Theo Arends ebb7f929a0 Fix HsbColor
Fix HsbColor (#3430) and enable multiple DS18X20 sensors as default
2018-08-29 16:05:27 +02:00
Theo Arends 19a8113cf4 Revert "Merge branch 'release-6.2' into development"
This reverts commit 433dc8d9d1, reversing
changes made to 6c61cdead7.
2018-08-28 18:13:14 +02:00
Theo Arends 433dc8d9d1
Merge branch 'release-6.2' into development 2018-08-28 17:45:28 +02:00
Theo Arends 6c61cdead7 Prep for release
Prep for release
2018-08-28 17:34:51 +02:00
Theo Arends 06604b7f09 Version update
Version update
2018-08-28 16:33:05 +02:00
Theo Arends 624ee28db3 Revisit naming and features
Revisit naming and features in preparation to release
2018-08-28 14:28:36 +02:00
Theo Arends 93e855ace7 Fix compile error
Fix compile error (#3618)
2018-08-28 12:39:51 +02:00
Theo Arends 55b43734d8 6.1.1.13 - Fixes
6.1.1.13 20180828
 * Fix 6.1.1.12 regression of Mem and Var default handling (#3618)
 * Optimizations
2018-08-28 11:10:32 +02:00
Theo Arends f8666c0410 Some requested additions
* Add optional MQTT_TELE_RETAIN to Energy Margins message (#3612, 3614)
 * Add Individual HSBColorX commands (#3430, #3615)
 * Add RuleX debug options 8,9,10 (StopOnError) to control RuleX execution status after an exception restart (#3607)
2018-08-28 10:26:33 +02:00
Theo Arends e4006757b1
Merge pull request #3615 from ascillato/patch-2
Added Individual HSBCOLOR Commands for HomeKit
2018-08-28 10:04:32 +02:00
Adrian Scillato aa79874013
Added Individual HSBCOLOR Commands for HomeKit
Added individual HSBCOLOR commands for better integration to HomeKit and OpenHab.

Usage:

HSBCOLOR1 <x> to set Hue
HSBCOLOR2 <x> to set Saturation
HSBCOLOR3 <x> to set Brightness

Still is supported previous command HSBCOLOR <hue>,<sat>,<bri>
2018-08-27 22:46:04 -03:00