Commit Graph

1286 Commits

Author SHA1 Message Date
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