superjunky / Domoticz-Brel-Plugin

A Python plugin for Domoticz to controll Brel Home Hub
MIT License
3 stars 3 forks source link

Failed to initialize Brel module / Error: Line 544 in '/home/pi/domoticz/plugins/Domoticz-Brel-Plugin/plugin.py', function onCommand #6

Open jillesv opened 2 years ago

jillesv commented 2 years ago

Hello SuperJunky,

First of all thank you for all your effort into making this plugin. Unfortunatly I'm running into issues after installing the plugin into my Domoticz installation.

After enabling the plugin and activated debugging I get the following error: Failed to initialize Brel module.

After that the plugin is continuing and I see the devices appear in the devices tab of domoticz. When I try to close or open the "Roller Shutter" (device type 6) it throws me the error: Error: Line 544 in '/home/pi/domoticz/plugins/Domoticz-Brel-Plugin/plugin.py', function onCommand Error: Line 372 in '/home/pi/domoticz/plugins/Domoticz-Brel-Plugin/plugin.py', function onMessage

I can see the plugin is "reading" the information out of the Brel HUB, because I get status updates of the devices, but I can't control it.

Is it possible that you give me some support with above?

Thank you in advance!

Kind regards, Jilles.

superjunky commented 2 years ago

Hi Jilles,

Chances are the plugin could't initialise because you have a different Brel-motor then I do. I can't really offer any support for this, I'm sorry.

This plugin is more like a version 0.1 beta, which I shared so others can extend it if one is up for it. The main bottleneck has something to do with "Angle and Position". Both values are set for my device, but most motors only offer the Position value.