Commit Graph

4315 Commits

Author SHA1 Message Date
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
Theo Arends 0e240bbeb1
Merge pull request #6526 from andrethomas/mcp230xx
MCP230xx: Prevent inadvertent pinmode change
2019-09-30 22:09:49 +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
Theo Arends b850ac1231
Merge pull request #6524 from andrethomas/mcp230xx
Mcp230xx - Add 1 and 0 as option for ON and OFF
2019-09-30 17:53:45 +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
Theo Arends 229bc924df
Merge pull request #6522 from gemu2015/scripter-update
Scripter update
2019-09-30 11:01:25 +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
Theo Arends dffe2cdfd4
Merge pull request #6511 from s-hadinger/zigbee_dump
Add Zigbee more support - collect endpoints and clusters, added ZigbeeDump command
2019-09-29 17:11:37 +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
Theo Arends 130117cd44
Merge pull request #6494 from s-hadinger/minor_fixes
Minor fixes to Hue Emulation and Light
2019-09-25 22:43:15 +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 2d1bc97843 Update RELEASENOTES.md 2019-09-25 15:44:41 +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