value with the date and time.
Posted: 18 Jan 2020, 21:27
I want to send a value with a timestamp. I use sendtohttp and mqqt for this.
When I use the system variables "%lcltime% or %lcltime_am% only the date comes but not the time.
What am I doing wrong?
Greetings Dondolo
(mega-20191104)
SendToHTTP 192.xxx.xxx.xx,80,control?cmd=event,Wasser
SendToHTTP 192.xxx.xxx.xx,80,control?cmd=event,Time=%lcltime_am%
Publish %sysname%/Wassermeldung,Wasser
Publish %sysname%/Wlanstärke,%rssi%
Publish %sysname%/Zeitstempel,%lcltime_am%
When I use the system variables "%lcltime% or %lcltime_am% only the date comes but not the time.
What am I doing wrong?
Greetings Dondolo
(mega-20191104)
SendToHTTP 192.xxx.xxx.xx,80,control?cmd=event,Wasser
SendToHTTP 192.xxx.xxx.xx,80,control?cmd=event,Time=%lcltime_am%
Publish %sysname%/Wassermeldung,Wasser
Publish %sysname%/Wlanstärke,%rssi%
Publish %sysname%/Zeitstempel,%lcltime_am%