Commit graph

175 commits

Author SHA1 Message Date
Debashish Sahu
b15f013019 bug-fixes
- UART 1 and 0 were mixed up
- LWT revisit
- Custom mode needs index
2019-03-16 12:50:23 -04:00
Debashish Sahu
2806bb0910 Update request_handlers.h 2019-03-16 11:26:25 -04:00
Debashish Sahu
d6297ae954 LWT fix
- fix LWT track #340
- fix PubSubClient related bug
2019-03-08 14:46:44 -05:00
Debashish Sahu
5aebe40d09 Update version_info.ino 2019-03-08 11:01:09 -05:00
Debashish Sahu
1b6cf69182 hotfix #351
- hotfix #351
2019-03-08 10:59:36 -05:00
Debashish Sahu
fa918443c4 Update definitions.h
#define LED_TYPE_WS2811 disbaled by default
2019-03-07 12:50:22 -05:00
Debashish Sahu
6f188d455a WS2811 DMA
- Added Settings for WS2811
2019-03-07 12:49:30 -05:00
Debashish Sahu
7539888d6d PIO Bump & min pages
- Bump PIO core to 2.0.4
- `#define USE_HTML_MIN_GZ` is on by default unless @toblum objects
2019-03-07 11:43:23 -05:00
Debashish Sahu
b651b0b1dd Gamma and todo
- Gamma correction to LEDs
- Added stuff to todo
2019-03-06 10:38:19 -05:00
Debashish Sahu
3af70b4953 Update McLighting.ino
- "/pixelconf" code to check for HTTP method code is commented but placed for the future
2019-03-05 11:52:52 -05:00
Debashish Sahu
1f0087fec8 review update
- saveWS2812FXStripSettings.once(3, writeStripConfigFS); is called in every initStrip(), so no need for writeStripConfigFS() call.
- modify "/pixels" REST API to "/pixelconf" API
2019-03-05 11:42:01 -05:00
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