Commit Graph

2628 Commits

Author SHA1 Message Date
Theo Arends 5026cbd38d Update platformio.ini with stage
Update platformio.ini with latest stage option
2018-12-28 17:30:32 +01:00
Theo Arends 5a44b12870 6.4.1.2 Rewrite Switch driver
6.4.1.2 20181228
 * Change switch driver making it modular and introduce input filter (#4665, #4724)
 * Add define DS18B20_INTERNAL_PULLUP to select internal input pullup when only one DS18B20 sensor is connected eliminating external resistor (#4738)
 * Add variable %timestamp% to rules (#4749)
2018-12-28 16:35:19 +01:00
Theo Arends 17bc48add6
Merge pull request #4749 from ascillato/patch-1
Add variable %timestamp% to be used in rules
2018-12-27 21:53:33 +01:00
Adrian Scillato 4fcbaf99be
Add variable %timestamp% to be used in rules
This PR adds a new variable %timestamp% to be used in a rule to allow the user to include the Time Stamp as Tasmota has for Status, Sensors, etc, for example:

Command:

publish stat/topic/sensor {"Time":"%timestamp%","mysensor":"%var1%"}

Output:

{"Time":"2018-12-27T12:52:57","mysensor":"1"}

(https://github.com/arendst/Sonoff-Tasmota/issues/4734)
2018-12-27 14:57:27 -03:00
Theo Arends 6f5596425c
Merge pull request #4738 from phreakmonkey/ds18b20_pullup
Add INPUT_PULLUP option for single DS18B20
2018-12-26 21:53:43 +01:00
K.C. Budd 8ce6b5a01d Add INPUT_PULLUP option for single DS18B20 2018-12-26 12:10:47 -08:00
Theo Arends 9640931345 Change switch debounce
Change switch input detection by optimizing switch debounce (#4724)
2018-12-26 14:21:00 +01:00
Theo Arends 7291f7d2f7 Fix compiler warning
Fix compiler warning
2018-12-24 18:35:13 +01:00
Theo Arends 0b10f48e41 6.4.1.1 Fix most compiler warnings
6.4.1.1 20181224
 * Fix most compiler warnings
2018-12-24 18:14:25 +01:00
Theo Arends 87ddbd8f38 Release 6.4.1 2018-12-24 16:45:41 +01:00
Theo Arends 0539775cf0 Change MQTT GUI password handling
Change MQTT GUI password handling (#4723)
2018-12-24 14:31:34 +01:00
Theo Arends 5dba580b31
Merge pull request #4720 from chaosmaster/patch-1
PS_16_DZ: fix broken if-statement
2018-12-24 11:32:34 +01:00
Joel Stein a013f4de82 PS_16_DZ: fix broken if-statement 2018-12-23 21:06:10 +01:00
Theo Arends 77c07a2e00 Change FallbackTopic
Change FallbackTopic from cmnd/<mqttclient>/ to cmnd/<mqttclient>_fb/ to discriminate from Topic (#1528)
2018-12-23 14:48:57 +01:00
Theo Arends 1e66714491
Merge pull request #4718 from curzon01/development
decode-config.py: adapt settings change
2018-12-23 13:49:57 +01:00
Norbert Richter d9f2e2193d decode-config.py: adapt settings change
- remove SetOption55 (hass_short_discovery_msg)
2018-12-23 13:38:38 +01:00
Theo Arends ed6e411f7f Add optional TLS_CA_CERT
Add define USE_MQTT_TLS_CA_CERT for checking MQTT TLS against root ca using Let's Encrypt cert from sonoff_letsencrypt.h - not supported with core 2.3.0 (#4703)
2018-12-22 18:09:27 +01:00
Theo Arends 9e15a1d266
Merge pull request #4703 from fmeies/development
Added option for checking mqtt tls against root ca
2018-12-22 16:50:07 +01:00
Theo Arends e2cd656286 6.4.0.3 Hass and Alexa fixes
6.4.0.3 20181222
 * Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711)
 * Change FallbackTopic detection (#4706)
 * Add define WIFI_SOFT_AP_CHANNEL in my_user_config.h to set Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI (#4673)
 * Fix Alexa "this value is outside the range of the device". Needs power cycle and Alexa deletion/discovery cycle. (#3159, #4712)
2018-12-22 16:13:07 +01:00
Theo Arends a20ae4fd04
Merge pull request #4712 from gourry/master
Remove Alexa message "this value is outside the range of the device"
2018-12-22 16:08:38 +01:00
gourry 6702113308 Remove Alexa message "this value is outside the range of the device" 2018-12-22 14:56:14 +01:00
Theo Arends 24829a7de7
Merge pull request #4711 from emontnemery/remove_setoption55
Remove SetOption55 (hass_short_discovery_msg)
2018-12-22 14:06:12 +01:00
Erik c348848200 Rename HASS discovery string constants 2018-12-22 13:21:04 +01:00
Erik fd965eba09 Remove SetOption55 (hass_short_discovery_msg) 2018-12-22 13:16:04 +01:00
Frank Meies 59056935f9 Check for core version when enabling tls ca cert, changed names of defines
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 22:54:42 +01:00
Frank Meies d722387344 Check for core version when enabling tls ca cert
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 22:49:46 +01:00
Theo Arends 893f64cfb6 Still need patched PWM for core 2.5.0
Still need patched PWM for core 2.5.0
2018-12-21 17:56:09 +01:00
Theo Arends c1102a4863 6.4.0.2 Fix possible dtostrf bos
6.4.0.2 20181221
 * Fix possible dtostrf buffer overflows by increasing buffers
2018-12-21 16:17:06 +01:00
Theo Arends a80fcd98d7 Fix wifi strongest signal detection
Fix wifi strongest signal detection (#4704)
2018-12-21 13:53:38 +01:00
Theo Arends a17a40b5f3 Update Arduino IDE core 2.5.0 files
Update Arduino IDE core 2.5.0 files
2018-12-21 12:33:30 +01:00
Theo Arends ec931fe5fe Change RAM usage BMP/BME
Change RAM usage BMP/BME I2C sensors
2018-12-21 11:36:55 +01:00
Frank Meies 435b3afde7 Added option for checking mqtt tls against root ca
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 11:28:47 +01:00
Theo Arends 2ee3e35019
Merge pull request #4698 from reey/development
add missing units of measurements for energy HA autodiscovery
2018-12-21 11:19:21 +01:00
reey ebd12235c4
add empty unit of measurement for any sensors 2018-12-21 10:38:44 +01:00
reey 6c158434ee
removed some errors from copy pasting.. 2018-12-20 23:27:05 +01:00
reey c1e098403c
add missing units of measurements for energy 2018-12-20 23:06:56 +01:00
Theo Arends 62c3dfa27b
Merge pull request #4692 from dcandi/#4678-fix-pressure-unit-not-reported-in-HA-autodiscovery
pressure unit of measure reporting
2018-12-19 22:58:06 +01:00
dcandi 1fb4e8bc23 pressure unit of measure reporting
Added a dedicated pressure sensor management to report back as pressure sensor and not fallback as a generic sensor in HA autodiscovery process
2018-12-19 20:51:39 +01:00
andrethomas2 8a7dd3e06d
Add support for AZ-Instrument 7798 CO2
Add support for AZ-Instrument 7798 CO2 meter/datalogger
2018-12-19 00:00:19 +02:00
Theo Arends 3229148554
Merge pull request #4672 from adebeun/development
Add support for AZ-Instrument 7798 CO2 meter/datalogger
2018-12-18 21:44:06 +01:00
andrethomas2 a6a927b24b
Fix temperature conversion
Fix temperature conversion to still use ConvertTemp() even if meter sends the value in F
2018-12-18 21:31:00 +02:00
andrethomas2 201baa3513
Add void to functions without parameters 2018-12-18 21:14:55 +02:00
Arthur de Beun ce4db89eae Merge branch 'development' of https://github.com/adebeun/Sonoff-Tasmota into development 2018-12-19 08:07:41 +13:00
Arthur de Beun c506c48965 Revert to original RELEASENOTES.md. 2018-12-19 08:03:09 +13:00
adebeun 00d3f14ee7
Merge branch 'development' into development 2018-12-19 07:47:51 +13:00
Arthur de Beun 6185a08d89 Updated from originals: platformio.ini, sonoff/my_user_config.h. 2018-12-19 06:57:37 +13:00
Arthur de Beun ff1e51613e Include changes from original into sonoff/language/bg-BG.h 2018-12-19 06:51:13 +13:00
Arthur de Beun 2b0987da47 Revert platformio.ini and my_user_config to original version,
adding line for new sensor but leaving it commented out.
2018-12-19 06:36:53 +13:00
Arthur de Beun db65b9c23a Add support for AZ-Instrument 7798 CO2 meter/datalogger. 2018-12-18 22:32:34 +13:00
andrethomas2 1eb7f8e9e2
Merge pull request #4669 from znanev/patch-1
Update bg-BG.h
2018-12-18 11:28:44 +02:00