auch von mir vielen Dank für den Sourcecode !
lg, flo
lg, flo
[Macros] EibPCHomeControl(touchpanel,10.0.0.12,ok)
[commands] suspend = pmi action hibernate [Luxtronic] deviceip = 192.168.1.5 enable = no update = 60 deviceport = 8888 [DB] dbfile = db/eibpcdb.sq3 [configuration] deviceip = 10.0.0.17 loglevel = debug websocketport = 8001 documentroot = ./web webserverport = 8002 deviceport = 4809
root@alix:/srv/tmp/hcserver_src_2.2# python hcserver.py INFO:root:Starting web server! DEBUG:root:statusHandler started INFO:root:connecting ... INFO:root:connected INFO:root:Web socket server started! INFO:root:reader started INFO:root:writer started DEBUG:root:buffer: p=ok DEBUG:root:['p=ok', '\x00'] INFO:root:reader got: p=ok -> internalQueue DEBUG:root:buffer (2): INFO:root:connectionAlive DEBUG:root:buffer: h=1 DEBUG:root:['h=1', '\x00'] Exception in thread Thread-7: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "/srv/tmp/hcserver_src_2.2/hc/eibpccf.py", line 124, in reader buffer = self.parseBuffer(buffer) File "/srv/tmp/hcserver_src_2.2/hc/eibpccf.py", line 76, in parseBuffer logging.debug("last ping: {:f}".format(self.lastPing)) ValueError: zero length field name in format DEBUG:root:leave writer INFO:root:connecting ... INFO:root:connected INFO:root:reader started INFO:root:writer started DEBUG:root:buffer: p=ok DEBUG:root:['p=ok', '\x00'] INFO:root:reader got: p=ok -> internalQueue DEBUG:root:buffer (2): INFO:root:connectionAlive DEBUG:root:buffer: GA:2099=0.00 DEBUG:root:['GA:2099=0.00', '\x00'] INFO:root:reader got: GA:2099=0.00 -> readerQueue DEBUG:root:buffer (2): INFO:root:timed out INFO:root:timed out DEBUG:root:leave reader DEBUG:root:leave writer INFO:root:connecting ... INFO:root:connected INFO:root:reader started INFO:root:writer started DEBUG:root:buffer: p=ok DEBUG:root:['p=ok', '\x00'] INFO:root:reader got: p=ok -> internalQueue DEBUG:root:buffer (2): INFO:root:connectionAlive DEBUG:root:buffer: h=1 DEBUG:root:['h=1', '\x00'] Exception in thread Thread-26: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "/srv/tmp/hcserver_src_2.2/hc/eibpccf.py", line 124, in reader buffer = self.parseBuffer(buffer) File "/srv/tmp/hcserver_src_2.2/hc/eibpccf.py", line 76, in parseBuffer logging.debug("last ping: {:f}".format(self.lastPing)) ValueError: zero length field name in format DEBUG:root:leave writer INFO:root:connecting ... INFO:root:connected INFO:root:reader started INFO:root:writer started DEBUG:root:buffer: p=ok DEBUG:root:['p=ok', '\x00'] INFO:root:reader got: p=ok -> internalQueue DEBUG:root:buffer (2): INFO:root:connectionAlive DEBUG:root:buffer: GA:2099=0.00 DEBUG:root:['GA:2099=0.00', '\x00'] INFO:root:reader got: GA:2099=0.00 -> readerQueue DEBUG:root:buffer (2): DEBUG:root:buffer: h=1 DEBUG:root:['h=1', '\x00'] Exception in thread Thread-35: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "/srv/tmp/hcserver_src_2.2/hc/eibpccf.py", line 124, in reader buffer = self.parseBuffer(buffer) File "/srv/tmp/hcserver_src_2.2/hc/eibpccf.py", line 76, in parseBuffer logging.debug("last ping: {:f}".format(self.lastPing)) ValueError: zero length field name in format DEBUG:root:leave writer INFO:root:connecting ... INFO:root:connected INFO:root:reader started INFO:root:writer started DEBUG:root:buffer: p=ok DEBUG:root:['p=ok', '\x00'] INFO:root:reader got: p=ok -> internalQueue DEBUG:root:buffer (2): INFO:root:connectionAlive INFO:root:timed out INFO:root:timed out DEBUG:root:leave reader DEBUG:root:leave writer INFO:root:connecting ... INFO:root:connected
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar