J'aimerais compléter avec un petit pb chez moi également.
En HTTP, il semble que l'emploi d'un port différent du 8080 pose pb.
En effet, si je reste avec l'URL par défaut http://127.0.0.1:8080 :
Code : Tout sélectionner
Urlopen to http://127.0.0.1:8080/json.htm?type=hardware rejected. Error: <urlopen error [Errno 111] Connection refused>Code : Tout sélectionner
2022-12-26 17:36:36.310 Status: (Zigbee) Zigbee for Domoticz (z4d) plugin stable6-6.3.008 started
2022-12-26 17:36:36.315 Status: Incoming connection from: 127.0.0.1
2022-12-26 17:36:36.317 Error: (Zigbee) 'onStart' failed 'KeyError'.
2022-12-26 17:36:36.317 Error: (Zigbee) ----> Line 1512 in '/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py', function onStart
2022-12-26 17:36:36.317 Error: (Zigbee) ----> Line 403 in '/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py', function onStart
2022-12-26 17:36:36.317 Error: (Zigbee) ----> Line 230 in '/home/pi/domoticz/plugins/Domoticz-Zigbee/Classes/DomoticzDB.py', function get_loglevel_valueLine 230 in '/home/pi/domoticz/plugins/Domoticz-Zigbee/Classes/DomoticzDB.py':
Code : Tout sélectionner
def get_loglevel_value(self):
# sourcery skip: replace-interpolation-with-fstring
# [FOB "Crash with non-8080 port"]
# if self.hardware and ("%s" %self.HardwareID) in self.hardware:
# self.logging("Debug", "get_loglevel_value %s " %(self.hardware[ '%s' %self.HardwareID ]['LogLevel']))
# return self.hardware[ '%s' %self.HardwareID ]['LogLevel']
return 7
Code : Tout sélectionner
2022-12-26 17:43:34.460 Status: (Zigbee) Zigbee for Domoticz (z4d) plugin stable6-6.3.008 started
2022-12-26 17:43:34.487 Status: (Zigbee) DeviceConf loaded - 17 confs loaded
2022-12-26 17:43:34.659 Status: (Zigbee) DeviceConf loaded - 393 confs loaded
2022-12-26 17:43:34.660 Status: (Zigbee) load ListOfDevice
2022-12-26 17:43:34.665 Status: (Zigbee) 1 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-12.txtCiao et merci pour le boulot !!!