thehookup/RGBW-Sunrise-Animation-Neopixel-

Cannot get it to work with D1 Mini

miaszh opened this issue · 4 comments

Hello there,
Is it even possible to get this cool thing to work over D1 Mini?

Thanks

Yesterday I've upgraded my sunrise setup to a D1 Mini running WLED. It also has the Sunrise / Sunset effects and loads more! It also has Home Assistant integration, making installation and control a lot easier.

Yesterday I've upgraded my sunrise setup to a D1 Mini running WLED. It also has the Sunrise / Sunset effects and loads more! It also has Home Assistant integration, making installation and control a lot easier.

Actually I already have the WED running on NodeMCU, but is it customizable as the sketch made by the hookup? To send a mqtt message to start the effect and for how long, etc..?

Here you go:

data:
  entity_id: light.bedroomsunrise
  effect: Sunrise
  speed: 10

The speed argument is the number of minutes for the sunrise to last. I use a template in Home Assistant to get the 'next_alarm' time from my phone and subtract the number of minutes the sunrise lasts.

{{ (as_timestamp(states("sensor.my_phone_next_alarm")) - as_timestamp(now())) < 600 }}

what changes need to be made to the original ino file to work with d1 mini?