koburg wrote:Hi I got this error but the devices is working seems to
Short version:
This is probably nothing to worry about unless you see it repeatedly, in which case the issue is probably more systemic than just this plugin. You might want to disable/enable the affected device to ensure it gets back in sync.
Long version:
This plugin relies on communication from Indigo about tracked device states. This is pretty reliable, but not bulletproof. Most device types from this plugin are (eventually) self-correcting -- timers expire and/or tracked entities change and the plugin re-evaluates what the device state should be.
But Threshold Timer devices are different. They need to maintain an internal tally of how many tracked entities are on. Incrementing whenever a tracked entity turns on and decrementing when a tracked entity turns off. The bottom line is that if a message from Indigo gets missed, the internal tally can get out of sync with the actual entities being tracked. If the tally drops below zero or is higher than the number of tracked entities, and error is generated as you have seen.
----
I notice that the Threshold Device this error is about is only tracking a single entity ("max: 1"). This device type is intended to track multiple inputs and you may get better results with one of the other plugin device types like Persist or Lockout.
koburg wrote:and I found that your plugin do not support Nordic letters like
ÆØÅ
dont know if it is displayed correct when you look at it.
I'm not really sure what is entailed to support Nordic letters. Is there a plugin that handles this well that I can try to emulate?