Plugin is not seen in Hardware list

Python and python framework

Moderator: leecollings

Post Reply
Aandegrens
Posts: 23
Joined: Saturday 08 April 2017 19:36
Target OS: Windows
Domoticz version: 2020.2
Location: Netherlands
Contact:

Plugin is not seen in Hardware list

Post by Aandegrens »

Hi,
this is my first plugin I wanted to add to Domoticz so that it is available in the hardware dropdown list.
I'm running Domoticz on a Windows 11 pc.
I want to add the Husqvarna plugin (https://github.com/FilipDem/Domoticz-Hu ... wer-plugin), so I created a subfolder in the Domoticz folder named plugins and within that a subfolder Husqvarna.
I added all the files and restarted Domoticz.

But I don't see the plugin in the hardware dropdown list.
What am I doing wrong?
I do already have Python running on this pc and a script whicht extracts all the data from oyr heatpump, so Python is working.

What steps did I miss?

Any help would be much appreciated!

Thanks,
Frank
User avatar
Thuis
Posts: 251
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Plugin is not seen in Hardware list

Post by Thuis »

I guess you need to install git for windows (https://git-scm.com/download/win) just click, next next next next next next install, then launch git bash and then go into the \domoticz\plugin\ folder and do

Code: Select all

git clone https://github.com/FilipDem/Domoticz-Husqvarna-Automower-plugin.git 
Then it wil make a folder and files for you. Hope this helps. It is GIT Bash you want to open. After restart domoticz.
I Love Domoticz ! And the community around it :-)
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Plugin is not seen in Hardware list

Post by waltervl »

Did you restart Domoticz?
Do you have python entries in the log about python?
You should see something like:
PluginSystem: Started, Python version '3.x.y'

See also the wiki https://www.domoticz.com/wiki/Using_Python_plugins
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Aandegrens
Posts: 23
Joined: Saturday 08 April 2017 19:36
Target OS: Windows
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Plugin is not seen in Hardware list

Post by Aandegrens »

Hi,

@Waltervl: I did not see this message in the log. So I uninstalled Python completely and reinstalled it. Now it is working.
@Thuis: I did not know this step. After I solved the suggestion of Walter I did your step and now Husqvarna is showing in the Hardware.

Next issue is it can be added, but does not show any devices. :lol:
But I'm a bit further on the road to succes.

Thanks guys.
User avatar
Thuis
Posts: 251
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Plugin is not seen in Hardware list

Post by Thuis »

At the setting page you need to ALLOW hardware.
But nice you got some steps further, i know its going to work eventually. :D
I Love Domoticz ! And the community around it :-)
Aandegrens
Posts: 23
Joined: Saturday 08 April 2017 19:36
Target OS: Windows
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Plugin is not seen in Hardware list

Post by Aandegrens »

It is working now. I updated from 2022.1 to 2024.6 and that did the trick.

Couldn't have done it without your help. Thanks a lot.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest