Hallo,
nach Aufforderung: https://knx-user-forum.de/360147-post54.html
hier ein extra Thema.
Ich hatte das Image vor dem SH 1.0 und SH2.7 auf dem Rasp.pi am laufen und funktionierte.
Nun habe ich die Pages gesichert um das neue Image für den Rasp.pi aufzuspielen. Aber leider die items.conf usw. vergessen zu sichern.
Das fehlt nun natürlich alles.
Nach der Neukonfiguration kann ich zwar von der Konsole KNX-Diagramme versenden, aber von der SV aus keine Befehle senden, und bekomme auch keine Stati angezeigt.
Das Plugin.conf zeigt:
Die item.conf:
etc/default/eibd:
Wenn ich in der Visu im Configbereich auf SMarthome.py schalte und die adresse des WiregateEIBD eintrage kommt der Fehler:
Zuguter letzt ist das der Auszug aus dem smarthome.log.
Wäre dankbar für Eure hilfe.
Gruß,
Lio
nach Aufforderung: https://knx-user-forum.de/360147-post54.html
hier ein extra Thema.
Ich hatte das Image vor dem SH 1.0 und SH2.7 auf dem Rasp.pi am laufen und funktionierte.
Nun habe ich die Pages gesichert um das neue Image für den Rasp.pi aufzuspielen. Aber leider die items.conf usw. vergessen zu sichern.
Das fehlt nun natürlich alles.
Nach der Neukonfiguration kann ich zwar von der Konsole KNX-Diagramme versenden, aber von der SV aus keine Befehle senden, und bekomme auch keine Stati angezeigt.
Das Plugin.conf zeigt:
Code:
# plugin.conf
[knx]
class_name = KNX
class_path = plugins.knx
host = 192.168.2.26 #IP des Wiregate mit EIBD
port = 6720
# send_time = 600 # update date/time every 600 seconds, default none
# time_ga = 1/1/1 # default none
# date_ga = 1/1/2 # default none
[visu]
class_name = WebSocket
class_path = plugins.visu
ip='192.168.2.36' # IP des Rasp.pi
port=2424
acl = ro
smartvisu_dir = /var/www/smartvisu
[cli]
class_name = CLI
class_path = plugins.cli
ip = 0.0.0.0
update = True
[sql]
class_name = SQL
class_path = plugins.sqlite
#[ow]
# class_name = OneWire
# class_path = plugins.onewire
# host = 127.0.0.1
# port = 4304
Code:
[EG]
[[Flur]]
[[[Deckenlicht]]]
[[[[Schalten]]]]
type = bool
knx_dpt = 1
knx_send = 1/1/1
knx_listen = 1/1/2
knx_init = 1/1/1
visu = yes
[[[[Dimmen]]]]
type = num
knx_dpt = 5
knx_send = 1/1/4
knx_init = 1/1/4
visu = yes
[[[Steckdose]]]
type = bool
knx_dpt = 1
knx_send = 1/1/1
knx_listen = 1/1/2
knx_init = 1/1/1
visu = yes
[[[[Schalten]]]]
type = bool
knx_dpt = 1
knx_send = 4/1/80
knx_listen = 4/1/81
knx_init = 4/1/80
visu = yes
[[[Tueroeffner]]]
type = bool
knx_dpt = 1
knx_send = 4/1/1
knx_init = 4/1/1
visu = yes
[[[Eingangsbeleuchtung]]]
type = bool
knx_dpt = 1
knx_send = 1/5/1
knx_listen = 1/5/2
knx_init = 1/5/1
visu = yes
[[Arbeiten]]
[[[Deckenlicht]]]
[[[[Schalten]]]]
type = bool
knx_dpt = 1
knx_send = 1/1/20
knx_listen = 1/1/20
knx_init = 1/1/20
visu = yes
[[[Rollo]]]
[[[[Move]]]]
type = bool
knx_dpt = 1
knx_send = 2/1/1
knx_init = 2/1/1
visu = yes
enforce_updates = true
[[[[Stop]]]]
type = bool
knx_dpt = 1
knx_send = 2/1/2
knx_init = 2/1/2
visu = yes
enforce_updates = true
[[[[PosFahren]]]]
type = num
knx_dpt = 5
knx_send = 2/1/3
knx_init = 2/1/4
visu = yes
[[[Temperatur]]]
type = num
knx_dpt = 9
knx_listen = 15/5/18
visu = yes
Code:
EIB_ARGS="--daemon --Server --Tunnelling --Discovery --GroupCache --listen-tcp" EIB_ADDR="1.1.240" EIB_IF="ipt:192.168.2.26" #IP des Wiregate mit EIBD EIB_UID="1000"
Code:
"Could not connect to smarthome.py server! Websocket error undefined."
Zuguter letzt ist das der Auszug aus dem smarthome.log.
Code:
2013-12-14 15:49:48 ERROR dummy Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
Traceback (most recent call last):
File "/usr/smarthome/lib/scheduler.py", line 327, in _task
exec(obj.bytecode)
File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
sh.first.living.temperature(random.randint(20, 23))
AttributeError: 'SmartHome' object has no attribute 'first'
2013-12-14 15:49:51 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:50:01 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:50:11 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:50:21 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:50:31 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:50:41 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:50:51 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:51:01 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:51:11 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:51:21 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:51:32 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:51:42 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:51:52 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:52:02 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:52:12 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
Init SmartHome.py 1.0-5-g5300605
2013-12-14 15:52:19 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:52:29 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:52:33 ERROR dummy Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
Traceback (most recent call last):
File "/usr/smarthome/lib/scheduler.py", line 327, in _task
exec(obj.bytecode)
File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
sh.first.living.temperature(random.randint(20, 23))
AttributeError: 'SmartHome' object has no attribute 'first'
2013-12-14 15:52:39 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:52:49 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:52:59 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:53:09 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:53:19 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:53:29 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:53:39 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:53:49 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:53:59 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
2013-12-14 15:54:09 ERROR Connections WebSocket: problem binding 192.168.2.36:2424 (TCP): [Errno 99] Cannot assign requested address
Wäre dankbar für Eure hilfe.
Gruß,
Lio




Kommentar