Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get it to work with D1 Mini #15

Open
miaszh opened this issue Jan 10, 2021 · 4 comments
Open

Cannot get it to work with D1 Mini #15

miaszh opened this issue Jan 10, 2021 · 4 comments

Comments

@miaszh
Copy link

miaszh commented Jan 10, 2021

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

Thanks

@freddieleeman
Copy link
Contributor

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.

@miaszh
Copy link
Author

miaszh commented Jan 11, 2021

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..?

@freddieleeman
Copy link
Contributor

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 }}

@pawrequest
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants