Commit Graph

2739 Commits

Author SHA1 Message Date
Theo Arends a23f01080b 6.4.1.8 Add template flags
6.4.1.8 20190107
 * Change sonoff_template.h layout regarding optional module flags like ADC0
 * Add command SetOption62 1 to force no Button/Switch pullup on dedicated modules. Currently only supported on Shelly2 (#4841)
2019-01-07 16:33:18 +01:00
Theo Arends 95f39be2ef Change button driver making it modular
Change button driver making it modular
2019-01-07 12:38:47 +01:00
Theo Arends 3d31dd1457 Disable Button/Switch 4 seconds
Disable both Buttons and Switches 4 seconds after power on to workaround Wemos and Obi startup issues.
2019-01-07 10:15:00 +01:00
Theo Arends 112e3ec457
Merge pull request #4845 from engrbm87/patch-1
fix empty prefix issue
2019-01-06 20:30:19 +01:00
engrbm87 122ae1ee27
fix empty prefix issue
When switchtopic is set to a different topic the prefix will be empty so its length will be zero. In the Shorten function the strncmp will give a zero result because the prefixlen is zero and will add '~' even though there is no prefix.
Adding prefixlen != 0 in the if condition fixes the issue. Also skip adding the prefix "~" on line 292 by checking if the prefix length is greater than zero.
2019-01-06 20:26:42 +02:00
Theo Arends d3020223d7 Update _changelog.ino 2019-01-06 18:57:51 +01:00
Theo Arends e1d903eab3 Add no pull-up control to Shelly 2
Add no pull-up control to Shelly 2 module (default is pull-up, change GPIO2 to Switch3n for no pull-up) (#4841)
2019-01-06 18:50:56 +01:00
Theo Arends 0195cabbd6 Add relay status functionality to LED2
Add relay status functionality to LED2 when configured leaving LED1 for (wifi/mqtt) status indication
2019-01-06 18:02:21 +01:00
Theo Arends 55f700cd2f
Merge pull request #4842 from andrethomas/patch-1
PN532: Fix hex formatting to 2 char len per byte
2019-01-06 15:51:55 +01:00
Andre Thomas 64ba6fcf8d
PN532: Fix hex formatting to 2 char len per byte
PN532: Fix hex formatting to 2 char len per byte
2019-01-06 16:32:50 +02:00
Theo Arends e9c687cf09 Housekeeping - Documentation 2019-01-06 15:17:22 +01:00
Theo Arends cb8963a7bf 6.4.1.7 Fix regression energy sensors
6.4.1.7 20190106
 * Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6
2019-01-06 12:29:38 +01:00
Theo Arends de996cb281
Merge pull request #4832 from andrethomas/patch-1
PN532: Enable 1ms ClockStretch
2019-01-05 21:47:40 +01:00
Andre Thomas 8d1dee8929
PN532: Enable 1ms ClockStretch
Enable 1ms clock stretch as per datasheet Table 12.25 (Timing for the I2C interface)
2019-01-05 22:05:53 +02:00
Theo Arends 9da900dfb8 Stabilize current SHP6 2019-01-05 18:40:33 +01:00
Theo Arends 41351001f5 6.4.1.6 Re-introduce Cal commands
6.4.1.6 20190105
 * Add commands PowerCal, VoltageCal and CurrentCal for HLW8012, HJL01 and BL0937 based energy sensors
2019-01-05 15:39:56 +01:00
Theo Arends f8ab1a8207
Merge pull request #4821 from ascillato/patch-1
Add GPIO2 to Sonoff RF R2 template
2019-01-04 21:36:26 +01:00
Adrian Scillato 34966913e2
Add GPIO2 to Sonoff RF R2 template
https://github.com/arendst/Sonoff-Tasmota/issues/4820
2019-01-04 17:10:17 -03:00
Theo Arends 7cf9128303
Merge pull request #4819 from ascillato/patch-1
New Triggers for Rules: VARx#STATE and MEMx#STATE
2019-01-04 20:58:11 +01:00
Theo Arends 68e48d04cb
Merge pull request #4818 from andrethomas/development
PN532 - Timing tuning
2019-01-04 20:55:26 +01:00
Adrian Scillato 1d23c0b0c5
New Triggers for Rules: VARx#STATE and MEMx#STATE
Added new triggers for rules: `VARx#STATE` and `MEMx#STATE`

These new triggers allows to execute commands when VARs or MEMs change their values.

This is useful for automations where the parameter sent to Tasmota by MQTT is a SetPoint for example.

Before these triggers, the approach was using an `EVENT` to store a value but some components in home automation softwares can't use `cmnd/sonofftopic/EVENT SETVAR=25`, where `cmnd/sonofftopic/EVENT` is the mqtt message and `SETVAR=25` is the payload.

With this new triggers, it will be as simple as `cmnd/sonofftopic/VAR 25` so any automation software can use it.

_(Using `cmnd/sonofftopic/EVENT SETVAR=` as mqtt message and `25` as payload is not understood by Tasmota)_
2019-01-04 16:26:37 -03:00
andrethomas c63ccd7cbd PN532 - Timing tuning 2019-01-04 21:20:38 +02:00
Theo Arends 458b030598 Add Eeprom support
Add initial Eeprom support
2019-01-04 16:05:52 +01:00
Theo Arends 40c1d3f4b0
Merge pull request #4815 from andrethomas/development
PN532 - Disable before restart
2019-01-04 13:50:33 +01:00
andrethomas 44e80c2626 PN532 - Disable before restart 2019-01-04 14:15:10 +02:00
Theo Arends 6babb6a77f
Merge pull request #4811 from curzon01/development
decode-config.py: adapt settings, fix warning
2019-01-04 11:26:49 +01:00
Theo Arends 1f49c7db37
Update decode-config.py 2019-01-04 11:26:29 +01:00
Norbert Richter 2bf4b7c60e decode-config.py: adapt settings, fix warning
- add SetOption55 (mdns_enabled)
- fix string warning
- change file handling
2019-01-04 10:24:46 +01:00
Theo Arends f66de3111e Housekeeping 2019-01-03 18:07:03 +01:00
Theo Arends 67cf1dbbcf 6.4.1.5 Add mDns user control
6.4.1.5 20190103
 * Remove command SetOption35 0-255 for mDNS start-up delay (#4793)
 * Add command SetOption55 0/1 to disable/enable mDNS (#4793)
2019-01-03 17:30:54 +01:00
Theo Arends edc245e5c6 Housekeeping 2019-01-03 15:44:16 +01:00
Theo Arends b584bb0760 Housekeeping 2019-01-03 15:38:15 +01:00
Theo Arends 524675583b
Merge pull request #4802 from andrethomas/development
PN532 Store timeout in PROGMEM
2019-01-03 15:17:37 +01:00
andrethomas cf5c82d225 PN532 Store timeout in PROGMEM 2019-01-03 15:29:41 +02:00
Theo Arends 635edc2cab
Merge pull request #4796 from andrethomas/development
PN532 - Housekeeping
2019-01-03 11:15:21 +01:00
andrethomas 32c167d208 PN532 - Housekeeping 2019-01-03 11:09:49 +02:00
Theo Arends fe0c45a854
Merge pull request #4794 from Jason2866/patch-1
Support PN532
2019-01-03 09:29:44 +01:00
Jason2866 375441f23e
Support PN532 2019-01-03 09:27:40 +01:00
Theo Arends 1a3ba7b4a2
Merge pull request #4791 from andrethomas/PN532
Add support for PN532 NFC
2019-01-02 22:18:30 +01:00
Andre Thomas 3608baf7f8
Add support for PN532 NFC 2019-01-02 23:17:38 +02:00
Andre Thomas 149b335a4b
Add support for PN532 NFC 2019-01-02 22:25:20 +02:00
andrethomas 5ec7249ece Add support for PN532 NFC 2019-01-02 22:04:33 +02:00
Theo Arends 1fb7993d66 Fix epaper driver (#4785)
Fix epaper driver (#4785)
2019-01-02 17:18:47 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends f12261e4fa Add support for MAX31855
Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764)
2019-01-01 13:45:44 +01:00
Theo Arends de8ce9aa9d
Merge pull request #4764 from ipm79/max31855
MAX31855 thermocouple support
2019-01-01 13:13:11 +01:00
Theo Arends c67922241c Add tests for result 2018-12-30 15:32:53 +01:00
Theo Arends 850d240d2e Add test for result usage 2018-12-30 14:56:50 +01:00
Theo Arends 0a22261e36 Revert "Disable unused feature"
This reverts commit 8fe61f6a11.
2018-12-30 14:47:17 +01:00
Theo Arends 8fe61f6a11 Disable unused feature 2018-12-30 14:40:06 +01:00