999LV / NUT_UPS

UPS Monitor plugin for Domoticz using NUT protocol
MIT License
13 stars 9 forks source link

does not work on Raspbian Bullseye #11

Open hofikhof opened 2 years ago

hofikhof commented 2 years ago

Enabling this plugin causes crash domoticz.

Raspbian Bullseye Domoticz 2021.1 Python 3.9.2

hofikhof commented 2 years ago

I tried to debug it and problem is on Domoticz.Device create about line 215

omoticz.Device(Name=self.variables[key][0], Unit=self.variables[key][3], TypeName="Custom", Image=17, Options={"Custom": "1;{}".format(self.variables[key][1])}, Used=self.variables[key][4]).Create()

Here is problem in Unit maybe - key 3... but i dont know how to fix it.

l-e-o-n-c-e commented 2 years ago

Hi, please consult this thread : https://github.com/domoticz/domoticz/issues/3790

Unfortunately, I have made no progress on that issue yet :(