Matt and Jay,
I'm running into an issue, which is probably a design limitation...
But what's a reasonable number of UpdateStateOnServer calls per second? The plugin I am currently working on is a active polling device. It actively is monitoring the comm port, and the packets it receives (approx 300-500 per second), can either be a "good", "Bad", or "Empty" packet...
The current design keeps track of these counts in the device states... But I believe that this is overloading the Indigo server, since the Indigo GUI locked up, and didn't start responding until I manually killed the plugin. (And had jumped from 0 empty's to 30,000 empty's in the state list).
I can write it to batch the updates, but I wanted to make sure you were aware of this potential limitation.
Also, is there someway to "batch" state updates for multiple states, so that I can set multiple states, and then push the updates for all of the states to the server at once?
- Ben