This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Timestamp from Group address objects?
#1
Hi. 
I have added some Zigbee door sensors to check if doors are open/closed and send the data as a group address. In the group address overview there is a timestamp when it was last changed "UPDATED AT". I thought it would be nice to being able to show/use this timestamp example to see if doors have been opened while on travel, or to turn off heating if terrasse doors are open for more than 15 minutes etc. 

Is there a simple way to collect and display the "Updated at" column from the "Objects" ?
Schneider Wiser (homeLynk), Power Tags, DALI, Multitouch Pro, Panasonic Heating pump, Flexit balansed ventilation, HUE integration, Lemus Speaker system. Tibber integration.
Reply
#2
Code:
myobject = grp.find('0/0/1')
log(myobject.updatetime)
Time in numeric format
------------------------------
Ctrl+F5
Reply
#3
You can also map an event script to this object and update another object with current date and time.
Reply
#4
(04.05.2022, 13:43)admin Wrote: You can also map an event script to this object and update another object with current date and time.

Thanks for your advice. That was clever Smile
Schneider Wiser (homeLynk), Power Tags, DALI, Multitouch Pro, Panasonic Heating pump, Flexit balansed ventilation, HUE integration, Lemus Speaker system. Tibber integration.
Reply


Forum Jump: