Plugin issue managed counter
Posted: Friday 07 October 2022 13:40
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 ?
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 ?