Jonisk smart light (with ESP Easy and LED WS2812B 5050 RGB LED Strip light)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Cheaps
Normal user
Posts: 10
Joined: 25 Nov 2017, 19:56

Jonisk smart light (with ESP Easy and LED WS2812B 5050 RGB LED Strip light)

#1 Post by Cheaps » 27 Dec 2017, 14:03

I'm busy with a new project, a smart Jonisk light. The cheapest way to make the light smart is to insert a E27 Philips Hue colour light, but of course it's cheaper and more interesting to 'hack' it with a custom made solution.

I have a NodeMCU 0.9 and a WS2812B LED strip (https://www.ebay.com/itm/WS2812B-5050-R ... 2749.l2649

The first thing I did was to 'demolish' the Jonisk light so that I can have wire acces via the original hole in the lamp.
Image


Secondly I flashed ESP easy Mega on it, and tried to configure the LED strip. I added a device (Neopixel candle) and after wiring the 5V, GND and GPIO-0 (D3)I was able to light op my LED and control it via the webinterface of ESP easy. Sadly I can't find anywhere a way to control the LED strip via HTTP commands or via Domoticz. After lot's of headache I still don't know a good solution to control the LED via Domoticz. I already added a dummy RGB controller but it doesn't work.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Jonisk smart light (with ESP Easy and LED WS2812B 5050 RGB LED Strip light)

#2 Post by Shardan » 27 Dec 2017, 20:47

Hello,

if you want to control "LED by LED" use the NEOPIXEL plugin instead of Neopixel_Candle.

As far as I can see the external commands in the candle plugin are commented out at this time
so they won't work.

Regards
Shardan
Regards
Shardan

Cheaps
Normal user
Posts: 10
Joined: 25 Nov 2017, 19:56

Re: Jonisk smart light (with ESP Easy and LED WS2812B 5050 RGB LED Strip light)

#3 Post by Cheaps » 28 Dec 2017, 22:22

Thanks for the suggestion! It worked out when I added a device, Neopixel basic, and enabled it, in stead of Neopixel Candle.

I finally made it, still not the full implementation in Domoticz, but it's a start, and controllable via http request,
http://myipadress/ control?cmd=neopixelall,255,100,0 for example
I can make a few shortcuts to pre-defined colours, but it's not ideal.


Image

A picture in a WAF colour ;) .

Duci
New user
Posts: 7
Joined: 29 Dec 2016, 15:41

Re: Jonisk smart light (with ESP Easy and LED WS2812B 5050 RGB LED Strip light)

#4 Post by Duci » 03 Jan 2018, 20:51

Cool! Can I ask you if you have a wiring scheme for the NodeMCU + the LED strip?

Cheaps
Normal user
Posts: 10
Joined: 25 Nov 2017, 19:56

Re: Jonisk smart light (with ESP Easy and LED WS2812B 5050 RGB LED Strip light)

#5 Post by Cheaps » 06 Jan 2018, 20:35

I connected the green cable (Din) GPIO pin to GPIO-0 (D3).

The LED strip is GND connected to GND on NODEMCU and
5V to 5V.

Be aware that you connect it well, and don't connect to the green cable to the wrong. I think I blew up one of my nodemcu's when the ground wasn't connected anymore and I think the 'gnd' went via the GPIO-0 pin. (the esp8266 won't boot anymore, and if I'm checking with a multimeter i see the 5v still 'awake' but on the 3v i don't see anything...

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests