Commit graph

330 commits

Author SHA1 Message Date
Deb
b5fdb7e87f
Merge pull request #3 from toblum/master
Resync to my branch
2018-04-07 21:53:24 -04:00
Tobias Blum
1a2ec04773
Update README.md 2018-04-07 23:13:57 +02:00
Tobias Blum
ac5803cf9c
Update README.md 2018-04-07 22:48:17 +02:00
Tobias Blum
f85805b598 Missing file for last merge 2018-04-07 21:58:17 +02:00
Tobias Blum
9b7ca2ac47 Merge branch 'debsahu/master'
Support for AMQTT, NEOANIMATIONFX
2018-04-07 21:57:21 +02:00
Deb
cb5930d12c
Oops no need to set mode to hold on speed change 2018-04-05 09:49:24 -04:00
debsahu
a3b950df5c Changed the need for seperate HA MQTT topic for speed 2018-04-04 21:34:00 -04:00
debsahu
d406112ecf Added HA Speed Automation 2018-04-04 20:34:14 -04:00
debsahu
2a193ff445 Send back speed to HA 2018-04-04 17:37:11 -04:00
debsahu
4dc09f37c9 Updates
* Added support for NeoAnimationFX (USE_NEOANIMATIONFX)
* Better scaling for speed
2018-03-29 23:49:18 -04:00
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
Tobias Blum
252ae8e2af Changes as proposed in issue: [toblum/McLighting] Set brightness issue (#112) 2018-03-24 23:12:39 +01: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
Tobias Blum
445e663ca0 Add ESP8266HTTPUpdateServer as alternative 2018-03-18 01:47:13 +01:00
Tobias Blum
9657b04ed9 Merge remote-tracking branch 'origin/http_update_server' 2018-03-18 01:38:36 +01:00
Tobias Blum
7e7851cd2b
Update README.md 2018-03-18 01:35:37 +01:00
Tobias Blum
3acf3e811d
Update README.md 2018-03-18 00:46:47 +01:00
Tobias Blum
47309501b1 Set MQTT Client ID to HOSTNAME 2018-03-18 00:41:29 +01:00
Tobias Blum
bb6958aa00 Fix button code 2018-03-18 00:41:05 +01:00
Tobias Blum
075fd67f5c Merge branch 'feature/ha_integration' 2018-03-18 00:12:28 +01:00
Tobias Blum
e3997ac042 Add informational output 2018-03-17 23:59:46 +01:00
Deb
87476af2f1
Merge pull request #107 from debsahu/master
forgot to subscribe to mqtt_ha_speed
2018-03-16 13:06:51 -04:00
Deb
f4cf300090
Added ESP8266HTTPUpdateServer, better than Arduino OTA 2018-03-15 22:17:14 -04:00
Deb
ca79367153
Added ESP8266HTTPUpdateServer, better than Arduino OTA 2018-03-15 22:15:59 -04:00
Deb
88cd8d7961
forgot to subscribe to mqtt_ha_speed 2018-03-13 23:03:40 -04:00
Deb
b0d7be7514
Merge pull request #105 from debsahu/master
MQTT and WS changes send feedback to HA correctly without hangups.
2018-03-13 21:04:08 -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
77e9dd22a9
Merge pull request #104 from debsahu/master
moved sendState before webSocketEvent
2018-03-12 22:58:56 -04:00
Deb
d7c0113110
moved sendState before webSocketEvent 2018-03-12 22:53:40 -04:00
Tobias Blum
39d5b5ba42
Update README.md 2018-03-07 08:20:19 +01:00
Deb
1c9d09888c
Merge pull request #99 from debsahu/master
Effect name corrections and addition to sendState when other modes (WS/MQTT) are used
2018-02-28 13:32:47 -05: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
Tobias Blum
24b5e28950
Merge pull request #98 from ghwc2015/master
button press is published on mqtt
2018-02-24 23:11:18 +01:00
ghwc2015
b75a2c4138
set buttonState for medium and long keypress
buttonState (on/off) was only set for short button press - now is set to on also for medium and long press
2018-02-23 07:55:19 +01:00
ghwc2015
763b9855bb
linefeeds removed 2018-02-23 07:42:19 +01:00
ghwc2015
8947ea108b
button press mqtt publish 2018-02-23 07:39:58 +01: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
c7ab482ae0
Update README.md 2018-02-18 02:05:11 +01:00
Tobias Blum
dcc6879cd5
Update README.md 2018-02-17 23:55:18 +01: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