hello ,
Is there a command for timezone as for example ?
http://192.168.1.10/?cmd=timezone:120
thank you
command exist for timezone ?
Moderators: grovkillen, Stuntteam, TD-er
Re: command exist for timezone ?
There exists a pretty nice and extensive documentation: https://espeasy.readthedocs.io/en/latest/
It will answer your question.
See: https://espeasy.readthedocs.io/en/lates ... l-commands
(The syntax for sending this command via http is at the beginning of this page)
It will answer your question.
See: https://espeasy.readthedocs.io/en/lates ... l-commands
(The syntax for sending this command via http is at the beginning of this page)
Re: command exist for timezone ?
thank you , but i try
http://192.168.1.10/control?cmd=timezone:120 or
http://192.168.1.10/control?cmd=TimeZone:120 or
http://192.168.1.10/control?cmd=timezone,120 or
http://192.168.1.10/control?cmd=TimeZone,120
nothing
Command unknown: timezone,120
http://192.168.1.10/control?cmd=timezone:120 or
http://192.168.1.10/control?cmd=TimeZone:120 or
http://192.168.1.10/control?cmd=timezone,120 or
http://192.168.1.10/control?cmd=TimeZone,120
nothing
Command unknown: timezone,120
Re: command exist for timezone ?
I see..
The workaround is to enable rules and make an event:
Then the http command would be:
http://192.168.1.10/control?cmd=Event,SetTZ=120
The workaround is to enable rules and make an event:
Code: Select all
On SetTZ Do
TimeZone,%eventvalue%
Endon
http://192.168.1.10/control?cmd=Event,SetTZ=120
Re: command exist for timezone ?
The reason it might not work directly and thus needs an event for it is because it is a system command which is set to be "restricted".
This means it cannot be called directly from any origin.
There are other restricted commands, like the one to reset to factory defaults. For that one it is perfectly clear why that one should be restricted![Lach :)](./images/smilies/icon_e_smile.gif)
Typically, commands which change system settings are restricted and thus can only be called from the serial port or the rules.
This means it cannot be called directly from any origin.
There are other restricted commands, like the one to reset to factory defaults. For that one it is perfectly clear why that one should be restricted
![Lach :)](./images/smilies/icon_e_smile.gif)
Typically, commands which change system settings are restricted and thus can only be called from the serial port or the rules.
Re: command exist for timezone ?
thank you chromo23 for the tip,
I will be able to make a script to send on several at each time change
i understand the restricted TD-er , thank you for this presision
I will be able to make a script to send on several at each time change
i understand the restricted TD-er , thank you for this presision
Re: command exist for timezone ?
Why do you want to change time zones manually ?
The nodes do not have Access to the internet ?
The nodes do not have Access to the internet ?
-D
Who is online
Users browsing this forum: Ahrefs [Bot] and 108 guests