Menu

linknx hangs by inport

Help
MarioP
2009-07-22
2012-12-14
  • MarioP

    MarioP - 2009-07-22

    Hello

    I write just a java utility to edit objects

    the load over the xml-server works ( "<read><config><objects/></ config></ read>")

    write to the xml-server linknx hangs after line 5

    <write><config><objects>
      <object init="request" type="1.001" id="licht_esszimmer" gad="0/0/21" flags="cwtu" log="false">Licht Esszimmer                <listener gad="10/0/0"/>
      </object>
      <object init="request" type="3.007" id="licht_esszimmer_dimmen" gad="0/0/22" flags="cwtu" log="false">Licht Esszimmer dimmen</object>
      <object init="request" type="1.001" id="licht_esszimmer_dimmen_status" gad="0/0/24" flags="cwtu" log="false">Licht Esszimmer dimmen Status</object>
      <object init="request" type="5.xxx" id="licht_esszimmer_dimmen_value" gad="0/0/23" flags="cwtu" log="false">Licht Esszimmer dimmen Wert</object>
      <object init="request" type="5.xxx" id="licht_esszimmer_dimmen_value_status" gad="0/0/25" flags="cwtu" log="false">Licht Esszimmer dimmen Wert Status</object>
      <object init="request" type="1.001" id="licht_kueche" gad="0/0/31" flags="cwtu" log="false">Licht Kueche</object>
      <object init="request" type="9.xxx" id="luftfeuchtigkeit" gad="9/1/80" flags="cwtu" log="false">Luftfeuchtigkeit</object>
      <object init="request" type="9.xxx" id="sonne" gad="9/1/40" flags="cwtu" log="false">Sonne Sueden</object>
      <object init="request" type="9.xxx" id="temp_aussen" gad="9/1/70" flags="cwtu" log="false">Aussentemperatur</object>
      <object init="request" type="9.xxx" id="wind" gad="9/1/10" flags="cwtu" log="false">Windgeschwindigkeit</object>
      <object init="request" type="20.102" id="wohnzimmer_betriebartenumschaltung" gad="8/3/44" flags="cwtu" log="false">Wohnzimmer Betriebartenumschaltung</object>
      <object init="request" type="9.xxx" id="wohnzimmer_istwert" gad="8/3/31" flags="cwtu" log="false">Wohnzimmer Istwert</object>
      <object init="request" type="9.xxx" id="wohnzimmer_sollwert" gad="8/3/32" flags="cwtu" log="false">Wohnzimmer Sollwert</object>
    </objects></config></write>

     
    • MarioP

      MarioP - 2009-07-26

      Hello

      attached link to the program

      http://rapidshare.com/files/260135643/Objects.exe.html

      for export linknx xml server depends on

      Many greetings

      Mario

       
    • jef2000

      jef2000 - 2009-07-27

      Hi,

      I reproduced your problem and I think I solved it. It happens only when I re-configure the same objects multiple times.
      Here's the patch:
      http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/src/objectcontroller.cpp?r1=1.28&r2=1.29&view=patch

      Your configuration tool could be interesting for other people. Could you add a description and link to the excutable in the wiki section "Interesting tools"?
      http://linknx.wiki.sourceforge.net/Interesting+tools

      Regards,

      Jean-François

       
    • MarioP

      MarioP - 2009-07-27

      Hello,

      thank you now it works

      I have a few small errors eliminated
      then I will have an entry in "Interesting tools make

      Many greetings

      Mario

       
  • knaller

    knaller - 2010-10-22

    Hi Mario,

    did you fix the erros?
    Does this utility convert ETS3 exports into linknx XML?
    If so, this would be huge.
    If there are still issues, can you upload the source and share it.

    Thanks

    Dietmar

     
  • JensH

    JensH - 2010-10-26

    Hi Dietmar, I have added some "best practice" in the
    "Interesting tools" section. Might be that could help you.

    https://sourceforge.net/apps/mediawiki/linknx/index.php?title=Interesting_tools

    best Regards, Jens

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.