Commit Graph

385 Commits

Author SHA1 Message Date
localhost61 886fe48115 Update fr-FR to 6.4.1.18 2019-02-24 20:44:26 +01:00
znanev 6544d002ad
Update Bulgarian translation 2019-02-24 19:38:52 +00:00
Jason2866 d464344f1f
Update de-DE.h 2019-02-24 17:37:17 +01:00
Laurent 49053f163f Update language files
D_UNSUBSCRIBE_FROM
2019-02-24 10:15:39 -05:00
Laurent dd27ade7ef Rules: Trigger Event with MQTT Subscriptions
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
You can subscribe a MQTT topic and assign an event name. Once we received subscribed MQTT message, an event will be automatically triggered. So you can set up a rule with "ON EVENT#<event_name> DO ..." to do whatever you want based on this MQTT message. The payload is passed as a parameter once the event been triggered. If the payload is in JSON format, you are able to get the value of specified key as parameter.
For example, if you have a Tasmota based thermostat and multiple temperature sensors in different place, usually you have to set up a centre home automation system like Domoticz to control the thermostat. Right now, with this new feature, you can write a rule to do this.
Two new commands in Rules:
1. Subscribe
Subscribe a MQTT topic (with or without key) and assign an event name to it.
Command format:
	Subscribe [<event_name>, <topic> [, <key>]]
		This command will subscribe a <topic> and give it an event name <event_name>.
		The optional parameter <key> is for parse the specified key/value from MQTT message
			payload with JSON format.
		In order to parse value from two level JSON data, you can use one dot (".") to split the key into two section.
		Subscribe command without any parameter will list all topics currently subscribed.
2. Unsubscribe
Unsubscribe specified MQTT event.
Command format:
	Unsubscribe [<event_name>]
		Unsubscribe a topic subscribed by specify the event name.
		If no event specified, Unsubscribe all topics subscribed.
Examples:
1.
	Subscribe BkLight, Tasmota/BackyardLight/stat/POWER
		And define a rule like:
	Rule1 on event#BkLight=ON do ruletimer4 60 endon
2.
	Subscribe DnTemp, Tasmota/RoomSensor1/stat/SENSOR, DS18B20.Temperature
		Define a rule to deal with the MQTT message like {"Time":"2017-02-16T10:13:52", "DS18B20":{"Temperature":20.6}}
	Rule1 ON EVENT#DnTemp>=21 DO ... ENDON
2019-02-23 22:33:09 -05:00
Theo Arends 483eb4dd44 Change Flags to Options
Change Flags to Options and enforce Activate for already active template (#5256)
2019-02-18 13:10:10 +01:00
znanev bd582980e9
Abbreviate translation for D_SENSOR_USER 2019-02-18 09:52:29 +00:00
znanev 8c73cddfed
Update Bulgarian translations 2019-02-18 09:29:23 +00:00
localhost61 ba7c4cd49b fr-FR.h update 2019-02-17 21:32:07 +01:00
Jason2866 94f1683616
Update de-DE.h
Template changes
2019-02-17 12:32:46 +01:00
Theo Arends 577791440e Add Configure Template menu option
Add Configure Template menu option to GUI (#5222)
2019-02-17 11:32:53 +01:00
Xavier MULLER f94c2245af
Update fr-FR.h 2019-02-17 01:02:52 +01:00
Xavier MULLER 4ed82140af
Update fr-FR.h 2019-02-17 01:01:26 +01:00
Jason2866 75943f5ea4
Update de-DE.h
Changed Template to Vorlage
2019-02-13 17:19:57 +01:00
Theo Arends 8cb33b86cf Fix compile error (#5216)
Fix compile error (#5216)
2019-02-13 17:03:00 +01:00
Theo Arends 567bc93623 Add Template GUI update
Initial support for online template change using command Template or GUI Configure Other (#5177)
2019-02-12 11:55:47 +01:00
Theo Arends 98ae3eaf54 6.4.1.16 Online template change
6.4.1.16 20190211
 * Initial support for online template change using command Template (#5177)
2019-02-11 19:21:49 +01:00
Colin Kuebler f1247a61e5 Renamed SM16716 PWR as per https://github.com/arendst/Sonoff-Tasmota/pull/4991#pullrequestreview-201622697 2019-02-08 12:10:01 -05:00
Gabor Simon 7b93df4978
Merge branch 'development' into sm16716 2019-02-08 20:00:53 +04:00
andrethomas 707b51f292 PN532: Implement HSU (Serial) 2019-02-08 01:06:54 +02:00
Colin Kuebler 1bf7d32544 Renamed SM16716 Select to SM16716 Enable to avoid confusion with a SM16726 feature also called select 2019-02-06 18:51:54 -05:00
Gabor Simon 9b3a204ae5
Merge branch 'development' into sm16716 2019-02-04 22:14:05 +04:00
Theo Arends b839d7e80e Add user configuration of MCP39F501
Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
2019-02-04 18:18:47 +01:00
Gabor Simon e23d4201c1
Merge branch 'development' into sm16716 2019-02-04 16:48:49 +04:00
Theo Arends d061d5abb8 Add user configuration
Add user configuration of HLW8012 and HJL-01/BL0937 Energy Monitoring
2019-02-04 12:53:10 +01:00
Colin Kuebler 1c76991c7f Added sm16716 select to the pin definitions 2019-01-31 13:28:38 -05:00
Gabor Simon e0033fbaa0
Merge branch 'development' into sm16716 2019-01-29 17:38:27 +04:00
araczkowski e13fd7983e fix 2019-01-22 12:56:35 +01:00
araczkowski 2f8b083bda fixed some typos 2019-01-22 12:53:02 +01:00
Gabor Simon d9e0e9f89e Added missing definitions to Greek localisation header 2019-01-20 21:18:28 +00:00
Gabor Simon c6ddba8fd7 Started SM16716 support 2019-01-19 14:37:22 +00:00
Donat Marko c8043e2f5b 🏷️ Improves Hungarian (hu-HU) translation 🇭🇺 2019-01-10 00:07:43 +01:00
blittan faa3e9a741 Updated Swedish translation 2019-01-08 23:05:54 +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 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 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
Markus Past 9d62f3cb49 added missing languages 2018-12-30 13:34:20 +01:00
Markus Past 1736409b18 Merge remote-tracking branch 'upstream/development' into max31855 2018-12-30 11:50:57 +01:00
Markus Past 5737665a2f MAX31855 driver for Sonoff-Tasmota - Initial commit 2018-12-30 11:45:21 +01:00
Adrian Scillato aa4c58a266
Fix Typo in Spanish Translation 2018-12-29 22:45:32 -03: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 604f341e9a Add support for AZ-Instrument 7798 CO2 meter/datalogger. 2018-12-18 22:22:41 +13:00
Vladimír Jendroľ d76a71b2fd Add sk-SK language 2018-12-17 21:46:39 +01:00
Gennaro Tortone 6869790e47 it-IT language updated 2018-12-17 10:23:58 +01:00
Xavier MULLER 493b76b5ac
Merge branch 'development' into localhost61-fr.FR 2018-12-12 05:22:50 +01:00
Xavier MULLER b7610aab6f
Update fr-FR.h
SDM220 strings  reworked to fit in the space available
2018-12-12 05:14:00 +01:00
Xavier MULLER 276c11fe4e
Update fr-FR.h
Added SDM220  new strings
2018-12-12 02:44:07 +01:00
Jason2866 4df23beab1
Update de-DE.h 2018-12-11 20:27:37 +01:00
Adrian Scillato 0c90db5d85
Updated Spanish Translation 2018-12-11 17:30:51 +00:00
Theo Arends b3e5e35cea Add more support
* Add support for decoding Theo V2 sensors as documented on https://sidweb.nl using 434MHz RF sensor receiver
 * Add support for decoding Alecto V2 sensors like ACH2010, WS3000 and DKW2012 using 868MHz RF sensor receiver
 * Add support for Manzoku Power Strip (#4590)
2018-12-11 18:00:12 +01:00
Theo Arends 67ec0678a3 6.3.0.17 Add features
6.3.0.17 20181211
 * Add support for TheoV2 sensors as documented on https://sidweb.nl
 * Add support for SDM220 (#3610)
 * Enhance support for MPU6050 using DMP (#4581)
2018-12-11 14:24:52 +01:00
Theo Arends a913c4459a Fix language file
Fix language file
2018-12-11 13:58:37 +01:00
Dees7 9980707a0a
Merge branch 'development' into development 2018-12-11 15:22:16 +05:00
Andrzej 3777dbe45c localization for Polish - KNX, timers, etc. 2018-12-06 09:52:02 +01:00
Theo Arends 597cc42f93
Merge pull request #4538 from blittan/development
Initial translation to Swedish
2018-12-06 08:55:17 +01:00
Adrian Scillato 3b68d606ab
Matched the order of days with Tasmota Timers 2018-12-05 20:14:11 -03:00
Adrian Scillato 5f35f7ebae
Added missing " 2018-12-05 20:11:54 -03:00
Gunnar Norin a36ead52fa
Initial translation to Swedish 2018-12-05 23:25:25 +01:00
Xavier MULLER be86811628
Update fr-FR.h
Synced with changes since  v6.2.1.7
2018-12-01 02:48:10 +01:00
Theo Arends be358b3314 Prep for Software SPI
Prep for Software SPI used by some displays
2018-11-27 15:11:10 +01:00
Nick Galfas 3af44ab81f
Update el-GR.h
Improved Greek translation including the latest versions text fields
2018-11-25 20:19:20 +02:00
Christian 02dd07cb95
Language keys for MGC3130 2018-11-21 21:09:17 +01:00
Christian ae9d66bfa9
Language keys for MGC3130 2018-11-21 21:08:46 +01:00
Christian 0d6df5ed61
Language keys for MGC3130 2018-11-21 21:08:19 +01:00
Christian 08ae15db6f
Language keys for MGC3130 2018-11-21 21:07:42 +01:00
Christian 20d3343e85
Language keys for MGC3130 2018-11-21 21:07:13 +01:00
Christian ba6433ccf7
Language keys for MGC3130 2018-11-21 21:06:32 +01:00
Christian 87a9d3e0cf
Language keys for MGC3130 2018-11-21 21:06:02 +01:00
Christian e08f2126b6
Language keys for MGC3130 2018-11-21 21:05:34 +01:00
Christian 3c3ae73e60
Language keys for MGC3130 2018-11-21 21:05:09 +01:00
Christian 1961e5b9d9
Language keys for MGC3130 2018-11-21 21:04:41 +01:00
Christian 65c848e4a2
Language keys for MGC3130 2018-11-21 21:04:15 +01:00
Christian 70188e0aeb
Language keys for MGC3130 2018-11-21 21:03:41 +01:00
Christian c5223b5af8
Language keys for MGC3130 2018-11-21 21:03:16 +01:00
Christian 4af915ff56
Language keys for MGC3130 2018-11-21 21:02:39 +01:00
Christian 16e65c1541
Language keys for MGC3130 2018-11-21 21:01:50 +01:00
Christian 9bf5b17351
Language keys for MGC3130 2018-11-21 21:01:09 +01:00
Christian 039e228cfe
Language keys for MGC3130 2018-11-21 20:59:44 +01:00
Christian f4115c17fd
Language key for MGC3130 2018-11-21 20:59:08 +01:00
Staars 0924d7a2e6 first integration of the driver into the TASMOTA-repo 2018-11-21 19:13:52 +01:00
Adrian Scillato ca24d20551
Update de-DE.h
#4388
2018-11-20 00:08:29 -03:00
Denis Taranushin 2c138e69c2 Add SDM220 Support
Add some electric parameters for SDM220
2018-11-13 19:55:24 +05:00
Jason2866 98c7e467f8
Update de-DE.h
Fixing some minor errors
2018-11-04 22:14:05 +01:00
Andrei eeak 835e3f670c Delete D_MMHG 2018-11-01 19:37:25 +02:00
Andrei eeak aa8e571e88 Add D_UNIT_MILLIMETER_MERCURY 2018-11-01 19:17:12 +02:00
eeak 7bbbf26523
Update zh-TW.h 2018-11-01 18:30:56 +02:00
eeak 8b5975b462
Update zh-CN.h 2018-11-01 18:30:39 +02:00
eeak f25c6fb5f8
Update uk-UK.h 2018-11-01 18:30:25 +02:00
eeak 2f1c48a27c
Update tr-TR.h 2018-11-01 18:30:12 +02:00
eeak 7f7c5b9808
Update pt-PT.h 2018-11-01 18:29:58 +02:00
eeak 6271c3b562
Update pt-BR.h 2018-11-01 18:29:38 +02:00
eeak 69fc4e6c86
Update pl-PL.h 2018-11-01 18:29:24 +02:00
eeak 39e3b75f0c
Update nl-NL.h 2018-11-01 18:29:11 +02:00
eeak 07df5e6c2f
Update it-IT.h 2018-11-01 18:27:33 +02:00
eeak 848a197a4b
Update hu-HU.h 2018-11-01 18:27:18 +02:00
eeak 3c935c6d57
Update he-HE.h 2018-11-01 18:27:04 +02:00
eeak c3ffce4d4e
Update fr-FR.h 2018-11-01 18:26:44 +02:00
eeak 89bbe111d3
Update es-AR.h 2018-11-01 18:26:28 +02:00
eeak 517242ff5e
Update el-GR.h 2018-11-01 18:26:03 +02:00