Menu

listener_gad working??

Help
Ben08
2008-09-14
2012-12-14
  • Ben08

    Ben08 - 2008-09-14

    Dear JF,

    trying out the listener_gad I noticed, that linknx does not update the gad value if a change in listener_gad is received. From one of your previous posts I gathered that this was once working. Has this been dropped in recent releases?

    my config:

    <object id="light_kitch_hob" gad="2/0/9" listener_gad="13/1/10" >Light hob kitchen</object>
    <object id="status_light_hob" gad="13/1/10" type="1.001" >Status light hob</object>

    linknx log:

    Write from 1.1.8 to 2/0/10: 00
    New value 0 for switching object light_kitchen
    Write from 1.1.3 to 13/1/11: 00
    New value 0 for switching object status_light_island
    Write from 1.1.3 to 13/1/10: 00
    New value 0 for switching object status_light_hob
    Write from 0.0.0 to 2/0/1: 00

    2/0/1 is light_island to which 13/1/11 is the status object.
    2/0/1 is not updated in my linknx powered web interface when I refresh after light_kitchen changes its value.  Interestingly though, when I change the value of 2/0/1 using the web interface to bring it in line with its real value, linknx log does not advertise the change in value as new (as if it knew it already:"Write from 0.0.0 to 2/0/1: 00" ).

    My web interface uses your sample php code. linknx is 0.0.1.25.

    What am I missing?

    Kind regards,
    Bernhard

     
    • jef2000

      jef2000 - 2008-09-15

      Hi,

      I guess the post you refer to is http://sourceforge.net/forum/message.php?msg_id=4609749 .
      You have to configure it like this:

      <object id="light_kitch_hob" gad="2/0/9"><listener gad="13/1/10"/>Light hob kitchen</object>

      Regards,

      Jean-François

       
    • Ben08

      Ben08 - 2008-09-15

      Dear Jean-François,

      maintenant ça marche!

      Merci beaucoup,
      Bernhard

       

Log in to post a comment.