Menu

Start eibd & linknx & knxweb, please help me.

Help
Anonymous
2008-06-24
2012-12-14
  • Anonymous

    Anonymous - 2008-06-24

    Hi,
    i'm a student of the university of Urbino in Italy, i studing this project for my thesis but i can't start.

    I have a panel domotic to perform laboratory tests with the devices Merten: 

    * My Merten devices are: 

    - Push-button interface 
    Art. no. 6708xx 

    - Blind/switch actuator REG-K/ 8x/16x/10 with manual mode 
    Blinds/switch actuator with manual mode 
    Art. no. 649908 

    - Multi-function push-button with room temperature control unit 
    System M multifunctional push button, 2-gang/4-gang with RTCU 
    Art. no. 6232../6236../6273../6274.. 

    - Power supplies 
    Power supply 160 REG-K 
    Art. no. 683329 

    - IP Interfaces
    Siemens N148/21 
    Art. no. 5WG1 148-1AB21

    i want start this project on the ip interfaces, so i try this command:

    1)eibd -d -D -S -T -i ipt:192.168.2.141:3671
      *where 192.168.2.141 is the ip of the ip interfaces
      result---> o.k.

    2) build compile and execute the linknx project whit this command:
       linknx

    3) start the knxweb project, upload the image of my panel

    4) i try to configure but i don't understand what??

       the file linknx.xml in the directory /conf of linknx project or the design.xml in the directory of /design of knxweb project

    5) i programm my panel in thi way:
       when an ON telegram arrive to the group address 0/0/1 all the light goes ON
       when an OFF telegram arrive to the group address 0/0/1 all the light goes OFF

      i want implement this whit your project.

    Can you help me?

    Sorry for my bad English,
    Regards,
    Marino Buccolini.

     
    • jef2000

      jef2000 - 2008-06-24

      Hi,

      If you execute "linknx --help", you'll get an overview of the possible options:

      > ./linknx --help
      Usage: linknx [OPTION...]
      LinKNX -- KNX home automation platform
      (C) 2007 Jean-François Meessen <linknx@ouaye.net>

        -c, --config[=FILE]        read configuration from file (default:
                                   /var/lib/linknx/linknx.xml)
        -d, --daemon[=FILE]        start the program as daemon, the output will be
                                   written to FILE, if the argument present
        -p, --pid-file=FILE        write the PID of the process to FILE
        -w, --write[=FILE]         write configuration to file (if no FILE specified,
                                   the config file is overwritten)
        -?, --help                 Give this help list
            --usage                Give a short usage message
        -V, --version              Print program version

      Mandatory or optional arguments to long options are also mandatory or optional
      for any corresponding short options.

      If you start linknx without any options, it will not look at your config file at all. I agree that it can look stupid but that's the way it is and the reason why is historical. At the beginning, I was thinking to always start with an empty configuration and have another componenet configure it using  the XML interface.

      If you start it with just -c, it will load the config file in the default  location: /var/lib/linknx/linknx.xml
      If you want to use another config file, just put the filename after the -c like this: linknx -c/home/you/config/yourconfig.xml

      The linknx.xml file in the /conf directory is an example of linknx config. It the objects, rules and other services but has nothing  to do with the visualization done by knxweb, except that the objects defined here will be available in knxweb.

      For your system, a simple config could be:
      <?xml version="1.0" ?>
      <config>
          <objects>
              <object id="all_lights" gad="0/0/1">All lights</object>
              <object id="light1" gad="0/0/2">light 1</object>
              <object id="light2" gad="0/0/3">light 2</object>
          </objects>
          <services>
              <knxconnection url="ip:127.0.0.1" />
              <xmlserver type="inet" port="1028"/>
          </services>
      </config>

      Once linknx is configured an running, if you start knxweb and load the default design in editor mode, you should be able to add a new switch and see in the drop-down list all the id's of the objects you have configured in linknx.xml .

      If you still have problems with linknx, please post your config file and the output messages displayed by linknx.

      Regards,

      Jean-François

       

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.