sonoff zigbee 3.0 usb stick

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

i have now uppdated to bullseye and domoticz starts but some of the plugins has disappeared in the hardware menu, zigate,tuya,mqtt and more is gone, i also tried to install zigbeefordomoticz wich all went well but even that one wont show in the hardware menu.

any idea what i should do?
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by waltervl »

Seems python needs some attention, see menu setup - about if python is recognized by Domoticz.

You probably need to install some extra modules, see wiki for instructions 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
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

it seems like python is missing, domoticz says oython version: none

do i install python in the domoticz folder?
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

i finally got it working, but my only problem now is that i cant get the zigbee plugin to work. i get these error messages:

2023-12-11 20:01:26.110 Error: zigate: Call to function 'onStop' failed, exception details:
2023-12-11 20:01:26.113 Error: zigate: Traceback (most recent call last):
2023-12-11 20:01:26.113 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 846, in onStop
2023-12-11 20:01:26.113 Error: zigate: _plugin.onStop()
2023-12-11 20:01:26.113 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 358, in onStop
2023-12-11 20:01:26.114 Error: zigate: WriteDeviceList(self, 0)
2023-12-11 20:01:26.114 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/database.py", line 134, in WriteDeviceList
2023-12-11 20:01:26.114 Error: zigate: if self.pluginconf.pluginConf['pluginData'] is None or self.DeviceListName is None:
2023-12-11 20:01:26.114 Error: zigate: AttributeError: 'NoneType' object has no attribute 'pluginConf'
2023-12-11 20:01:26.657 Error: zigate: Call to function 'onStart' failed, exception details:
2023-12-11 20:01:26.674 Error: zigate: Traceback (most recent call last):
2023-12-11 20:01:26.674 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 842, in onStart
2023-12-11 20:01:26.674 Error: zigate: _plugin.onStart()
2023-12-11 20:01:26.674 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 224, in onStart
2023-12-11 20:01:26.674 Error: zigate: self.pluginconf = PluginConf(Parameters["HomeFolder"], self.HardwareID)
2023-12-11 20:01:26.674 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/PluginConf.py", line 232, in __init__
2023-12-11 20:01:26.674 Error: zigate: self._load_Settings()
2023-12-11 20:01:26.674 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/PluginConf.py", line 350, in _load_Settings
2023-12-11 20:01:26.674 Error: zigate: _pluginConf = json.load( handle, encoding=dict)
2023-12-11 20:01:26.674 Error: zigate: File "/usr/lib/python3.9/json/__init__.py", line 293, in load
2023-12-11 20:01:26.674 Error: zigate: return loads(fp.read(),
2023-12-11 20:01:26.674 Error: zigate: File "/usr/lib/python3.9/json/__init__.py", line 359, in loads
2023-12-11 20:01:26.674 Error: zigate: return cls(**kw).decode(s)
2023-12-11 20:01:26.674 Error: zigate: TypeError: __init__() got an unexpected keyword argument 'encoding'
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by waltervl »

Perhaps file access? Did you follow the install instruction on the Z4D wiki?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

waltervl wrote: Monday 11 December 2023 21:37 Perhaps file access? Did you follow the install instruction on the Z4D wiki?
I missed that part here I need to delete the old zigate plugin, I did that and now it initializing the new sonoff dongle, unfortunately it seems like all the nodes on my zigate got deleted, but it's only 28 nodes so I will iclufe them again.

But now I have noticed that shelly mqqt isn't working after updating to bullseye, it's always something else..
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

after a few days of upgrading to bullseye and domoticz 2023.2 i got almost evertything working exept, shelly MQTT and some other plugins.
but i have now gone back to buster and 2022.2, everything now works exept zigbeefordomoticz and my sonoff stick.
is there a way to get zigbeefordomoticz and my sonoff stick to work with buster and 2022.2?
is there and older plugin version of zigbeefordomoticz that works with buster?
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by waltervl »

Go the docker way.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

Ok, so I won't get these problems with docker?
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: sonoff zigbee 3.0 usb stick

Post by tjabas »

isnt there any way to get the zonoff 3.0 stick to work with buster and dmoticz verison 2022.2?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest