Commit graph

164 commits

Author SHA1 Message Date
Debashish Sahu
8ff869ce7f bug_fix
- fixed bugs
- Added file for custom WS2812FX animations in custom slots
- Rename varaibles to be char instead of String
- Added LED pixel count and PIN settings to WiFiManager
2019-03-05 00:38:40 -05:00
Debashish Sahu
38d8f3f813 Add LWT for MQTT and AMQTT
- Add LWT for MQTT and AMQTT, address https://github.com/toblum/McLighting/issues/340
2019-03-04 13:48:26 -05:00
Debashish Sahu
c2b3b6d0fa HA send start state
- Bump to new Arduino Core PIO 2.0.1 (esp8266-arduino v2.5.3 release)
- Address https://github.com/toblum/McLighting/issues/349
2019-03-04 13:11:52 -05:00
Dale Higgs
2cf158f556
Add space to align comment 2019-02-15 14:00:19 -06:00
Dale Higgs
67a98c28b8 Use milliseconds for autocycle 2019-02-15 13:34:42 -06:00
Debashish Sahu
1b3414cf52
Merge pull request #333 from dale3h/patch-1
Fix pointer corruption for multi LED commands
2019-02-14 19:39:44 -05:00
Dale Higgs
a883b83069
Fix pointer corruption for multi LED commands
Fixes #332 by null-terminating the hex char arrays.
2019-02-14 18:07:46 -06:00
Debashish Sahu
f71d1565dd discovery message & pio updates
- Add alternative way to send large messages using PubSubClient
- Added Jason2866's link to Arduino Core v 2.5.0 as official core on PIO is not yet released
2019-02-13 11:24:41 -05:00
Debashish Sahu
652ff236f6 ArduinoJSON 6.8.0-beta
- ArduinoJSON 6.8.0-beta
- Update version_info
2019-02-11 17:31:12 -05:00
Debashish Sahu
f82e944d5d HA 0.87 support
- fix https://github.com/toblum/McLighting/issues/327
2019-02-08 16:00:50 -05:00
Debashish Sahu
39a773805e Make PIN configurable via REST API
- new "REST API": /pixels?pin=GPIO_NO to change PIN# (Allowed GPIO values: 16/5/4/0/2/14/12/13/15/3/1)
2019-01-25 14:15:39 -05:00
Debashish Sahu
118c35d2a8 Update McLighting.ino
- Delete pointers before reinitialization
2019-01-24 16:13:22 -05:00
Debashish Sahu
a6bf641700 Update McLighting.ino
USE_WS2812FX_UART are pointers!
2019-01-24 14:39:13 -05:00
Debashish Sahu
a1851e0cb8 Update McLighting.ino 2019-01-24 14:00:27 -05:00
Debashish Sahu
9efcb4530b Pointers for Strip
- Pointers added for WS2812FX & NeoPixelBus
- new "REST API": /pixels?ct=xxx to change length of LED strip
- new "REST API": /pixels?rgbo=xxx to change RGB order
2019-01-24 13:31:15 -05:00
Debashish Sahu
0c473afb7d Update McLighting.ino 2019-01-24 12:29:00 -05:00
Debashish Sahu
f3157deb1e v 2.2.1
- checkForRequests() is vital for e131 mode, remove from #ifdef ENABLE_LEGACY_ANIMATIONS
- Minor fixes related to NeoPixelBus UART methods
- Modify platformio.ini for future bump to esp8266-arduino v2.5.0 (shamelessly stolen settings from espurna project)
- Gzipped index2.htm & edit.htm.gz(untouched), convereted to hex format using xxd -i abcd.gz > html_gz.h
- Think about using pointers for WS2812FX (no code regarding this in initial push)
2019-01-24 12:26:46 -05:00
Debashish Sahu
a78f4882e0 Travis CI
- Added Travis CI support
2019-01-06 15:27:06 -05:00
Debashish Sahu
2551240e63 UART methods & HA 1.31 support
- Update UART 1 and 2 methods for NeoPixelBus v2.4.1
- HA E1.31 support
2019-01-06 15:19:14 -05:00
Debashish Sahu
00ff5c3aee update getModes()
- Add E1.31 mode to getModes(), no need to change McLightingUI
- "=e131" and "/e131" will activate E131 mode via websockets or MQTT
- Reverted McLightingUI back to stock
2018-12-24 00:25:05 -05:00
Debashish Sahu
763b0dab2c Update request_handlers.h 2018-12-15 22:57:43 -05:00
Debashish Sahu
189254afcd e131 quick fixes
- 170 LEDs per universe predefined
- >Second universe data fixed
-  Reduce the number of default universe
2018-12-13 22:02:30 -05:00
Debashish Sahu
26c1996e2a keeping up with v 2.1.9 2018-12-13 11:27:53 -05:00
Debashish Sahu
35b989e98d e131 update + HA: sendState() update
- Stop strip when e131 is sent
- sendState() needs extra memory for jsonBuffer
- sensState() effect can be sent directly instead of copying from PROGMEM
2018-12-12 20:46:56 -05:00
Debashish Sahu
1519ba81c4 Update request_handlers.h 2018-12-11 22:51:20 -05:00
Debashish Sahu
edc7c56c1a e131 mode
Submit "=e131" via mqtt or websocket to activate
2018-12-11 22:42:15 -05:00
Debashish Sahu
8e77f37966 Update version_info.ino 2018-12-11 22:28:03 -05:00
Debashish Sahu
181ff7f1d7 fix #283
For some reason defining the exact size is causing mqtt_user and mqtt_pass are not stored in SPIFFs. Dynamic assignment should take care of this.
Should take care of expception 28
2018-12-11 22:24:46 -05:00
Debashish Sahu
79393df8a9
Update version_info.ino 2018-12-11 12:01:50 -05:00
Debashish Sahu
153d481607
Update version.h 2018-12-11 11:59:39 -05:00
Debashish Sahu
7e9bfac8f7 HA 0.84 autodiscovery update
Changes as per https://github.com/home-assistant/home-assistant/pull/18227 and suggestion from https://github.com/toblum/McLighting/issues/286
2018-12-11 10:30:31 -05:00
Debashish Sahu
267a8f0f2e HOSTNAME is %s 2018-12-03 16:42:06 -05:00
Debashish Sahu
f21de6b607 Incremental Update
* Contributions by @	MrTheBarbarian from https://github.com/toblum/McLighting/pull/270 Putting Static IP config added in Jun 17th 2018 to definitions.h
* rethink ESP.getChipId implementaion
* check ArduinoJSON version
* Try restting prevmode as suggested in https://github.com/toblum/McLighting/issues/276
2018-12-03 16:35:26 -05:00
Debashish Sahu
ac5e873ddc Disabled DMA/UART by default and SPIFFs 2018-11-06 11:13:59 -05:00
Debashish Sahu
62ac728783 add a symbolic link to index.htm and index2.html with the respective submodule 2018-11-06 11:12:34 -05:00
Debashish Sahu
a0680884f9 Retire NeoAnimationFX & Fix #248
* Retire NeoAnimationFX
* Use DMA or UART method along with WS2812FX instead
* fix #248
2018-11-05 16:07:30 -05:00
Debashish Sahu
c53d02bdbe Fix https://github.com/toblum/McLighting/issues/248
Address https://github.com/toblum/McLighting/issues/248
Commented our because # only is ment to change color and not the state
2018-10-15 12:09:58 -04:00
Debashish Sahu
6d8269f99c fix #224
- try to fix the way brightness is processed
2018-10-02 10:06:59 -04:00
debsahu
6fc7a3a02e fix https://github.com/toblum/McLighting/issues/206
Correct usage of measureJson()
- Fix https://github.com/toblum/McLighting/issues/206
2018-07-10 08:53:01 -04:00
debsahu
a84bd04001 Fixes for ArduinoJson 6.1.0-beta 2018-07-05 13:12:54 -04:00
debsahu
c754983d3b Added extra WiFiManger settings 2018-06-19 19:40:21 -04:00
debsahu
4994d59f9b fix JSON memory allocation for '/esp_status'
- removed predefined memory allocation for DynamicJsonDocument as the
size could vary depeneding on what options are enabled
2018-06-19 19:25:01 -04:00
Tobias Blum
55e7ba80c2 Updated version_info 2018-06-20 01:11:17 +02:00
Tobias Blum
9244e664ca Added some internal variables to /esp_status 2018-06-20 01:07:46 +02:00
Tobias Blum
4bdde7daa0 Removed some unused code 2018-06-20 00:23:50 +02:00
Tobias Blum
1b79fa0874 Example line for static IP as discussed in https://github.com/toblum/McLighting/issues/187 2018-06-20 00:08:51 +02:00
debsahu
e499033ef3 Upgrade to ArduinoJSON 6.xx from 5.xx 2018-06-17 15:53:35 -04:00
debsahu
857763cdb4 fix typo
* fix typo assignment and comparison
2018-05-12 01:44:35 -04:00
debsahu
b104178b56 ArduinoJSON replies and strip.trigger() added
* Use ArduinoJSON to send JSON replies
* Add strip.trigger() according to
https://github.com/toblum/McLighting/issues/166
2018-05-11 17:21:12 -04:00
debsahu
d842c6293f versioning + update '/esp_status'
* Start of versioning v2.1, added version support
* '/esp_status' returns lot more info
2018-05-07 12:58:08 -04:00