Commit graph

169 commits

Author SHA1 Message Date
Deb
75ae63ddb9
HASS sends mode names that match WS2812FX mode names 2018-02-18 15:52:57 -05:00
Tobias Blum
5fed3a4651 Cleanup 2018-02-17 23:30:43 +01:00
Tobias Blum
191c45f014 Make Homeassistant part configurable 2018-02-17 23:25:22 +01:00
Deb
870c47ef45
MQTT JSON Added
Compile with #define MQTT_MAX_PACKET_SIZE 512 modified in PubSubClient library. Default is #define MQTT_MAX_PACKET_SIZE 128. Will not work here.
2018-02-15 13:11:03 -05:00
Deb
1955cbb096
MQTT JSON component added
Compile with #define MQTT_MAX_PACKET_SIZE 512 modified in PubSubClient library. Default is #define MQTT_MAX_PACKET_SIZE 128. Will not work here.
2018-02-15 13:09:27 -05:00
Deb
5b1f020f02
Update definitions.h 2018-02-12 22:47:02 -05:00
Deb
58afbc65e3
Update definitions.h 2018-02-12 22:44:23 -05:00
Deb
462607f29a
Add files via upload 2018-02-12 22:43:26 -05:00
Deb
0c98a1c16b
Subscribe to HA MQTT topic
Subscribe to HA MQTT topic
2018-02-12 16:33:08 -05:00
Deb
daf263a2ca
Adding support for Home Assistant
Don't know if this the most memory efficient way, but my first attempt at integrating into HA. A better implementation would be using Arduino JSON.
2018-02-12 15:11:40 -05:00
Deb
6ab2e6ee38
Adding support for Home Assistant
Don't know if this the most memory efficient way, but my first attempt at integrating into HA. A better implementation would be using Arduino JSON.
2018-02-12 15:09:13 -05:00
Tobias Blum
f00fdfab33 Add links to user manual 2018-01-21 01:05:21 +01:00
Tobias Blum
6f15629072 Disable button by default 2018-01-21 00:45:03 +01:00
Tobias Blum
1380fe8cac Merge with master, reformat 2018-01-21 00:25:50 +01:00
Tobias Blum
92a654b845 Merge branch 'feature/button_support' 2018-01-21 00:11:04 +01:00
Tobias Blum
e64b3991b8 Adapt pull request to McLighting 2018-01-21 00:10:20 +01:00
Tobias Blum
befcebbe9c Fix for MDNS reponder
https://github.com/toblum/McLighting/issues/85
2018-01-20 22:07:37 +01:00
Szép Norbert
84bf3fe255
Added support for input switch
Support one input switch for ON/OFF the LED strip. Also possible to program three modes (short / medium / long press)
2018-01-18 12:21:26 +01:00
Tobias Blum
970c790558 Fix for https://github.com/toblum/McLighting/issues/83 2018-01-14 21:23:17 +01:00
Tobias Blum
3d37c7e60f Add wifi_station_set_hostname(HOSTNAME); to make
https://github.com/toblum/McLighting/issues/79
2018-01-13 23:52:47 +01:00
Patrik Mayer
321c972811 added BUILTIN_LED for ESP-12F 2018-01-12 20:32:02 +01:00
Tobias Blum
8f3deb5f72 Merge branch 'feature/save_state' 2018-01-06 22:40:03 +01:00
Mordy Ovits
d4de45d4fb
Fix cut-and-paste error in request handler comment 2017-12-25 19:44:07 -05:00
Tobias Blum
9dfcf2a391 Initial version with state save 2017-12-18 00:32:01 +01:00
Tobias Blum
2e58d55eec Convert new WS2812FX spped format to McLighting
Keep McLighting speeds (0-255) unchanged and convert to WS2812FX speeds. (65535-0)
2017-12-16 23:43:57 +01:00
Matt Johnson
066c8a47cb remove unnecessary lines 2017-11-23 01:27:35 +00:00
Matt Johnson
e34ffcb983 this debug printf fixes things... WTF 2017-11-23 01:24:37 +00:00
Matt Johnson
19dbd5ccdb example working rewrite of handleSetSingleLED(). Fixes LED's between 80-99 for me 2017-11-23 01:14:24 +00:00
Matt Johnson
a38e386577 Remove unnecessary loop from handleSetSingleLED() 2017-11-22 23:26:42 +00:00
Matt Johnson
d5befdb3eb Padded single digit LED identifiers to two chars (01,02 vs 1,2 etc) 2017-11-22 23:20:10 +00:00
Matt Johnson
7a059a1a14 Support LED ranges via MQTT/WS aka R0110ffffff 2017-11-22 16:16:41 +00:00
Tobias Blum
e79524ed8e Fix for empty intopic?
https://github.com/toblum/McLighting/issues/52
2017-11-05 01:12:51 +01:00
Tobias Blum
a025e0a35a Add new + command also to MQTT
See: https://github.com/toblum/McLighting/pull/45
2017-10-29 00:20:57 +02:00
Tobias Blum
e3a4690693 Add support to light multiple LEDs with one command
https://github.com/toblum/McLighting/pull/45
2017-10-29 00:14:57 +02:00
Tobias Blum
e09957d032 Bugfix: Single LED, index was interpreted as HEX instead of DEC.
https://github.com/toblum/McLighting/issues/44
2017-10-28 23:37:03 +02:00
Tobias Blum
3ba9f1b950 Add /get_speed and /set_speed endpoints
Like proposed in https://github.com/toblum/McLighting/pull/49
2017-10-28 22:07:07 +02:00
Tobias Blum
8bd3c176fe Merge branch 'patch-1' 2017-10-28 21:46:10 +02:00
Tobias Blum
5665545f8f Remove useless sample code 2017-10-25 22:09:06 +02:00
carstenpi
2e5c79791d Added Get/Set Delay to Rest Api 2017-10-23 17:11:47 +02:00
Tobias Blum
47e5afd1dd Adopt changes to HTML source 2017-09-29 23:48:29 +02:00
Keith Lord
bc2984cffc Added auto cycle feature 2017-09-19 18:31:03 -04:00
Tobias Blum
ae371e0844 Bugfix issue: Just a flicker on WS set single pixel command #31
See: https://github.com/toblum/McLighting/issues/31
2017-08-19 23:36:23 +02:00
Tobias Blum
32bb5ed7ac Added hint to pubsubclient length issue
https://github.com/knolleary/pubsubclient/issues/110
2017-08-19 22:27:36 +02:00
Tobias Blum
91571eafcc Limit number of MQTT connection tries
as proposed by @nimbl at https://github.com/toblum/McLighting/issues/22
2017-08-19 22:22:36 +02:00
Tobias Blum
ab9253abde Issue: Memory leak in MQTT callback function #32
https://github.com/toblum/McLighting/issues/32
added free()
2017-08-19 21:29:27 +02:00
Tobias Blum
88b476db51 Handle empty mqtt_host, add /start_config_ap 2017-08-07 23:05:07 +02:00
Tobias Blum
065ae09cea Cleanup 2017-08-06 23:36:34 +02:00
Tobias Blum
0895d542a3 Make MQTT params configurable
Saving into EEPROM
2017-08-06 23:34:59 +02:00
Tobias Blum
20941906e1 Add: MQTT user / pass 2017-08-06 21:36:30 +02:00
Tobias Blum
c160b910d9 Bugfix: payload parsing 2017-08-06 21:20:16 +02:00
Tobias Blum
90578a4b33 Dynamic topic names 2017-08-06 18:11:01 +02:00
Tobias Blum
b71834bbb2 Deactivated: Get WS2812 modes.
Message too large
2017-08-06 16:32:39 +02:00
Tobias Blum
b699cf75a2 Initial
First take on MQTT integration.
2017-08-06 00:52:25 +02:00
Ronald Schaten
6ceb6385e2 enable main_color to be initialized in definitions.h 2017-07-28 12:36:22 +02:00
Tobias Blum
7daa7a9166 Added optional Arduino OTA code. 2017-02-18 23:58:00 +01:00
Tobias Blum
99ff69d233 Detailed instructions in serial console for first time users. 2017-02-18 22:27:49 +01:00
Tobias Blum
33804de86e Bugfix to set correct mode, when "off"
https://github.com/toblum/McLighting/issues/9
2017-02-10 12:13:32 +01:00
Tobias Blum
89de7fc3ff Return status JSON when switching animation mode via REST API. 2017-02-05 16:34:38 +01:00
Tobias Blum
526872e8ff Fixed minor bugs, updated gulp script. 2017-02-05 15:27:16 +01:00
Tobias Blum
c83a560d30 First try on WS2812FX library integration 2017-02-05 01:48:28 +01:00
Tobias Blum
ff878f8ef6 LEDs now show all green when in AP setup mode. 2017-01-29 14:55:36 +01:00
Tobias Blum
1841ba4d5c Adopting TV mode for dynamic LED strip lengths. 2016-06-05 01:05:54 +02:00
Tobias Blum
fcbde5e234 Bugfix for mode change when using websockets API. 2016-06-05 00:41:50 +02:00
Tobias Blum
608057b098 Added /reset_wlan REST webservice command. 2016-06-05 00:09:00 +02:00
Tobias Blum
c1c82222b5 Added status info for WebSocket API. 2016-06-02 23:46:46 +02:00
Tobias Blum
fe6f191deb Little Bugfixes added REST-API endpoints. 2016-05-22 00:28:30 +02:00
Tobias Blum
aeef8e8bc8 Extended REST API for use with homebridge 2016-05-20 08:38:51 +02:00
Tobias Blum
51117e7cd5 Bugfixings, added brightness settings via WebSocket, added off and all support via WebSocket. 2016-05-17 00:23:10 +02:00
Tobias Blum
740239b983 Initial commit with Arduino and client 2016-05-12 23:05:38 +02:00