Wifi Candle - illuminate with ESPEasy (WS2812)

Moderators: BertB, rtenklooster, Voyager, Stuntteam, Martinus

Message
Author
tozett
Normal user
Posts: 714
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#31 Post by tozett » 31 Oct 2016, 14:25

snow wrote:It's possible to use FastLED library instead of Adafruit_NeoPixel in your sketch?
FastLED supports basically all types of LED controllers, including NeoPixel ws28121B

hi dominik,
consider to use fastled lib (to play with?) as an alternative.
i found color-palettes very playful. you can change colors without chaning code for animation...

may have a look here and in the demo
https://github.com/FastLED/FastLED/wiki ... r-palettes

tozett
Normal user
Posts: 714
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#32 Post by tozett » 01 Nov 2016, 18:52

you got me starting again with espeasy and leds....

an actual finding, mabye of interest

+1

https://github.com/jasoncoon/esp8266-fastled-webserver

Mariete
Normal user
Posts: 13
Joined: 05 Nov 2015, 19:16

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#33 Post by Mariete » 23 Nov 2016, 09:25

Hello @moelski

Thank you very much for sharing your work.

I had it running in almost no time (5 minutes?) following your instructions.

Do you have plans to implement the Fire2012 algorithm? Or maybe some other person already did (being it integrated in Wifi Candle or just as a separate plugin)?

It would bee good to be able to adjust the strip's number of pixels.

I have plans to convert two old Ikea Kyoto lamps to WS2812 led strip and this effect is just what I need.

I already looked at the code but it's too complex for me to try to include the Fire2012.

User avatar
moelski
Normal user
Posts: 124
Joined: 31 Aug 2016, 06:33
Location: Germany - NRW
Contact:

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#34 Post by moelski » 24 Nov 2016, 19:19

Hi @all,

I had some busy days in the last weeks so I was not really able to follow all questions here ...
But it seems that there are some guys which have problems getting the candle up und running :o

So i think it would be the best to write a new tutorial with all steps explained in detail.
Hopefully my english skills will stand this adventure :D

@Mariete
Fire2012 algorithm
Will see ... Maybe in December. The main problem is that the Fire Simulation needs a lot more speed for running.
And the code is not so easy ... Maybe I give it a try ...
It would bee good to be able to adjust the strip's number of pixels.
That would be a good extension ... But again ... I can do it in december. no time before ...
consider to use fastled lib (to play with?) as an alternative.
I can check that ....

Ok guys ... Let me write the tutorial ... And hopefully all problems are solved ... :ugeek:
regards
Dominik

r_255
Normal user
Posts: 28
Joined: 20 Nov 2015, 20:42

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#35 Post by r_255 » 27 Nov 2016, 09:05

Hi Moelski,

We all have our favorite animation, and mine is disco :D
Would it be a sugestion to implement artnet as protocol for the ws2812/neopix ?

https://github.com/rstephan/ArtnetWifi/ ... oPixel.ino

Artnet is a protocol that is like dmx and there is many free software out there that does Fire, animated gifs, videos, or any other led candy, music controlled or even ambilight.

http://www.solderlab.de/index.php/software/glediator
http://www.live-leds.de/

Yes, i did try to make a plugin myself based on martinus his neopixel plugin, but failed hard. Some how i do understand, and can identify the blocks of code in general. But changing the neopixel plugin to the artnet code is just to much for my head.

TMS
Normal user
Posts: 1
Joined: 30 Nov 2016, 18:29

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#36 Post by TMS » 30 Nov 2016, 18:31

How do i controll this with Domoticz?

burton666
Normal user
Posts: 10
Joined: 02 Dec 2016, 19:52

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#37 Post by burton666 » 22 Dec 2016, 16:19

I am having some troubles getting this to work. The steps I have taken:

1: download ESP Easy 147 firmware.
2: Edit all files as the info says in the sketch
3: copy _P121_Candle.ino to ..\Source\ESPEasy -folder
3: Flash to ESP8266
4: use <IP>/upload the jscolor.min.js...
5: Neopixel is already installed if I understand correctly? In 147 there is already a folder called neopixel in libraries.

But I get no option to select candle/wifi candle under devices.

User avatar
moelski
Normal user
Posts: 124
Joined: 31 Aug 2016, 06:33
Location: Germany - NRW
Contact:

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#38 Post by moelski » 29 Dec 2016, 06:05

Hi burton666,

will check it today. I´m actually working on embedding the candle into my FHEM homeautomatisation system.
I will compile it with 147 and see if there are any problems left ...
regards
Dominik

User avatar
moelski
Normal user
Posts: 124
Joined: 31 Aug 2016, 06:33
Location: Germany - NRW
Contact:

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#39 Post by moelski » 29 Dec 2016, 08:04

Hi @all,

have done some work to enhance the documentation:
http://www.logview.info/Temp/CandleNotes.pdf

I will update the doc with information how to Setup FHEM and how to use MQTT.
regards
Dominik

Mariete
Normal user
Posts: 13
Joined: 05 Nov 2015, 19:16

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

#40 Post by Mariete » 29 Dec 2016, 10:10

I implemented the Fire2012 algorithm and it's working now.

I don't like the effect very much at the moment. May be it has something to do with the color mapping, not sure.

Give me some time to see if I can fix the color mapping issue and clean the code and I'll upload it to the playground (or just live the code here if it doesn't deserves a plugin).

You can see the effect here: https://youtu.be/KVLsspIZyyk

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests