Plugin issue managed counter

Python and python framework

Moderator: leecollings

Post Reply
enboer
Posts: 35
Joined: Tuesday 02 October 2018 15:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Plugin issue managed counter

Post by enboer »

I have written a python plugin but I have issues with a managed counter. I using this line to update the device value
Devices[14].Update(nValue=0, sValue=f"{etoday};{e_incr};{datestring}")

This will be then command with the variable values: Devices[14].Update(nValue=0, sValue="7440;10;2022-10-07 13:20:12")

But the device is not updated. If I remove the datestring ( so only 2 arguments) it is updated, but I do not have history then. Any idea what I do wrong here ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest