Ich würde gerne erstmal smartHome als I/O-Connection für die smartVISU einrichten.
Ich verwende das Image von euch.
Ip-Schnittstelle ist eine ABB IPS/S2.1 mit der IP 192.168.1.190
Der RaspberryPi hat die 192.168.1.108
eibd scheint zu funktionieren da ich die Gruppenadresse ansprechen und schalten kann
z.B. via groupswrite ip:localhost 0/0/67 1
Wie müsste jetzt konkret die plugin.conf aussehen?
Ich habe schon einiges probiert. Jedoch immer ohne Erfolg. Momentan sieht sie so aus.
Noch das log dazu.
Oder bin ich in der plugin.conf falsch mit meiner Zielstellung?
Danke
Ich verwende das Image von euch.
Ip-Schnittstelle ist eine ABB IPS/S2.1 mit der IP 192.168.1.190
Der RaspberryPi hat die 192.168.1.108
eibd scheint zu funktionieren da ich die Gruppenadresse ansprechen und schalten kann
z.B. via groupswrite ip:localhost 0/0/67 1
Wie müsste jetzt konkret die plugin.conf aussehen?
Ich habe schon einiges probiert. Jedoch immer ohne Erfolg. Momentan sieht sie so aus.
Code:
# plugin.conf [knx] class_name = KNX class_path = plugins.knx host = 127.0.0.1 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 [ow] class_name = OneWire class_path = plugins.onewire # host = 127.0.0.1 # port = 4304 [cli] class_name = CLI class_path = plugins.cli update = True [visu] class_name = WebSocket class_path = plugins.visu # ip='0.0.0.0' # port=2424 visu_dir = /var/www/smarthome smartvisu_dir = /var/www/smartvisu [rrd] class_name = RRD class_path = plugins.rrd step = 300
Code:
2013-03-04 18:27:42 SmartHome.py INFO Stop Plugins 2013-03-04 18:27:42 SmartHome.py INFO KNX: connection to 127.0.0.1:6720 closed 2013-03-04 18:27:43 SmartHome.py INFO SmartHome.py stopped 1970-01-01 01:01:19 SmartHome.py INFO Init SmartHome.py v0.8-4-ga53aaec 1970-01-01 01:01:19 SmartHome.py INFO Init Scheduler 1970-01-01 01:01:19 SmartHome.py INFO Init plugins 1970-01-01 01:01:20 SmartHome.py INFO Init items 1970-01-01 01:01:20 SmartHome.py INFO Start Plugins 1970-01-01 01:01:21 sh.con INFO KNX: connected to 127.0.0.1:6720 2013-03-04 18:29:27 sh.con INFO KNX: connected to 127.0.0.1:6720 2013-03-04 18:29:28 sh.con ERROR Onewire: could not connect to 127.0.0.1:4304: [Errno 111] Connection refused 2013-03-04 18:29:28 SmartHome.py INFO Starting logics 2013-03-04 18:29:28 SmartHome.py WARNING hello: Could not access logic file (hello_world.py) => ignoring. 2013-03-04 18:29:29 SmartHome.py CRITICAL Unhandled exception: (9, 'Bad file descriptor') <class 'select.error'> File "/usr/local/smarthome/bin/smarthome.py", line 455, in <module> sh = SmartHome() File "/usr/local/smarthome/bin/smarthome.py", line 235, in __init__ asyncore.loop(timeout=1, count=1, map=self.socket_map) File "/usr/lib/python2.7/asyncore.py", line 220, in loop poll_fun(timeout, map) File "/usr/lib/python2.7/asyncore.py", line 145, in poll r, w, e = select.select(r, w, e, timeout)
Danke
Kommentar