Hi,
Maybe this is an easy task, but i dont know how to solve this… i’ve read a lot of examples on the forum, but cant find a solution…
I have a item:
Switch MyItem1 { http=">[ON:POST:http://sample.com/pos?where=<VALUE_1>&since=<DATE_in_UTC>{Authorization=Bearer TOKEN}] >[OFF:POST:http://sample.com/pos?where=<VALUE_2>&since=<DATE_in_UTC>{Authorization=Bearer TOKEN}]" }
How can i pass the current date (formated in UTC) to the Item, so that the request sends it to the API?
This should be possible with a rule… but i dont know how structure it should have… and how to send the values to the switch item…
Any help is much appreciated
Thanks