debsahu
e3060fa7ee
MQTT Callback for REST API
...
* SetBrightness fix from REST API callback from Master
* Added twinkleRandom to REST API (missing?)
* MQTT callback
2018-03-26 16:45:00 -04:00
debsahu
2bc1a68fb3
Update MQTT if WebSockets are changed
...
Addresses https://github.com/toblum/McLighting/issues/110
2018-03-23 21:43:24 -04:00
debsahu
980bd40567
Forgot to save "speed" in spiffs, set strip mode after read
...
* Added speed to SPIFFS save
* Should set strip state after succesful read.
2018-03-23 20:43:51 -04:00
debsahu
8b21969784
Stability updates, save state on SPIFFS, MQTT QOS
...
Modified
* Better implementation of tickers (recommended)
Added
* Save State on SPIFFS (alternative to EEPROM) EEPROM has finite write
cycles.
* Added Custom MQTT QOS levels, as AMQTT can handle QOS level 0,1&2 in
both publish and subscribe. Pubsub can only sunscribe in QOS 1&2,
publish at QOS 1 only.
2018-03-23 13:00:03 -04:00
debsahu
583d1396b7
Speed and Stability updates
...
If LEDs>100, stalls ESP8266. So bunch of code cleanup and merge with
existing variables used by other sections. Should be more efficient. As
of now on Arduino ESP 2.4.1, WiFi.setSleepMode(WIFI_NONE_SLEEP); is
required for MQTT function. ESP8266 is anyways connected to constant
power supply, so power consumtion is not immidiate concern now.
* HTTP OTA
* Arduino OTA
* Async MQTT
* PubSubClient
* HomeAssistant
2018-03-20 19:08:18 -04:00
Deb
88cd8d7961
forgot to subscribe to mqtt_ha_speed
2018-03-13 23:03:40 -04:00
Debashish Sahu
0da3e90f71
increase stability. no need for home/<HOSTNAME>_ha/out to be subscribed.
2018-03-13 20:58:41 -04:00
Deb
e7fb54f717
Added updates from main branch to here
...
button press is published on mqtt #98
2018-03-13 15:27:41 -04:00
Deb
d7c0113110
moved sendState before webSocketEvent
2018-03-12 22:53:40 -04:00
Deb
69a22006c8
Updates HA when changes happen from WebSockets or MQTT
...
Websockets and MQTT components are separate from HA MQTT JSON. Now if either is changed, HA JSON MQTT component is updated.
2018-02-28 12:55:29 -05:00
Deb
10f89a7e39
HASS sends mode names that match WS2812FX mode names
2018-02-18 15:58:05 -05:00
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
7a619ca3e7
Update README.md
2018-02-15 13:16:05 -05:00
Deb
cb824234d0
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:14:55 -05: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
1a761b7f8f
update to yaml to post speed correctly
2018-02-12 18:58:10 -05:00
Deb
0c98a1c16b
Subscribe to HA MQTT topic
...
Subscribe to HA MQTT topic
2018-02-12 16:33:08 -05:00
Deb
6b787ac1cc
Update README.md
2018-02-12 15:24:32 -05:00
Deb
4ee123b08e
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:22:14 -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
51ea2b9b36
Update README.md
2018-02-05 20:42:47 +01:00
Tobias Blum
43c7c97f49
Update README.md
2018-02-04 01:10:25 +01:00
Tobias Blum
d523de7fa8
Update README.md
2018-01-31 21:32:35 +01:00
Tobias Blum
c308b9a91e
Update README.md
2018-01-27 23:35:06 +01:00
Tobias Blum
6eec0345c2
NodeRed example for websocker proxy
2018-01-27 22:55:45 +01:00
Tobias Blum
dc00ef1d16
Update README.md
2018-01-26 22:52:22 +01:00
Tobias Blum
40dd7edc4c
Update README.md
2018-01-26 22:51:57 +01:00
Tobias Blum
561baad2b1
Update README.md
2018-01-21 01:20:20 +01: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
8ae4cb78af
Merge remote-tracking branch 'origin/master'
2018-01-13 23:52:54 +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
Tobias Blum
1ba57432fb
Update README.md
2018-01-13 23:43:23 +01:00
Tobias Blum
1839dde463
Update README.md
2018-01-13 23:42:49 +01:00
Tobias Blum
5232e038c6
Merge pull request #81 from codmpm/master
...
added BUILTIN_LED for ESP-12F
2018-01-13 23:36:43 +01:00
Patrik Mayer
321c972811
added BUILTIN_LED for ESP-12F
2018-01-12 20:32:02 +01:00
Tobias Blum
2956fc348a
Update README.md
2018-01-06 23:33:37 +01:00