Commit Graph

3087 Commits

Author SHA1 Message Date
Adrian Scillato ea82379986
Create PULL_REQUEST_TEMPLATE.md 2019-03-05 23:58:25 -03:00
Theo Arends 3e1e565dff Update xdrv_01_webserver.ino
Fix webpage redirect
2019-03-04 12:36:44 +01:00
Theo Arends 968719cea4
Merge pull request #5383 from killadm/development
zh-CN language updated
2019-03-02 18:39:45 +01:00
killadm de220cefd0
zh-CN language updated 2019-03-03 00:35:44 +08:00
Theo Arends 9f42e6dced Fix DS18S20 temperature calculation
Fix DS18S20 temperature calculation (#5375)
2019-03-02 12:33:52 +01:00
Theo Arends d70ed77f1a Update xdrv_01_webserver.ino
Prep for chunks
2019-03-01 18:25:46 +01:00
Theo Arends 9e8ed1ae79 Kudos and houskeeping
Kudos and houskeeping
2019-03-01 15:37:22 +01:00
Theo Arends f0a7a1f2a1 Fix Energy TotalStartTime
Fix Energy TotalStartTime when commands EnergyReset0 and/or EnergyReset3 used (#5373)
2019-03-01 12:08:41 +01:00
Theo Arends 4b69a7d115 Update xdrv_04_light.ino
Fix core 2.3.0 compile error
2019-02-26 10:54:27 +01:00
Theo Arends 16e14558ea
Merge pull request #5349 from sensor-freak/development
Refactor initialization of NeoPixel instance
2019-02-26 10:30:01 +01:00
Theo Arends 5871c7ebae Add Korean language translations
Add Korean language translations (#5344)
2019-02-26 10:16:56 +01:00
Theo Arends 278e9fe95d
Merge pull request #5344 from NyaamZ/development
a Korean translation
2019-02-26 10:11:01 +01:00
Franz-Josef Kaiser cfabceca06 Refactor initialization of NeoPixel instance to make it easier to select communication speed option 2019-02-26 09:10:41 +01:00
NyaamZ 8aba96c894
Korean translate
Korean translate
2019-02-26 11:00:38 +09:00
Theo Arends 13b24bbf5f
Merge pull request #5342 from netpok/light-rgb-ct-unlink
Allow independent working of RGB and white lights
2019-02-25 22:56:13 +01:00
netpok 61099c4ead Fix indentation 2019-02-25 22:36:18 +01:00
netpok 01ce2a31d3 Implement RGB CT linking 2019-02-25 22:29:39 +01:00
netpok 38433e56f7 Replace compare cycle with memcmp 2019-02-25 22:24:53 +01:00
netpok 6d1cfe5a07 Force light update on color mapping change 2019-02-25 22:24:06 +01:00
netpok d8eac1d8fc Replace if with min
saves ~30 bytes
2019-02-25 21:37:27 +01:00
Theo Arends 9a670be95b Fix buffer overflow
Fix buffer overflow (#5310)
2019-02-25 21:23:18 +01:00
Theo Arends 9f00978a79 Fix Domoticz Color regression
Fix Domoticz Color regression (#5310 )
2019-02-25 19:47:45 +01:00
Theo Arends 15419b3e51
Merge pull request #5340 from Daddelgreis74/patch-1
GPIO_LED1
2019-02-25 19:27:40 +01:00
Daddelgreis 61e9e8a361
GPIO_LED1
change
GPIO_LED1 to GPIO_LED1_INV 

right attitude
2019-02-25 17:56:53 +01:00
Theo Arends c0f20d31ff 6.4.1.19 Add command SetOption37
6.4.1.19 20190222
 * Add command SetOption37 for RGBCW color mapping (#5326)
2019-02-25 11:14:33 +01:00
Theo Arends 813d2fd3f1
Merge pull request #5326 from gsimon75/issue_5310_rgb_order_setoption
Added SetOption37 for RGB remapping
2019-02-25 10:55:43 +01:00
Theo Arends 6c1709a674
Merge pull request #5332 from znanev/patch-3
Update Bulgarian translation
2019-02-25 10:52:29 +01:00
Theo Arends fc62d154fc
Merge pull request #5333 from localhost61/French
Update fr-FR to 6.4.1.18
2019-02-25 10:52:15 +01:00
Gabor Simon 48f6b09987 Initialisation and updating of color mapping added 2019-02-24 23:48:03 +00:00
znanev 0ed7920b0f
Note updated version of language file 2019-02-24 21:42:34 +00:00
netpok 430334e604 Replace vector with array
it saves 24 bytes of code
2019-02-24 21:56:44 +01:00
netpok 945e7000dd Implement full color remapper 2019-02-24 21:03:33 +01: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
Theo Arends 41a342c5ed
Merge pull request #5331 from Jason2866/patch-1
Update de-DE.h
2019-02-24 17:38:52 +01:00
Jason2866 d464344f1f
Update de-DE.h 2019-02-24 17:37:17 +01:00
Theo Arends bc5db6a079 Remove topic from local sensors
Remove topic from local sensors in DisplayMode 2/3 (#5212)
2019-02-24 17:29:28 +01:00
Theo Arends e16178d912
Merge pull request #5320 from laurentdong/development
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
2019-02-24 17:02:45 +01:00
Laurent 49053f163f Update language files
D_UNSUBSCRIBE_FROM
2019-02-24 10:15:39 -05:00
Theo Arends 1d0348e636 Update xdrv_01_webserver.ino
Optimizations
2019-02-24 15:32:54 +01:00
Theo Arends 9b6e5bd122 Webserver Ajax optimizations
Webserver Ajax optimizations
2019-02-24 15:05:18 +01:00
Gabor Simon 0a4a21a038
Delete .gitignore
created by mistake
2019-02-24 16:43:42 +04:00
Gabor Simon 0bb05bb604
Delete .travis.yml
meanwhile removed at adc781b8fc
2019-02-24 16:41:54 +04:00
Gabor Simon 4492a14574 Added SetOption37 for RGB remapping 2019-02-24 12:07:15 +00:00
Theo Arends ff68b20148
Merge pull request #5322 from gsimon75/sm16716_rgb_order
sm16716: added config option for custom rgb order
2019-02-24 11:31:09 +01:00
Theo Arends 5003227139
Merge pull request #5324 from Jason2866/patch-1
Platformio 2.0.1 (Core 2.5.0)
2019-02-24 11:18:03 +01:00
Jason2866 ca237a3123
Platformio 2.0.1 (Core 2.5.0)
Platformio is back to working build toolchain from core 2.4.2.
2019-02-24 11:15:40 +01:00
Gabor Simon 38b81302e3 sm16716: added config option for custom rgb order 2019-02-24 09:26:10 +04: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
Laurent 3298048c60 Update support_rtc.ino 2019-02-23 17:41:06 -05:00