Custom virtual sensor

Moderator: leecollings

Post Reply
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Custom virtual sensor

Post by alexsh1 »

Hello all,

I have a lua script collecting some astronomical data. Now I have to save, say moon rise (this is time). I created a custom virtual sensor, but I struggling to save time in a format hh:mm into the sensor. Is it possible at all? The time is saved either as hh or as mm or hhmm but not as hh:mm. Maybe there is another virtual sensor better suited for this purpose?

Thanks
Alex
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest