Errors when try to Add Devices by using MQTT Auto Discovery

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
mastadook
Posts: 58
Joined: Wednesday 18 April 2018 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Deutschland
Contact:

Errors when try to Add Devices by using MQTT Auto Discovery

Post by mastadook »

Hi All,

I try to use the mqtt auto discovery Plugin also, but there I got very much Error Messages.

Anyone with Idea here?

Errormessages like this:

Code: Select all

022-11-21 20:17:55.793 Error: Shellie3EMHauptstrom: (ShellyCloudPlugin) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/ShellyCloudPlugin/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2022-11-21 20:17:55.793 Error: Shellie3EMHauptstrom: Module Import failed, exception: 'ModuleNotFoundError'
2022-11-21 20:17:55.793 Error: Shellie3EMHauptstrom: Module Import failed: ' Name: requests'
2022-11-21 20:17:55.793 Error: Shellie3EMHauptstrom: Error Line details not available.
2022-11-21 20:17:55.793 Error: Shellie3EMHauptstrom: Exception traceback:
2022-11-21 20:17:55.793 Error: Shellie3EMHauptstrom: ----> Line 50 in '/home/pi/domoticz/plugins/ShellyCloudPlugin/plugin.py', function <module>
and this:
errormessages_1.jpg
errormessages_1.jpg (373.22 KiB) Viewed 390 times
________________________________________________________________________
global chief of permanent lightning and strike detonator
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Errors when try to Add Devices by using MQTT Auto Discovery

Post by waltervl »

Shelly does not support the mqtt Autodiscover protocol so you can forget this.

For the plugin it is missing the python module requests. You need to install this. if you already did it, install it again but then with sudo.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
mastadook
Posts: 58
Joined: Wednesday 18 April 2018 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Deutschland
Contact:

Re: Errors when try to Add Devices by using MQTT Auto Discovery

Post by mastadook »

Hi Walter,

thank you for your hint. :)

So for clarification:
mqtt Autodiscover will never work with shellies?!
For the plugin it is missing the python module requests. You need to install this. if you already did it, install it again but then with sudo.
this means the ShellyCloudPlugin? True?
And with this one, it will work with the shellies?
Do they need the shellie cloud for working or does it work locally?

Have you maybe some Link where I can find more?
I am asking, cause on the github Page I see no help how to install it...
https://github.com/mario-peters/ShellyCloudPlugin

Or maybe you have an Idea here:
viewtopic.php?p=294814#p294814
This will do all what i need :)
________________________________________________________________________
global chief of permanent lightning and strike detonator
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Errors when try to Add Devices by using MQTT Auto Discovery

Post by waltervl »

mastadook wrote: Tuesday 22 November 2022 14:40 Hi Walter,

thank you for your hint. :)

So for clarification:
mqtt Autodiscover will never work with shellies?!
Probably not, unless shelly decides to implement it.....
For the plugin it is missing the python module requests. You need to install this. if you already did it, install it again but then with sudo.
this means the ShellyCloudPlugin? True?
And with this one, it will work with the shellies?
Do they need the shellie cloud for working or does it work locally?

Have you maybe some Link where I can find more?
I am asking, cause on the github Page I see no help how to install it...
https://github.com/mario-peters/ShellyCloudPlugin

Or maybe you have an Idea here:
viewtopic.php?p=294814#p294814
This will do all what i need :)
My answer was based on the error message in your first message "module import failed: Name: requests"
I dont have shellies so I dont know what to advise.
For the shellycloudplugin look here: viewtopic.php?p=291089#p291089 as the github page has indeed little information.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: teo1966 and 1 guest