It does take multiple messages with the same sessionID etc.
Now I'm trying to figure out how to get the press of a button (or buttons) to activate a server script. I've looked at the Javascript and it appears that the real-time widgets use a partial polling method (as opposed to an AJAX-like approach). There is also the email method.
So, from Iobridge's side, which is the preferred method?
- Partial-polling multiple widgets
- Lots of emails
- Active polling of the module status (with a flip-flop to capture the button press)
It would be nice if the module could issue local ethernet broadcast messages when status changes. I realize you probably have higher priorities....
(Incidentally, the real-time widgets have a memory leak under my Firefox3; the <head> keeps getting more and more <script> tags over time. Refreshing the page might cause a button press to be missed, so it's not really suitable for long-term monitoring.)