Commit Graph

3189 Commits

Author SHA1 Message Date
Jason2866 c9f4a0f8db
Update my_user_config.h 2019-10-15 11:29:26 +02:00
Jason2866 e08a344ffa
Make RF Bridge optional 2019-10-15 11:25:00 +02:00
Stephan Hadinger d593d1d87b Fix crash when uneven string size 2019-10-15 08:27:32 +02:00
Theo Arends f5b932a6d5 Make Sonoff Sc optional by define
Make Sonoff Sc optional by define (#6640)
2019-10-14 18:15:43 +02:00
Theo Arends d57153630f Change iFan03 beep protocol
Change iFan03 beep protocol (#6636)
2019-10-14 17:08:38 +02:00
Theo Arends c296c9a337 Deep sleep housekeeping 2019-10-14 17:01:24 +02:00
Theo Arends 44be3366aa Clean up 2019-10-14 16:47:47 +02:00
Theo Arends f7a71c0728 Oops 2019-10-14 16:20:36 +02:00
Theo Arends 5527f424a0 Add deep sleep support
Add define USE_DEEPSLEEP and command DeepSleepTime 0 or 10..86400 (seconds) to enter deepsleep mode (#6638)
2019-10-14 16:12:59 +02:00
Theo Arends ccf13080e2
Merge pull request #6637 from gemu2015/sendmail-update
sendmail with bearsssl-light
2019-10-14 14:01:07 +02:00
Theo Arends 548072daa6 Fix compile errors relatd to LWIP_IPV6
Fix compile errors relatd to LWIP_IPV6
2019-10-14 12:34:01 +02:00
gemu2015 32dc4b8f5f sendmail with bearsssl-light 2019-10-14 10:14:17 +02:00
Stephan Hadinger 5f08aef5f7 Fix Rules were not triggered with IR unknown protocol or in sonoff-it (#6629) 2019-10-13 22:16:13 +02:00
Theo Arends a8582a4d0a
Merge pull request #6634 from altelch/development
Allow IPv6 only setup. Still dualstack but works without configured …
2019-10-13 19:40:55 +02:00
stefanbode 9859ee6083
Fix some errors...
1. reset loop i=1 if address switches to range PCF8574_ADDR2 (PCF8574A were NOT detected)
2. correct logoutput to show correct number of boards found 
3. String array to short for PCF8574A. Overwrite the pfc8574.type with false. Hard to find bug.....
Tested with at least 2 PCF8574 boards.
2019-10-13 17:54:06 +02:00
altelch 7f2efb56af Allow IPv6 only setup. Still dualstack but works without configured IPv4 address. WiFi.Status() returns WL_DISCONNECTED even when IPv6 global address is set. Minimal rework of setup code. 2019-10-13 14:15:32 +02:00
Stephan Hadinger 0092bf766c Add Zigbee additional commands and sending messages to control devices (#6095) 2019-10-13 12:56:52 +02:00
stefanbode 9602546f01
Fix overflow 2019-10-13 09:36:53 +02:00
Theo Arends 7b316f48f1 Change max rule compare string size from 23 to 79
Change max rule compare string size from 23 to 79 (#6624)
2019-10-12 16:42:11 +02:00
Heiko Krupp a103972a21
Fix typo.
Typo I stumbled over...
2019-10-12 13:27:09 +02:00
Theo Arends 76758d3470 Add command Buzzer 0 to stop active buzzer cycle
Add command Buzzer 0 to stop active buzzer cycle (#6615)
2019-10-12 11:06:09 +02:00
Theo Arends 2b63c64f74 Houskeeping 2019-10-11 14:39:58 +02:00
Theo Arends 8803b55e5a
Merge pull request #6618 from altelch/development
Initial IPv6 support for SLAAC (automatic address configuration).
2019-10-11 13:41:01 +02:00
hkrupp b48c1a1c82 Remove logging message translation and core 2.5.2 as future target is core 2.6 2019-10-11 12:50:45 +02:00
Theo Arends 86ffa2d5fe Fix JSON and functionality
Fix JSON and functionality
2019-10-11 11:23:53 +02:00
hkrupp 3596e4c77f Initial IPv6 support (SLAAC). Builds against 2.5.2 and 2.6.0 staging. iram1_0_seg problems with larger configurations. 2019-10-11 07:40:55 +02:00
Theo Arends 3cd6abe0bf
Merge pull request #6606 from shantur/tuya-2-byte-dimmer
Add DimmerRange command and support longer dimmer ranges. Fixes #6605
2019-10-10 22:57:58 +02:00
Theo Arends acbae2edd9
Merge pull request #6612 from s-hadinger/fix_rgb
Fix Avoid full power on 5 channels after a Reset
2019-10-10 22:54:25 +02:00
Stephan Hadinger 111f533a5c Fix Avoid full power on 5 channels after a Reset 2019-10-10 21:44:31 +02:00
Federico Leoni 74081073ba
Update xdrv_12_home_assistant.ino 2019-10-10 15:00:26 -03:00
Shantur Rathore 01f6df9161 Add DimmerRange command and support longer dimmer ranges. Fixes #6605
More and more serial dimmers are coming up with different dimming ranges, implemented DimmerRange command to make this setting generic and bring support for 2 byte dimming ranges which isn't supported by SetOptions.
2019-10-10 15:53:01 +01:00
gemu2015 739f67f1e8 scripter update 2019-10-10 13:39:52 +02:00
Theo Arends 9add6f8d7d Add command Gpio 255
Add command Gpio 255 to show physical GPIO configuration of all non-flash pins (#6407)
2019-10-10 12:26:00 +02:00
Theo Arends 4b36a8dd73 Fix TuyaMcu dimmer count
Fix TuyaMcu dimmer count (#6599)
2019-10-10 11:03:57 +02:00
Theo Arends 0f72a93170 Add command SetOption34 0..255 to set backlog delay
Add command SetOption34 0..255 to set backlog delay. Default value is 200 (mSeconds) (#6562)
2019-10-09 17:52:52 +02:00
Theo Arends 18149f5c17 Bump version to 6.6.0.17 2019-10-09 17:38:43 +02:00
Theo Arends cfe301474a
Merge pull request #6562 from ljakob/development
process Backlog commands without minimum delay
2019-10-09 17:17:19 +02:00
Theo Arends 10babaf061
Update sonoff.h 2019-10-09 17:16:52 +02:00
Theo Arends 11048137ef Fix TuyaMcu, Armtronix and Ps16dz
Fix TuyaMcu, Armtronix and Ps16dz after Light redesign (#6599)
2019-10-09 16:55:15 +02:00
stefanbode 20729e27e2
Update xdrv_27_shutter.ino
Added Calibration matrix
2019-10-09 06:36:11 +02:00
Theo Arends fd2f204e81 Finish light driver redesign
Finish light driver redesign
2019-10-08 18:05:02 +02:00
Theo Arends 8d17301433 Redesign light driver phase 3
Redesign light driver phase 3
2019-10-08 17:46:03 +02:00
Theo Arends 6d31608fe0 Fix PZEM default address and detection
* Change PZEM004T default address mask from 0.0.0.x to 192.168.1.x for legacy reason (#6585)
 * Fix PZEM004T, PZEMAC and PZEMDC autodetection (#6585)
2019-10-08 13:18:10 +02:00
Theo Arends afd3c64844 Bump version to 6.6.0.16 2019-10-08 13:14:25 +02:00
localhost61 426764ea8a Update French translation to v6.6.0.15 2019-10-08 12:01:20 +02:00
Stephan Hadinger f6416aa2da Fix #6534 Power off not working 2019-10-07 20:30:00 +02:00
Theo Arends 48ec64cddb Fix My92x1 driver
Fix My92x1 driver
2019-10-07 11:56:20 +02:00
Theo Arends b8100a056e Fix support for Lohas with multiple CW leds
Fix support for Lohas with multiple CW leds (#6570)
2019-10-07 11:51:08 +02:00
Theo Arends a8d9da243f Fix default MqttLog and Shutter Accuracy
Fix default MqttLog and Shutter Accuracy
2019-10-07 10:34:40 +02:00
Adrian Scillato 284a4c1579
Updated Spanish Translation 2019-10-06 22:48:35 -03:00
Stephan Hadinger 58da51be1c Fix better handling of PWM White Temperature mode for Module 48 (#6534) 2019-10-06 20:34:35 +02:00
Theo Arends 4ff340d368 Redesign light driver phase 2
Redesign light driver phase 2 (#6570)
2019-10-06 18:05:17 +02:00
Theo Arends 019dc76740 Redesign light driver phase 1
Redesign light driver phase 1
2019-10-06 17:19:05 +02:00
Theo Arends 2bfa172324 Add I2C debug tools
Add I2C debug tools
2019-10-06 16:39:11 +02:00
Stephan Hadinger cccd777967 Add Zigbee tracking of connected devices and auto-probing of Manuf/Model Ids 2019-10-06 12:40:58 +02:00
Theo Arends dea8f03459 Add command SetOption72
Add command SetOption72 0/1 to switch between software (0) or hardware (1) energy total counter (#6561)
2019-10-06 11:43:01 +02:00
Theo Arends ec9fa4f430
Merge pull request #6564 from pablozg/fixenergyreset
Fix energyReset command issue #6561
2019-10-06 11:32:40 +02:00
Theo Arends 853e090474 Fix Energy CurrentLow/High JSON message
Fix Energy CurrentLow/High JSON message (#6573)
2019-10-06 11:28:57 +02:00
pablozg 0674971f2e Fix energyReset command issue #6561 2019-10-04 19:19:48 +02:00
Theo Arends 6997626077 Add documentation to SM2135 driver
Add documentation to SM2135 driver
2019-10-04 17:15:41 +02:00
Theo Arends 2d194f427f Add support for SM2135
Add support for SM2135 as used in Action LSC Smart Led E14 (#6495)
2019-10-04 16:45:05 +02:00
Leif Jakob 5d60a43939 process Backlog commands without minimum delay 2019-10-04 12:46:31 +00:00
Theo Arends 22dbe597a2 Add MqttLog to my_user_config.h and status 3
Add MqttLog to my_user_config.h and status 3 (#6498)
2019-10-04 10:24:21 +02:00
Federico Leoni b4583c1884
Update pt-BR.h 2019-10-03 19:18:29 -03:00
Federico Leoni e9e7dac241
Update it-IT.h 2019-10-03 19:16:48 -03:00
Jason2866 809d11dabd
Mqtt translate 2019-10-03 15:26:11 +02:00
Theo Arends fef7faa5be Add MQTTLog option to GUI
Add MQTTLog option to GUI
2019-10-03 14:45:24 +02:00
Theo Arends a0c7db7f7c Add Mqtt log level text
Add Mqtt log level text
2019-10-03 14:27:01 +02:00
Theo Arends 0580ceb0b6 Add support for Chint DDSU666 Modbus energy meter
Add support for Chint DDSU666 Modbus energy meter by Pablo Zerón
2019-10-03 14:18:04 +02:00
Theo Arends aeaea9f0b8
Merge pull request #6555 from pablozg/ddsu666
add support to chint ddsu666
2019-10-03 14:02:11 +02:00
Theo Arends aebe37c890 Fix PulseTime command responses
Fix PulseTime command responses
2019-10-03 13:11:43 +02:00
pablozg 9e71109549 add support to chint ddsu666 2019-10-03 10:06:51 +02:00
Theo Arends cbb3f9e0af Change command PulseTime JSON message
Change command PulseTime JSON message format and allow display of all pulsetimer information (#6519)
2019-10-03 10:02:57 +02:00
Theo Arends 913a809242 Bump version 6.6.0.15
Bump version 6.6.0.15
2019-10-03 09:58:23 +02:00
Federico Leoni 11d4cd9058
Update my_user_config.h 2019-10-02 16:58:52 -03:00
Federico Leoni 4eef80e4d9
Update xdrv_12_home_assistant.ino 2019-10-02 13:16:14 -03:00
Theo Arends bc55237154 Fix domoticz core 2.3.0 compilation error
Fix domoticz core 2.3.0 compilation error
2019-10-02 17:39:27 +02:00
Theo Arends 7735f95058
Merge branch 'development' into serial_iarm_send 2019-10-02 17:33:51 +02:00
Theo Arends 8c34b9edbd Change command handling
* Change command SetOption43 to make it more general. Now supports PS_16_DZ driver too (#6547)
 * Change command handling by moving buffers up in chain solving MQTTlog support (#6524)
 * Change detection of non-MQTT commands by allowing non-space characters as delimiter (#6540)
2019-10-02 16:45:53 +02:00
Theo Arends 97de80bba1
Merge pull request #6547 from shantur/ps_16_dz-dimmer-max
Ps 16 dz dimmer max
2019-10-02 16:13:40 +02:00
gemu2015 da2b2efae0 update scripter hue without devices 2019-10-02 13:38:05 +02:00
Theo Arends bac30bbe1b Try to catch domoticz test
Try to catch domoticz test (#6529)
2019-10-02 12:51:37 +02:00
Shantur Rathore 39b201898d PS_16_DZ: Implement SetOption43 (Dimmer Max) for PS_16_DZ dimmers. Fixes #6544 2019-10-02 11:28:44 +01:00
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