Debashish Sahu

Results 67 comments of Debashish Sahu

@bpohvoodoo There are a few minor bug fixes I caught yesterday. They are in the develop branch. I'm not opposed to the idea of merging with develop and some people...

@HiranChaudhuri comment to disable https://github.com/FabLab-Luenen/McLighting/blob/ae219075583ff0cd8e391d75239b48c2d310317e/Arduino/McLighting/definitions.h#L23

untested in esp8266 arduino core v2.5.1, use 2.4.2 instead for now.

WebUI is all the hard work of @toblum. I dont do web. I spent the whole thanksgiving holidays to learn javascript & css and I'm amazed at what it can...

You have a pointer to a local variable declared in the function that's gets destroyed after execution of function. Make it global or memory manage the array manually.

See section 2.5 here http://www.ntu.edu.sg/home/ehchua/programming/cpp/cp4_pointerreference.html

**uint32_t color** is declared inside the function which is destroyed after the execution of function. The pointer now points to this destroyed location, which is the cause of your issues.

@AvanOsch Great work, tracking this. @bpohvoodoo thanks, now I know the changes required.

Ahh ok HA has now changed the way it sends brightness. Earlier they were sent separately.

I dont know how to fix this, but what I do is write all WiFi settings to SPIFFs and read it back on startup and do a WiFi.begin with these...