Commit graph

278 commits

Author SHA1 Message Date
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
d2fd2a9543 Update .gitignore 2018-12-03 16:37:58 -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
97120a196c
Merge pull request #249 from toblum/master
resync from master
2018-10-15 12:03:30 -04:00
Debashish Sahu
e19ec287af
Update platformio.ini
updating ArduinoJSON to v 6.4.0-beta from 6.1.0-beta
2018-10-10 18:39:33 -04:00
Debashish Sahu
1821f39bc1
Merge pull request #242 from toblum/develop
fix #224
2018-10-02 15:41:02 -04:00
Debashish Sahu
6d8269f99c fix #224
- try to fix the way brightness is processed
2018-10-02 10:06:59 -04:00
Tobias Blum
1bb949616f
Add NodeMCU board and NeoanimationFX library 2018-09-16 22:09:30 +02:00
Tobias Blum
6dc87a4a0a
Merge pull request #230 from zewelor/add_platformio_config
Add basic platformio config
2018-09-16 22:06:42 +02:00
zewelor
bf6b3a59d0 Add basic platformio config 2018-09-08 22:48:31 +02:00
Debashish Sahu
172d93443d
Merge pull request #207 from toblum/develop
fix https://github.com/toblum/McLighting/issues/206
2018-07-10 08:55:27 -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
Tobias Blum
94059ebecf
Merge pull request #203 from toblum/develop
Develop
2018-07-09 18:37:45 +02: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
Tobias Blum
a6f2fdf24d
Merge pull request #191 from toblum/develop
fix JSON memory allocation for '/esp_status'
2018-06-20 01:36:40 +02: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
df29d6bb7b Merge branch 'develop' 2018-06-20 01:11:57 +02:00
Tobias Blum
55e7ba80c2 Updated version_info 2018-06-20 01:11:17 +02:00
Tobias Blum
0b5dae9e80 Merge branch 'develop' 2018-06-20 01:09:49 +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
Tobias Blum
6798a128b6
Update README.md 2018-06-06 09:59:40 +02:00
debsahu
77be51d6c5 Thicker tracks for 5V and GND lines 2018-05-14 15:59:33 -04:00
debsahu
0c1a58dee3 PCB
* Added PCB Design https://easyeda.com/debsahu/McLighting
2018-05-14 15:38:05 -04:00
Tobias Blum
6a7c8f55fc
Merge pull request #168 from toblum/develop
merge develop
2018-05-14 20:52:14 +02:00
Tobias Blum
e86829c3b5
Update README.md 2018-05-13 17:48:40 +02: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
Tobias Blum
4576b3602d
Update README.md 2018-04-25 21:13:32 +02:00
Deb
8520e9b350
Merge pull request #151 from debsahu/master
Added #define ENABLE_MQTT_HOSTNAME_CHIPID, disabled by default
2018-04-24 16:53:17 -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
Deb
8a1e50af95
Merge pull request #148 from debsahu/master
restapi fixes
2018-04-22 15:26:52 -04:00