Hallo,
nach sehr langer Tüftelei (aufgrund fehlender Erfahrung) läuft bei mir auf meinem ASUS WL500gP jetzt ENDLICH auch Linknx!
Gestartet wird mit:
- allerdings muß ich das Script (noch) manuell mit
anstoßen.
Meine xml-Datei habe ich mal nach Jeff's Beispiel versucht, minimalistisch zu gestalten:
Es sollte halt nur mal die Uhrzeit und das Datum auf den Bus gesendet werden. Im Log kommt auch einiges an:
Ich sehe, dass die Wetterstation (1.1.9) munter Zeit und Zustand der Schattierung etc. sendet und ich gelegentlich die Adresse 2/0/2 abgefragt habe. Aber die Uhrzeit hat Linknx leider nicht gesendet.
Hat jemand einen Tipp für mich, was falsch ist? Wie bekomme ich Linknx dazu überredet, zu senden?
Viele Grüße,
Stefan
nach sehr langer Tüftelei (aufgrund fehlender Erfahrung) läuft bei mir auf meinem ASUS WL500gP jetzt ENDLICH auch Linknx!
Gestartet wird mit:
Code:
#!/bin/sh /etc/rc.common sleep 10 /usr/bin/eibd -D -T -S -d -i ipt:192.168.1.9 sleep 2 mkdir /tmp/lib cd /tmp/lib ln -s /var/lib/linknx linknx linknx -d/mnt/usbdrive/linknx/linknx.log -c -w --config=/mnt/usbdrive/linknx/lin lighttpd -f /etc/lighttpd.conf
Code:
/etc/init.d/S70linknx enable
Meine xml-Datei habe ich mal nach Jeff's Beispiel versucht, minimalistisch zu gestalten:
Code:
<?xml version="1.0" ?> <config> <objects> <object type="11.001" id="cur_date" gad="1/1/151" flags="cwtuf">Current Date</object> <object type="10.001" id="cur_time" gad="1/1/150">Current Time</object> </objects> <rules> <rule id="cur_time_date"> <condition type="timer" trigger="true"> <every>3600</every> </condition> <actionlist> <action type="set-value" id="cur_time" value="now" /> <action type="set-value" id="cur_date" value="now" /> </actionlist> </rule> </rules> <services> <xmlserver type="inet" port="1028" /> <knxconnection url="ip:127.0.0.1" /> <persistence type="file" path="/mnt/usbdrive/linknx/persist"/> </services> <logging format="simple" level="WARN"/> </config>
Code:
Write from 1.1.9 to 3/3/2: 00 Write from 1.1.9 to 1/2/0: 0C 0A 09 Write from 1.1.9 to 1/2/12: 27 9E Write from 1.1.9 to 1/2/13: 88 87 Write from 1.1.9 to 1/2/2: 03 84 Write from 1.1.9 to 1/2/4: 00 00 Write from 1.1.9 to 1/2/3: 00 00 Write from 1.1.9 to 3/2/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Write from 1.1.16 to 1/2/6: 0C 3A Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Write from 1.1.9 to 1/2/1: 36 37 36 Write from 1.1.9 to 3/1/2: 00 Write from 1.1.9 to 3/3/2: 00 Write from 1.1.9 to 1/2/0: 0C 0A 09 Write from 1.1.9 to 1/2/12: 27 A7 Write from 1.1.9 to 1/2/13: 88 69 Write from 1.1.9 to 1/6/1: 00 Write from 1.1.9 to 1/6/2: 00 Write from 1.1.9 to 1/2/2: 03 70 Write from 1.1.9 to 1/2/4: 00 00 Write from 1.1.9 to 1/2/3: 00 00 Write from 1.1.9 to 1/2/5: 01 Write from 1.1.9 to 1/6/3: 00 Write from 1.1.9 to 1/6/4: 00 Write from 1.1.9 to 0/0/2: 00 Write from 1.1.9 to 0/0/1: 00 Write from 1.1.9 to 1/4/10: 00 Write from 1.1.9 to 3/2/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.11 to 2/0/2: 00 Response from 1.1.21 to 2/0/2: 00 Write from 1.1.11 to 1/2/7: 0C 4E Write from 1.1.16 to 1/2/6: 0C 38 - linknx.log 87/190 45% Write from 1.1.9 to 3/3/2: 00 Write from 1.1.9 to 1/2/0: 0C 0A 09 Write from 1.1.9 to 1/2/12: 27 9E Write from 1.1.9 to 1/2/13: 88 87 Write from 1.1.9 to 1/2/2: 03 84 Write from 1.1.9 to 1/2/4: 00 00 Write from 1.1.9 to 1/2/3: 00 00 Write from 1.1.9 to 3/2/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Write from 1.1.16 to 1/2/6: 0C 3A Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Write from 1.1.9 to 1/2/1: 36 37 36 Write from 1.1.9 to 3/1/2: 00 Write from 1.1.9 to 3/3/2: 00 Write from 1.1.9 to 1/2/0: 0C 0A 09 Write from 1.1.9 to 1/2/12: 27 A7 Write from 1.1.9 to 1/2/13: 88 69 Write from 1.1.9 to 1/6/1: 00 Write from 1.1.9 to 1/6/2: 00 Write from 1.1.9 to 1/2/2: 03 70 Write from 1.1.9 to 1/2/4: 00 00 Write from 1.1.9 to 1/2/3: 00 00 Write from 1.1.9 to 1/2/5: 01 Write from 1.1.9 to 1/6/3: 00 Write from 1.1.9 to 1/6/4: 00 Write from 1.1.9 to 0/0/2: 00 Write from 1.1.9 to 0/0/1: 00 Write from 1.1.9 to 1/4/10: 00 Write from 1.1.9 to 3/2/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.11 to 2/0/2: 00 Response from 1.1.21 to 2/0/2: 00 Write from 1.1.11 to 1/2/7: 0C 4E Write from 1.1.16 to 1/2/6: 0C 38 Write from 1.1.16 to 4/1/0: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Write from 1.1.11 to 4/0/0: 00 Write from 1.1.11 to 4/0/2: 03 Write from 1.1.9 to 1/2/1: 37 00 36 Write from 1.1.9 to 3/1/2: 00 Write from 1.1.9 to 3/3/2: 00 Write from 1.1.9 to 1/2/0: 0C 0A 09 Write from 1.1.9 to 1/2/12: 27 B0 Write from 1.1.9 to 1/2/13: 88 4D Write from 1.1.9 to 1/2/2: 03 52 Write from 1.1.9 to 1/2/4: 00 00 Write from 1.1.9 to 1/2/3: 00 00 Write from 1.1.9 to 3/2/2: 00 Read from 0.0.0 to 2/0/2 Response from 1.1.21 to 2/0/2: 00 Response from 1.1.11 to 2/0/2: 00 Write from 1.1.11 to 4/0/1: 01 Write from 1.1.9 to 1/2/1: 37 05 36
Hat jemand einen Tipp für mich, was falsch ist? Wie bekomme ich Linknx dazu überredet, zu senden?
Viele Grüße,
Stefan
Kommentar