Commit Graph

3038 Commits

Author SHA1 Message Date
Shantur Rathore f946ebaf7b Dimmer: Change SetOption43 (Dimmer Max) generic instead of Tuya only 2019-10-02 11:11:50 +01:00
Theo Arends 37fc7d2259 Add command SetOption71 for DDS238-2
Add command SetOption71 0/1 to switch between different Modbus Active Energy registers on DDS238-2 energy meters (#6531)
2019-10-02 11:24:51 +02:00
Jason2866 6379677218
Shutter and PC8574 2019-10-02 10:39:14 +02:00
Stephan Hadinger 838e571d10 Fix TasmotaSerial: move serial send to IRAM for high speed baud rates 2019-10-01 22:58:08 +02:00
Adrian Scillato c7308e2dff
Updated Spanish Translation 2019-10-01 17:05:58 -03:00
Theo Arends d9aeb95503 Update xdrv_27_shutter.ino 2019-10-01 17:20:43 +02:00
Theo Arends ea7718c810 Fix ShutterClose Index display
Fix ShutterClose Index display (#6535)
2019-10-01 17:19:37 +02:00
Theo Arends be4867e7f6 Fix compilation error
Fix compilation error
2019-10-01 16:45:53 +02:00
Theo Arends aa5b5e891e Add initial support for PCF8574 I2C I/O Expander
Add initial support for PCF8574 I2C I/O Expander (currently output only) by Stefan Bode
2019-10-01 16:33:39 +02:00
Theo Arends 92c2196e73 Fix possible I2C init errors
Fix possible I2C init errors
2019-10-01 16:21:39 +02:00
Theo Arends c311632b7a
Merge pull request #6533 from andrethomas/mcp230xx
Mcp230xx
2019-10-01 14:36:22 +02:00
Theo Arends f847763ad1 Update xdrv_01_webserver.ino 2019-10-01 10:49:42 +02:00
Andre Thomas 26fc172df4
Update _changelog.ino 2019-10-01 08:54:44 +02:00
Andre Thomas 9884cfaf16
MCP230xx Add sensor29 pin,2 for toggle 2019-10-01 08:49:40 +02:00
Andre Thomas dea255db26
MCP230xx: Prevent inadvertent pinmode change
We've added support for sensor29 pin,0/1 for OFF/ON but the current code would allow the pinmode to be changed without specifying a default state e.g. sensor29 pin,3 would cause the pinmode to be changed to input even if it was previously configured for output (pinmode 5/6)

This change prevents these instances by enforcing the configuration rules as outlined in the wiki e.g.

sensor29 pin,pinmode,pullup/default state (if used for output)
2019-09-30 21:31:23 +02:00
Theo Arends d7d0316769 Fix open/close to limits
Fix open/close to limits (#6516)
2019-09-30 19:27:54 +02:00
Andre Thomas b38a8bd8eb
MCP230xx - Add sensor29 pin,1 and sensor29 pin,0
MCP230xx - Add sensor29 pin,1 and sensor29 pin,0 as an alternative to sensor29 pin,ON and sensor29 pin,OFF respectively.
2019-09-30 17:26:07 +02:00
Andre Thomas bed26fd121
MCP230xx - Add 1 and 0 as option for ON and OFF
MCP230xx - Add 1 and 0 as option for ON and OFF
2019-09-30 17:19:15 +02:00
Theo Arends 9cc4bc67ba Refactor shutter code
Refactor shutter code
2019-09-30 11:34:33 +02:00
Theo Arends 7689534cf5 Refactor shutter support
Refactor shutter support (#6516)
2019-09-30 11:21:43 +02:00
Theo Arends f2ed754f11
Merge pull request #6515 from Staars/chirp
support for i2c-moisture-sensor AND Chirp!-sensor
2019-09-30 11:02:47 +02:00
Theo Arends 2fe54c9b38
Merge pull request #6523 from gemu2015/sml-update
sml fix obis dump mode
2019-09-30 11:01:47 +02:00
gemu2015 62cda21cec sml fix obis dump mode 2019-09-30 10:53:16 +02:00
gemu2015 8f2ba87ced Update xdrv_10_scripter.ino 2019-09-30 10:41:04 +02:00
gemu2015 768c264d04 Update xdrv_20_hue.ino 2019-09-30 10:31:13 +02:00
gemu2015 6eb3c74689 scripter update 2019-09-30 10:25:02 +02:00
Staars e6824ff903 remove #define USE_CHIRP 2019-09-29 18:38:14 +02:00
Staars 6da17ccb6b last fixes for the Chirp-sensor 2019-09-29 18:35:02 +02:00
Theo Arends e90f67bbbb Add driver JSON if available
Add driver JSON if available
2019-09-29 18:11:36 +02:00
Theo Arends e40475b563 Add initial support for shutters
Add initial support for shutters by Stefan Bode (#288)
2019-09-29 18:00:01 +02:00
Theo Arends 728d162be8
Merge pull request #6512 from s-hadinger/fix_6508
Fix 6508
2019-09-29 17:11:51 +02:00
Stephan Hadinger 9ce32790db Fix 6508 2019-09-29 16:06:18 +02:00
Stephan Hadinger d86cd34905 Add Zigbee more support - collect endpoints and clusters, added ZigbeeDump command 2019-09-29 15:38:26 +02:00
Staars ab70dd2755 various fixes for the Chirp-sensor 2019-09-29 13:27:50 +02:00
Theo Arends 4c21e46512 Fix compilation error
Fix compilation error (#6509)
2019-09-29 12:37:33 +02:00
Theo Arends ea72671018 Fix Energy Off-Peak detection calculation
Fix Energy Off-Peak detection calculation (#6500)
2019-09-29 12:18:09 +02:00
Theo Arends 702df2b29f Prep for I2C Active control
Prep for I2C Active control
2019-09-29 11:52:22 +02:00
Theo Arends 55ab9639e6
Merge pull request #6504 from laurentdong/ExpressionBracket
Missed one character previous of closure bracket
2019-09-28 10:18:02 +02:00
Theo Arends 0f0febef11
Merge pull request #6503 from laurentdong/AcceptNegativeNumber
Accept negative number
2019-09-28 10:17:37 +02:00
Theo Arends 42fe7e275b
Merge pull request #6502 from laurentdong/ExpressionBugFix
Expression evaluation got exception
2019-09-28 10:16:43 +02:00
Laurent 9327329b0f Missed one character previous of closure bracket
For example:
Var1 = (1+2)
will be treat as:
Var1 = 1+
2019-09-27 22:15:42 -04:00
Laurent dbd234ef81 Accept negative number
Expression should support negative number
2019-09-27 21:58:32 -04:00
Laurent 834e9c7b21 Expression evaluation got exception
Should use pgm_read_byte to access PROGMEM data
2019-09-27 21:52:33 -04:00
Staars e6eaa42bfe Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into chirp 2019-09-27 18:41:22 +02:00
Theo Arends b7aa3cd884 Add initial support for MQTT logging
Add initial support for MQTT logging using command MqttLog <loglevel> (#6498)
2019-09-27 18:13:00 +02:00
Theo Arends 82b7225332 Fix divide
Fix divide
2019-09-26 16:16:38 +02:00
Theo Arends 81b081f620 Add max current checks to SM2135
Add max current checks to SM2135 (#6495)
2019-09-26 16:06:05 +02:00
Theo Arends febb93788c Experimental support for SM2135
Experimental support for SM2135 (#6495)
2019-09-26 12:30:21 +02:00
Stephan Hadinger 9c885079f0 Allow Hue emulation friendly names to go beyond 13 2019-09-25 18:14:58 +02:00
Stephan Hadinger 902dc6b69c Fix rounding issue when reading Channel value 2019-09-25 17:56:03 +02:00
Theo Arends fa826d33d9 Refactor ds18x20.ino 2019-09-25 16:28:54 +02:00
Theo Arends f03ec437fe Delete xsns_05_ds18x20_legacy.ino 2019-09-25 15:07:23 +02:00
Theo Arends 3eb219ccaa Remove support for define USE_DS18x20_LEGACY
Remove support for define USE_DS18x20_LEGACY and legacy DS18x20 driver (#6486)
2019-09-25 14:35:37 +02:00
Theo Arends 5bd19d54db Change command Tariffx to allow time entries like 23 (hours), 1320 (minutes) or 23:00
Change command Tariffx to allow time entries like 23 (hours), 1320 (minutes) or 23:00. NOTE: As this is development branch previous tariffs are lost! (#6488)
2019-09-25 14:24:49 +02:00
Theo Arends 6ad2d3b86f Bump version 6.6.0.14
Bump version 6.6.0.14
2019-09-25 14:17:20 +02:00
gemu2015 c369289cb5 Update xdrv_10_scripter.ino 2019-09-24 15:30:26 +02:00
gemu2015 854b60ac7a Update support_command.ino 2019-09-24 08:51:09 +02:00
gemu2015 31a269a82f Update xdrv_01_webserver.ino 2019-09-24 08:43:13 +02:00
gemu2015 56c3de022b Update xdrv_01_webserver.ino 2019-09-24 08:32:55 +02:00
gemu2015 5e5fc79ca1 Delete sonoff.ino.cpp 2019-09-24 08:27:43 +02:00
gemu2015 4c79e0c627 scripter command support, up to 4 buttons in a row, bug fixes 2019-09-24 08:25:32 +02:00
Theo Arends 9add50b679
Merge pull request #6478 from s-hadinger/hue_32_relays
Support up to 32 devices for Hue emulation
2019-09-23 23:57:48 +02:00
Stephan Hadinger 93c031eb01 Support up to 32 devices for Hue emulation 2019-09-23 22:57:20 +02:00
Theo Arends 397070900a Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-09-23 17:30:42 +02:00
Theo Arends 58c1851f93 Disable GroupTopic change of SwitchTopic
Disable GroupTopic change of SwitchTopic (#6467)
2019-09-23 17:30:37 +02:00
Theo Arends d364bb29bc
Merge pull request #6472 from s-hadinger/zigbee_fix_20190922
Fix Zigbee bug in reconfiguration and removed timecode from ZigbeeZNPReceived
2019-09-22 18:35:07 +02:00
Stephan Hadinger 784f2e068e Fix Zigbee bug in reconfiguration and removed timecode from ZigbeeZNPReceived 2019-09-22 18:32:17 +02:00
Theo Arends 075485e124 Fix energy usage/export resolution
Fix energy usage/export resolution (#6444)
2019-09-22 18:30:55 +02:00
Theo Arends ae3ebf1c94 Tiny refactor
Tiny refactor
2019-09-22 16:33:14 +02:00
Theo Arends 181ac5539b Add JSON array index support to rules
Add JSON array index support to rules evaluation allowing trigger on ENERGY#POWER[2]>0.60 from JSON ..,"Power":[0.00,0.68],.. (#6160)
2019-09-22 16:14:34 +02:00
Theo Arends 917021ca1e Refactor HX711 sensor driver
Refactor HX711 sensor driver
2019-09-22 14:13:06 +02:00
Theo Arends 15024fa348 Add Tariff export values to JSON message
Add Tariff export values to JSON message (#6429)
2019-09-22 14:00:34 +02:00
Theo Arends 957272dca4 Bump version to 6.6.0.13
* Add command EnergyReset4 x,x to initialize total usage for two tarrifs
 * Add command EnergyReset5 x,x to initialize total export (or production) for two tarrifs
 * Add command Sensor34 8,0 and Sensor34 8,1 to disable/enable JSON message on weight change over 4 gram
2019-09-22 12:53:15 +02:00
Theo Arends 763601ccb4 Fix JSON total usage resolution display
Fix JSON total usage resolution display (#6429)
2019-09-22 11:54:02 +02:00
Theo Arends 37d9cb4c92 Fix PZEM missing phase zeroing all readings
Fix PZEM missing phase zeroing all readings (#2315)
2019-09-21 17:10:52 +02:00
pablozg 2798561bda NRG: Show usage/export stored values when EnergyReset command is sent 2019-09-21 11:31:41 +02:00
pablozg 4f17c93a83 Fix max value in EnergyReset command 2019-09-20 22:46:34 +02:00
pablozg d7d91583fd Energy: Fix no usage/return updated and no usage/return value stored after reboot 2019-09-20 22:35:56 +02:00
pablozg 60f55b8ea4 Energy: EnergyReset now can set the usage1, usage2, return1 and return2 totals used in Domoticz P1 smart meter sensor 2019-09-20 16:05:48 +02:00
pablozg acf85db0da Check if RTC time is valid before energy sum 2019-09-20 14:37:55 +02:00
pablozg 254f3f3f6c Change Domoticz P1 smart meter sensor total usage logic, issue #6444 2019-09-20 12:59:34 +02:00
Stephan Hadinger 62f7f8c557 Minor update to Zigbee 2019-09-19 19:25:08 +02:00
Theo Arends acd713c867
Merge pull request #6455 from Jason2866/patch-1
Disable mDNS for sonoff-sensors freeing IRAM
2019-09-19 09:59:40 +02:00
Jason2866 619ba5e172
Disable mDNS for freeing IRAM
Compile fails (IRAM), mDNS is not a sensor and disabled by default.
2019-09-18 23:52:51 +02:00
Andre Thomas de198ba861
Bracketing is an art... I was once told :) 2019-09-18 22:49:19 +02:00
Staars a066acd7f2 remove a double quote from TELE-message 2019-09-18 21:06:14 +02:00
Staars eb8539dd91 name it DARKNESS, handle non-reading of temperature, small bugfixes 2019-09-18 20:57:35 +02:00
Theo Arends e4ab7ebfe2
Merge pull request #6452 from gemu2015/scripter-bugs
scripter bugs
2019-09-18 19:35:33 +02:00
gemu2015 8e4b91837b fix sgp30 2019-09-18 18:54:28 +02:00
gemu2015 e8b905f491 scripter bugs 2019-09-18 18:50:25 +02:00
pablozg 40657bd256 Autoupdate Energy.total with the value reported by hardware (sdm120, etc) 2019-09-18 11:42:28 +02:00
Staars a02c733073 enable slow reads for original CHIRP-sensor 2019-09-17 22:03:30 +02:00
Theo Arends 8483a7113e
Merge pull request #6433 from gemu2015/sml-update
sml, median filter, mutiple modbus, pzem
2019-09-16 20:48:02 +02:00
gemu2015 37f6fc6bac sml, median filter, mutiple modbus, pzem 2019-09-16 19:58:22 +02:00
gemu2015 7fa3185024 scripter web user io 2019-09-16 19:52:53 +02:00
Theo Arends 7d768905cd Change modbus log buffer size
Change modbus log buffer size
2019-09-16 17:11:38 +02:00
Theo Arends d107933e80 Revert "Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development"
This reverts commit d82afa1190, reversing
changes made to 7b70c042bd.
2019-09-16 16:59:05 +02:00
Theo Arends d82afa1190 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-09-16 16:56:45 +02:00
Theo Arends 7b70c042bd Add command ModuleAddress 1/2/3
Add command ModuleAddress 1/2/3 to set Pzem module address when a single module is connected (#2315)
2019-09-16 16:56:16 +02:00
Theo Arends a50c62ebc6
Merge pull request #6424 from effelle/development
Need feedback: new sensors for Home Assistant discovery
2019-09-16 16:50:53 +02:00