Commit Graph

1841 Commits

Author SHA1 Message Date
Theo Arends 95bd91b6db
Merge pull request #4863 from blittan/development
Clearer meaning of Static or DHCP
2019-01-09 09:13:52 +01:00
blittan faa3e9a741 Updated Swedish translation 2019-01-08 23:05:54 +01:00
blittan 15041873c2 Clearer meaning of Static or DHCP 2019-01-08 22:12:09 +01:00
Theo Arends 4b741cd1b6
Merge pull request #4860 from andrethomas/development
PN532: Add Read/Write Data support
2019-01-08 21:28:53 +01:00
Andre Thomas 4f568fc365
Update xsns_40_pn532_i2c.ino 2019-01-08 21:15:14 +02:00
andrethomas 549080b850 PN532: Add Read/Write Data support 2019-01-08 20:53:09 +02:00
Theo Arends c5f6823570 Add two modules
* Add support for OBI Power Socket 2 (#4829)
* Add support for YTF IR Bridge (#4855)
2019-01-08 16:27:16 +01:00
Theo Arends efbc74b2a2 Add GPIOs to 12V DC Shelly 1
Add user GPIOs to Shelly 1 only to be used when Shelly is connected to 12V DC (#4854)
2019-01-08 15:58:35 +01:00
Theo Arends 53b8f1f877 Fix HAss Sensor Software Watchdog
Fix Home Assistant Sensor Discovery Software Watchdog restart (#4831)
2019-01-08 15:25:12 +01:00
Theo Arends 9730df7adc Fix exception 28 in display driver 2019-01-08 14:22:45 +01:00
Theo Arends 23fa3c624a Clarify Link/Power LED selection
Clarify Link/Power LED selection
2019-01-08 11:44:45 +01:00
Adrian Scillato a38750bf66
Updated Spanish Translation 2019-01-07 18:55:26 -03:00
Jason2866 941500d1f7
Update de-DE.h 2019-01-07 19:13:11 +01:00
Theo Arends f2835d0ae5 Update sonoff_template.h 2019-01-07 17:47:36 +01:00
Theo Arends 3dc643d9d0 Update sonoff_template.h 2019-01-07 17:44:30 +01:00
Theo Arends 148fe4aec0 Only restart if module supports it 2019-01-07 16:58:44 +01:00
Theo Arends 70619ed610 Housekeeping 2019-01-07 16:43:03 +01:00
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
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
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
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
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
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
andrethomas 44e80c2626 PN532 - Disable before restart 2019-01-04 14:15:10 +02: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
andrethomas cf5c82d225 PN532 Store timeout in PROGMEM 2019-01-03 15:29:41 +02:00
andrethomas 32c167d208 PN532 - Housekeeping 2019-01-03 11:09:49 +02:00
Jason2866 375441f23e
Support PN532 2019-01-03 09:27:40 +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