For english speaking folks:
I made a patch to allow a client to be notified about object value changes on the XML interface.
The communication looks like this:
Request :<admin><notification><register id='dim_value_salon'/></notification></admin>
Response:<admin status='success'/>
Then when the object value changes, we receive:
<notify id='dim_value_salon'>64</read>
<notify id='dim_value_salon'>128</read>
And you can disable the notification like this:
Request :<admin><notification><unregister id='dim_value_salon'/></notification></admin>
Response:<admin status='success'/>
Bonjour,
Y a t-il un espoir dans une future version a ce que le serveur xml renvoie un etat apres changement constaté sur le bus.
Ceci serait idéal pour avoir une visu en temps reel sans a avoir a interroger regulierement les etats et consommer de la ressource inutilement.
Trés cordialement,
Yannick
Fonctionnalité discutée ici:
http://groups.google.be/group/domotique-EIB/browse_thread/thread/a867a441640ba5d3#
For english speaking folks:
I made a patch to allow a client to be notified about object value changes on the XML interface.
The communication looks like this:
Request :<admin><notification><register id='dim_value_salon'/></notification></admin>
Response:<admin status='success'/>
Then when the object value changes, we receive:
<notify id='dim_value_salon'>64</read>
<notify id='dim_value_salon'>128</read>
And you can disable the notification like this:
Request :<admin><notification><unregister id='dim_value_salon'/></notification></admin>
Response:<admin status='success'/>
The patch is available here: http://www.ouaye.net/linknx/other/object-value-notification-patch.txt
It's still "proof of concept" code. Use it at your own risks.
Regards,
Jean-François