From: Gregg L. <gr...@li...> - 2009-09-08 03:00:00
|
Tom MacLean wrote: > I've been trying to fix up some of my insteon problems, and in the process > of doing so, I noticed the web UI isn't updating. When I click on the light > item, the light turns on, but the icon doesn't update. I know I don't use > the UI all that much, but I could swear the icon used to update. To see the > item state, I have to reload the web page ... I noticed this also after adjusting the logic so that the item's state only changes on acknowledgment from the device. This implies a small delay (usually less than a second); but, apparently not enough to support the web page requery. Most of mh's items--being descendants (of sorts) of non-ack protocols (specifically, x10)--assume that everything always works as originally instructed and therefore set state to the value that is transmitted. I haven't personally looked at the web code to see if perhaps some exception is possible. More than likely, it will take a proper AJAX-like implementation to support inherently async timing/protocols. Gregg |