o bom seria progamar o timer do sonoff para reconhecer o horario am pm e montar uma cena a noite
I put a standard photocell inline to a Sonoff Basic device (called -Darkness).
When it gets dark, -Darkness turns on. I created a Scene in the eWeLink app to turn on the appropriate lights when -Darkness turns on.
You just have to position the photocell so it turns -Darkness on at the right time.
If it gets too cloudy/dark during the day, the lights go on and stay on.
I turn the lights off at a fixed time every night.
I named it -Darkness so it appears at the top of the list.
I have a Dusk and Dawn box that I have mounted outside. When the Sonoff 1 gang turns on by schedule the dusk sensor turns on the lamps if it s dark enough. When it gets lighter the sensor turns the lamps off. Towards the evening it goes on again and off as the schedule say so. There are a different in Lux between on and off at the sensor.It works great
Sunrise/Sunset has been available in eWeLink scenes for some time...
Iftt has a trigger sunset in the time or weather app
as you can only have a event after it happens the down dusk is most of the time to late
trigger this
http://lab.grapeot.me/ifttt/delay?event=Sunset_on&t=1410&key= webhook key
and create a webhook to youre device
this is a 2 step config!!
If anyone is interested I recently updated my dusk2dawn php script. This is designed as a cron job script that runs on a web server and automatically sends out commands through webhooks on IFTTT. It gives you precise control over dusk to dawn timing as well as any other timing functions on any device that can be controlled through IFTTT. I have been using it sucessfully for two years now.
---
You can find it on my website at: https://mresoftware.com/dusk2dawn.htm
The downloadable file has documentation as well as a new bonus script. Enjoy!
Angela Angle what scam are you trying to set?
Guys, for my clarity, if I name the City I live in and set Dawn - off / Dusk - on the software will switch based on the City time zone?
Stephen Howe yes but its a event meaning you cant change the timing to add or remove minutes.
sun set is sunset. and sunrise is sunrise. but yes its using your phone location (registration - adres ) of setting the time
Thank you Eelke.
Jimmy Pedersen
Hi.
A nice feature would be dusk/down on/off functionality.
Preferably with an configurable offset (with or without randomization).
Would be perfect for all outside illumination
Kind regards
51 people like this idea