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
debsahu
de5f11bab8
Add a check to MQTT_HOME_ASSISTANT_SUPPORT
...
there is some confusion on gitter on just enabling
MQTT_HOME_ASSISTANT_SUPPORT will enable ENABLE_HOMEASSISTANT. This is a
compiler check to make sure if MQTT_HOME_ASSISTANT_SUPPORT is enabled
ENABLE_HOMEASSISTANT must also be enabled
2018-05-07 12:38:23 -04:00
Tobias Blum
6db19b7555
Send Access-Allow-Control-Origin to allow easier AJAX requests
2018-04-30 02:22:06 +02:00
debsahu
7b49df36a7
no need to send mqtt message on ws call ~
2018-04-29 01:53:37 -04:00
debsahu
25deb214a2
Code cleanup according to #154
...
https://github.com/toblum/McLighting/issues/154 needs testing before
merging with master
2018-04-28 18:46:16 -04:00
debsahu
250981ec4a
Disable #define ENABLE_MQTT_HOSTNAME_CHIPID as default
...
* https://github.com/toblum/McLighting/pull/151
2018-04-24 16:27:34 -04:00
debsahu
cd4805a728
Removed ENABLE_HA_HOSTNAME_CHIPID
...
As per discussion in https://github.com/toblum/McLighting/issues/149
removed ENABLE_HA_HOSTNAME_CHIPID. No point in sending HOSTNAME+ChipID
to HA, just use this feature to create unique ID for MQTT clients.
2018-04-23 17:39:00 -04:00
debsahu
a27611b813
Add ChipID to hostname
...
* Address https://github.com/toblum/McLighting/issues/149
#define ENABLE_MQTT_HOSTNAME_CHIPID
#define ENABLE_HA_HOSTNAME_CHIPID
2018-04-23 15:55:47 -04:00
debsahu
ba5146d3d7
Use global variables to handle websocket request
...
modified handleSetWS2812FXMode to use global variables
2018-04-22 10:36:00 -04:00
debsahu
c1c24b42d0
Solve getstatus not return values correctly
...
Resolve https://github.com/toblum/McLighting/issues/146
2018-04-22 10:01:59 -04:00
debsahu
420909fb20
legacy animations optional
...
* Added Legacy animations as an option
* Removed ALL mode, replaced with ws2812fx_mode = FX_MODE_STATIC; mode =
SET_MODE;
* When mode == SET_MODE, set speed, color, etc automatically, needs a
new MODE prevMode
2018-04-14 19:19:44 -04:00
debsahu
ed5e4783be
updates to previous fix
...
* updates to previous fix, solves
https://github.com/toblum/McLighting/issues/128
2018-04-12 18:46:10 -04:00
debsahu
a7cce99be3
fixes
...
* sets speed in getArgs() solves
https://github.com/toblum/McLighting/issues/128
* set strip.setColor in SET_MODE before strip.setMode solves
https://github.com/toblum/McLighting/issues/132
2018-04-12 14:44:42 -04:00