Sorry I have an other question. I'm trying to power on a switch and turn it off on a specific time. I've created a device and a rule but it is not working. Is it only possible to change it by using a webbrowser?
If I use this command: http://<Dev IP>/control?cmd=GPIO,12,1
it works fine
Thanks for the help
Hans
Time power on
Moderators: grovkillen, Stuntteam, TD-er
Time power on
- Attachments
-
- Device
- pict1.jpg (74.24 KiB) Viewed 4138 times
-
- Rule
- pict2.jpg (57.29 KiB) Viewed 4138 times
Re: Time power on
Hi,
have you configured NTP (in the Advanced page) and are you getting the time correctly?
have you configured NTP (in the Advanced page) and are you getting the time correctly?
Re: Time power on
In your rule you wrote "if [relay#switch]=0".
But none of your devices has a name "relay" !? [devicename#valuename] e.g. [GPIO12#Sw12]
But none of your devices has a name "relay" !? [devicename#valuename] e.g. [GPIO12#Sw12]
Re: Time power on
Hi Hans,
For GPIO toggle, you might find helpful this thread: viewtopic.php?f=6&t=2039&start=40 (messages 41-43).
Since you try to control GPIO12 it should not be defined as "Switch input".
And per NTP: in EspEasy 2.0 the NTP does not work quite well, explained as failing ping to the NTP server. This thread viewtopic.php?f=6&t=3884 proposes establishing NTP server @your premises. I did that on Raspberry PI and it works with EspEasy 2.0.Good guide for NTP is: http://raspberrypi.tomasgreno.cz/ntp-cl ... erver.html -> Just remember to add 'sudo' to commands
For GPIO toggle, you might find helpful this thread: viewtopic.php?f=6&t=2039&start=40 (messages 41-43).
Since you try to control GPIO12 it should not be defined as "Switch input".
And per NTP: in EspEasy 2.0 the NTP does not work quite well, explained as failing ping to the NTP server. This thread viewtopic.php?f=6&t=3884 proposes establishing NTP server @your premises. I did that on Raspberry PI and it works with EspEasy 2.0.Good guide for NTP is: http://raspberrypi.tomasgreno.cz/ntp-cl ... erver.html -> Just remember to add 'sudo' to commands
Re: Time power on
Thanks for the help, works fine now
Hans
Hans
Who is online
Users browsing this forum: No registered users and 21 guests