giejay / domoticz-gbridge-plugin

Domoticz plugin for the Kappelt gBridge
16 stars 4 forks source link

gBridge crashing at startup #19

Open duelago opened 4 years ago

duelago commented 4 years ago

Hello,

I'm running the latest beta of Domoticz on a raspberry pi 3 with Buster (Python 3.7.3). The gBridge plugin is crashing after a few seconds. My plugin settings looks like this: https://www.dropbox.com/s/l9ir5udcn4tqina/gbridge.jpg

This is my log:

2019-09-09 20:49:36.887 Status: Domoticz V4.11295 (c)2012-2019 GizMoCuz 2019-09-09 20:49:36.888 Status: Build Hash: 588d244d2, Date: 2019-09-09 08:57:05 2019-09-09 20:49:36.889 Status: Startup Path: /home/pi/domoticz/ 2019-09-09 20:49:36.990 Status: PluginSystem: Started, Python version '3.7.3'. 2019-09-09 20:49:36.991 Status: I2C Start HW witf ID: 5 Name: I2C_BMP085/180 Address: 0 Port: Invert:0 2019-09-09 20:49:37.010 Starting shared server on: :::6144 2019-09-09 20:49:37.001 Status: WebServer(HTTP) started on address: :: with port 8080 2019-09-09 20:49:37.006 Status: WebServer(SSL) started on address: :: with port 443 2019-09-09 20:49:37.010 Status: TCPServer: shared server started... 2019-09-09 20:49:37.010 Status: RxQueue: queue worker started... 2019-09-09 20:49:39.012 Status: AppLamp: Worker Started... 2019-09-09 20:49:39.012 Status: XiaomiGateway (ID=4): Delaying worker startup... 2019-09-09 20:49:40.650 Status: Incoming connection from: 192.168.1.3 2019-09-09 20:49:41.273 Status: Incoming connection from: 192.168.1.66 2019-09-09 20:49:41.332 Status: Frysen 2019-09-09 20:49:44.083 (Xiaomi) Temp + Humidity (Vardagsrum) 2019-09-09 20:49:44.090 (Xiaomi) Temp + Humidity + Baro (Kylen) 2019-09-09 20:49:44.141 (Xiaomi) General/kWh (Xiaomi Smart Plug Usage) 2019-09-09 20:49:44.147 (Xiaomi) Temp + Humidity + Baro (Frysen) 2019-09-09 20:49:44.887 (gbridge) Debug logging mask set to: PYTHON PLUGIN DEVICE CONNECTION MESSAGE 2019-09-09 20:49:44.887 (gbridge) onStart called 2019-09-09 20:49:44.887 (gbridge) MqttClient::init 2019-09-09 20:49:44.887 (gbridge) MqttClient::Open 2019-09-09 20:49:44.887 (gbridge) gBridgeClient::init 2019-09-09 20:49:44.888 (gbridge) DomoticzClient::init 2019-09-09 20:49:44.888 (gbridge) Starting sync 2019-09-09 20:49:44.890 (gbridge) Calling API for action: Fetching all devices from gBridge, url: https://gbridge.kappelt.net/api/device 2019-09-09 20:49:44.012 Status: XiaomiGateway (ID=4): Selected as main Gateway 2019-09-09 20:49:44.013 Status: XiaomiGateway (ID=4): Worker started... 2019-09-09 20:49:44.014 Status: XiaomiGateway (ID=4): Using 192.168.1.17 for local IP address. 2019-09-09 20:49:44.015 Status: (gbridge) Started. 2019-09-09 20:49:44.015 Status: EventSystem: reset all events... 2019-09-09 20:49:44.016 Status: EventSystem: reset all device statuses... 2019-09-09 20:49:44.019 Status: I2C_BMP085/180: Worker started... 2019-09-09 20:49:44.021 Status: XiaomiGateway: RGB Gateway Detected 2019-09-09 20:49:44.137 Status: Python EventSystem: Initalizing event module. 2019-09-09 20:49:44.138 Status: EventSystem: Started 2019-09-09 20:49:44.138 Status: EventSystem: Queue thread started... 2019-09-09 20:49:44.427 Status: PluginSystem: Entering work loop. 2019-09-09 20:49:44.885 Status: (gbridge) Entering work loop. 2019-09-09 20:49:44.885 Status: (gbridge) Initialized version 0.0.14 2019-09-09 20:49:45.014 Status: MQTT: Connecting to localhost:1883 2019-09-09 20:49:45.116 Status: MQTT: connected to: localhost:1883 2019-09-09 20:49:45.216 Status: MQTT: Subscribed 2019-09-09 20:49:45.003 Error: Domoticz(pid:1407, tid:1410('PluginMgr')) received fatal signal 11 (Segmentation fault) 2019-09-09 20:49:45.003 Error: siginfo address=0x57f, address=(nil) 2019-09-09 20:49:48.868 MQTT: Topic: domoticz/in, Message: {"idx":57,"nvalue":0,"svalue":"18.4","Battery":200,"RSSI":9}

Thanks for your work. I hope I can get it to run!

Best regards, /David