Commit Graph

347 Commits

Author SHA1 Message Date
Jon Little 3ad8046166 Adding HRE interface for en-GB 2019-03-27 20:21:25 -05:00
Yuval 28694bff7a
Add new translate and fix some 2019-03-19 15:09:32 +02:00
Theo Arends 46b2fcac08 Second try
Second try
2019-03-19 13:03:46 +01:00
Theo Arends 47e9361d55 Revert "Update minimal text"
This reverts commit c114530e34.
2019-03-19 13:02:12 +01:00
Theo Arends c114530e34 Update minimal text
Update minimal text
2019-03-19 12:23:09 +01:00
Adrian Scillato c1a2da1a46
Fix compiling issue
Deleted and extra " that prevents compiling.
2019-03-14 22:05:07 -03:00
Yuval 3332a54942
Update he-HE.h 2019-03-14 16:05:40 +02:00
killadm de220cefd0
zh-CN language updated 2019-03-03 00:35:44 +08:00
Theo Arends 278e9fe95d
Merge pull request #5344 from NyaamZ/development
a Korean translation
2019-02-26 10:11:01 +01:00
NyaamZ 8aba96c894
Korean translate
Korean translate
2019-02-26 11:00:38 +09:00
Theo Arends 6c1709a674
Merge pull request #5332 from znanev/patch-3
Update Bulgarian translation
2019-02-25 10:52:29 +01:00
znanev 0ed7920b0f
Note updated version of language file 2019-02-24 21:42:34 +00:00
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