zigate+ raspberry pi3B

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

Moderator: leecollings

Post Reply
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

zigate+ raspberry pi3B

Post by jacobsentertainment »

Hi all,

Is it possible to run the zigate stand-alone from an old pi3?
I got domoticz running on a pi4 and all the gpio's are in use. So at this moment I have the zigbee bridge of sonoff near it's limits.
I have an pi3 and i have a zigate that goes straight on top of the gpio header, i have seen that on the p3 i need to disable bluetooth but that's no issue.
What I can't find is if I can run as a stand-alone unit.

Any help is appreciated
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zigate+ raspberry pi3B

Post by waltervl »

Perhaps with ser2net application? But I do not know if the zigate/zigbee4Domoticz plugin can use an TCP connection as input. There is a zigate wifi so perhaps it works....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: zigate+ raspberry pi3B

Post by jacobsentertainment »

waltervl wrote: Tuesday 19 September 2023 20:48 Perhaps with ser2net application? But I do not know if the zigate/zigbee4Domoticz plugin can use an TCP connection as input. There is a zigate wifi so perhaps it works....
Well according to the zigate site the only avaible item on sale is the zigat usb, thats the issue. I got my pi build in the basement with thick walls etc, and the py runs over lan so i was hoping for a wifi or lan solution.

I tried with the pi3 as the zigat is also avaible trough an esp32 with lan connection link So now I hope to get this working.
zigate supports more devices then the sonoff as i understand.
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zigate+ raspberry pi3B

Post by waltervl »

In the Zigbee4Domoticz plugin you can set the Coordinator type to TCPIP and fill in the IP address of the Radio Coordinator (the Pi3 with Zigate and with ser2net installed to forward the USB data to network).
For ser2net see wiki page https://www.domoticz.com/wiki/SharingSerialDevices
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: zigate+ raspberry pi3B

Post by jacobsentertainment »

I tried installing the hardware on the pi3 and the plugin in my domoticz
Sorry to bother, but my linux skill set is poor, I get the next error

Code: Select all

 2023-09-20 10:17:16.799 Error: zigate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigbee/:/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'.
2023-09-20 10:17:16.803 Error: zigate: Traceback (most recent call last):
2023-09-20 10:17:16.803 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 99, in <module>
2023-09-20 10:17:16.803 Error: zigate: from importlib.metadata import version as import_version
2023-09-20 10:17:16.803 Error: zigate: ModuleNotFoundError: No module named 'importlib.metadata' 
On the pi3 there is no domoticz on there only the zigate connected to the gpio (Pi zigate v1)
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zigate+ raspberry pi3B

Post by waltervl »

I thought you already have Zigate working in your current Domoticz?
For installation instruction see https://zigbeefordomoticz.github.io/wik ... ation.html
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: zigate+ raspberry pi3B

Post by jacobsentertainment »

waltervl wrote: Wednesday 20 September 2023 11:12 I thought you already have Zigate working in your current Domoticz?
For installation instruction see https://zigbeefordomoticz.github.io/wik ... ation.html
No negative :) I have some device working trough an sonoff zigbee bridge with tasmota on it. This works fine but I'm running out of space when it comes to rules, so I added an second bridge. This setup worked fine till I started to play around with shelly-mqtt and it all went tits-up. So I still had an older pi-zigate v1 laying around and my first pi (3B)

So I installed the ZigBeeForDomoticZ plugin on my Pi-4 what is also my domoticz device and installed the zigate on the pi-3

I was hoping that this would work just as the zigate-ethernet But so far no success.


The big down side is that I need to play around/test and install during the day so I can switch back to my other SD card for use during the evening.
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zigate+ raspberry pi3B

Post by waltervl »

I am getting completely lost in what you are doing.....

If you have flashed your sonoff zigbee bridge with tasmota you could possibly already use it as zigbee coordinatorin the Zigbee4Domoticz plugin.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: zigate+ raspberry pi3B

Post by jacobsentertainment »

waltervl wrote: Wednesday 20 September 2023 12:05 I am getting completely lost in what you are doing.....
I want to replace the current setup with the sonoff bridge to the zigate as I'm running out of memory for creating rules in tasmota. And hope to get more options trough a new setup.
waltervl wrote: Wednesday 20 September 2023 12:05 If you have flashed your sonoff zigbee bridge with tasmota you could possibly already use it as zigbee coordinatorin the Zigbee4Domoticz plugin.
I did not know that! (Ill give it a try after I got all my shelly's installed trough the teacher plugin)
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zigate+ raspberry pi3B

Post by waltervl »

jacobsentertainment wrote: Wednesday 20 September 2023 12:10
waltervl wrote: Wednesday 20 September 2023 12:05 I am getting completely lost in what you are doing.....
I want to replace the current setup with the sonoff bridge to the zigate as I'm running out of memory for creating rules in tasmota. And hope to get more options trough a new setup.
Then you should have bought the USB version of the Zigate+ or the Sonoff Zigbee 3.0 USB stick. Would have made things far mor easy.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: zigate+ raspberry pi3B

Post by jacobsentertainment »

Ok ill order my self a sonoff usb stick, ill get back to this topic
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest