Blonder01
(Ansgar Honerkamp)
July 14, 2019, 12:14pm
1
Hey everyone,
I made a rule to send weatherforecaste at 7:00 and 14:00 everyday.
I also send the timestamp.
Is it possibel to format this info (like at items)?
ruel: Vorhersagezeit: " +localHourlyForecast24Timestamp.state +
item “Vorhersagezeit [%1$td.%1$tm.%1$tY %1$tH:%1$tM]”
rossko57
(Rossko57)
July 14, 2019, 12:23pm
2
You could have a search of this forum to see if anyone has done this sort of thing before, example
You could do it like this:
val String datetime_string = Current_DateTime.state.format("%1$tA, %1$td/%1$tm/%1$tY, %1$tH:%1$tM")
sendTelegram("TELEGRAMbot", "SOMETHING Changed to state X at " + datetime_string)
I found that searching for “datetime format message”
1 Like
Blonder01
(Ansgar Honerkamp)
July 14, 2019, 12:28pm
3
Thank’s.
I didn’t found it - wrong search.