Zigbee2MQTT

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

Moderator: leecollings

gschmidt
Posts: 200
Joined: Thursday 20 December 2018 11:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by gschmidt »

snellejellep wrote: Saturday 16 November 2019 16:53
gschmidt wrote: Saturday 16 November 2019 16:44 Hi,

I am trying to install Zigbee2MQTT on my Domoticz system (Rpi3b).
The CC2531 USB is inserted directly on the same system.
When I run the service with "npm start", I get the error "Not connected to MQTT Server"

I have attached the LOG and the configuration.yaml.

Could somebody help me out with this?
do you have authentication enabled on your mqtt server?

checkout my video on this topic, maby it will help you: https://www.youtube.com/watch?v=28Whi98 ... A&index=17
Thanx...Working Now! I first didn't perform the mosquitto part!
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Zigbee2MQTT

Post by RichardBokker »

snellejellep wrote: Saturday 16 November 2019 16:56
RichardBokker wrote: Friday 15 November 2019 8:38 The Zigbee2MQTT is really awesome plugin, finally getting rid of the Xiaomi Gateway crap!

Has anyone a step-by-step explaination to install the Zigbee2MqttAssistant on a rPI?
https://github.com/yllibed/Zigbee2MqttAssistant

Or should i use the Docker installation method in my sitation?
Thats new for me to, so have to figure it out.
the zigbee2mqtt assistant is really hard to use withoud home assistant, i am working on a video about a similar tool but then created in nodered so it can easily be used with domoticz. for now i would like to redirect you to try: https://github.com/ben423423n32j14e/zig ... adminpanel
make sure you have it running on the same machine as your mqtt server.
if you have enabled authentication you may run in to problems but that is a little hard to explain this way. i hope to make a video about it soon.
Oke, cool. THnx.
I think i should try this..?

My pi is running everything on the same system: Domoticz + MQTT + Zigbee2MQTT
opex
Posts: 3
Joined: Wednesday 20 November 2019 15:14
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by opex »

Mayki wrote: Saturday 09 February 2019 12:52 Is there anyone who uses it on Synology NAS? With CC2531 USB Sniffer? Is there any manual for Synology?
Hi, I am newbie in this forum and actually home automation area. I have Synology NAS DS216j and now wondering which is the best way to connect eg temperature sensors to Synolgy. I just installed Domoticz and saw your post.

Did you manage to get CC2531 USB sniffer working in your NAS or how you are connecting devices? I would like to avoid old fashioned 433Mhz solutions and go for zigbee or BLE sensors instead.

Thanks!
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Zigbee2MQTT

Post by RichardBokker »

You got two options.
Buy an xiaomi gateway + sensors, then no need for this plugin and you can add the gatewat direclty.

Use this sniffer, then you need install all kind of packages to get it working (Node-red, mqtt etc).
Synology is based on linux, so you should able to perform most of same commands as raspberry, but i'm not complety sure.

or buy a RPI and do everything on that device.. ;)
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by Thorgal789 »

You have more options. There is others plugins that can work too with NAS and zigbee.
Or like he said, use a small raspberry just with he zigbee stuff and connect to it with keeping your home application on the NAS.
hsluis
Posts: 4
Joined: Saturday 05 March 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by hsluis »

When I reboot the Raspberry Pi the Zigbee2MQTT plugin isn't able to communicate with the Zigbee devices, but when I make the plugin inactive and then active it works fine. I already updated the raspbian OS and the plugin, Is anyone else also experiencing this problem and is there a fix?
RichardBokker
Posts: 39
Joined: Thursday 09 April 2015 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: Netherlands
Contact:

Re: Zigbee2MQTT

Post by RichardBokker »

I'm using the zigbee2mqtt sniffer now, pretty good product but:

The stability of the zigbee network is like crap now. Continounsly down. Some devices work fine, but most of them do not work fine.
I got multiple powered xiaomi 230V switches, so they should work as repeater.

i have to activate 2 or 3 230v switches through domoticz to get everything working again.

Any ideas?
Jan Jansen
Posts: 229
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Zigbee2MQTT

Post by Jan Jansen »

ben53252642 wrote: Wednesday 05 September 2018 4:51 Created an admin panel in Node-Red

https://github.com/ben423423n32j14e/zig ... adminpanel
After some trial and error, I managed to install zigbee2mqtt and the corresponding plugin (thanks a lot to developers, it all works great). The admin panel also looks great and seems very useful. However, I can't get it running.

1. Install Node-Red (succeeded)
2. Create a Flow called "Zigbee2MQTT Admin Panel" (succeeded)
3. Settings > "Manage palette" > Install, search for and install "node-red-dashboard" (succeeded)
4. Import flow into "Zigbee2MQTT Admin Panel" flow (I got stuck on this step. Even after consulting the node-red site I can't figure it out)

Hopefully someone can guide me in the right direction.

Thanks in advance.
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Zigbee2MQTT

Post by Phantom »

Jan Jansen wrote: Thursday 30 January 2020 14:01
ben53252642 wrote: Wednesday 05 September 2018 4:51 Created an admin panel in Node-Red

https://github.com/ben423423n32j14e/zig ... adminpanel
After some trial and error, I managed to install zigbee2mqtt and the corresponding plugin (thanks a lot to developers, it all works great). The admin panel also looks great and seems very useful. However, I can't get it running.

1. Install Node-Red (succeeded)
2. Create a Flow called "Zigbee2MQTT Admin Panel" (succeeded)
3. Settings > "Manage palette" > Install, search for and install "node-red-dashboard" (succeeded)
4. Import flow into "Zigbee2MQTT Admin Panel" flow (I got stuck on this step. Even after consulting the node-red site I can't figure it out)

Hopefully someone can guide me in the right direction.

Thanks in advance.
What is not working?
Did you try to open the UI http://192.168.150.139:1880/ui/
and it could be that you need to change the mqtt in and mqtt out in the subflows.
Jan Jansen
Posts: 229
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Zigbee2MQTT

Post by Jan Jansen »

@ Phantom,
After updating the plugin my problems are solved, thanks anyway for your respons
pfloryann
Posts: 172
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.1
Contact:

Re: Zigbee2MQTT

Post by pfloryann »

Hi all,

I have an error when i trying to pair any device(xiaomi door sensor, xioami motion sensor, Ikea plug). The device is paired with succes but in domoticz logs show only this message. To be displayed the new device must be restarted the domoticz.

(Zigbee2mqtt) Device 0x00158d0001daf6e5 (0x00158d0001daf6e5) doesn't have "model" attribute, skipped
(Zigbee2mqtt) Device 0x00158d0001daf6e5 (0x00158d0001daf6e5) doesn't have "model" attribute, skipped


CC2531 firmware CC2531_DEFAULT_20190608 ,domoticz 4.11674, the latest zigbee2mqtt plugin for domoticz
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT

Post by EddyG »

I have zigbee2mqtt running for some time now and it is working fine.
Recently I have a few devices in my networkmap not connected to any router or coordinator anymore.
These devices are working fine and in the logging I can see that there is a linkquality.
In Graphviz they are just devices connected to nothing.
Anyone having a solution?
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Zigbee2MQTT

Post by ben53252642 »

EddyG wrote: Sunday 23 February 2020 17:16 I have zigbee2mqtt running for some time now and it is working fine.
Recently I have a few devices in my networkmap not connected to any router or coordinator anymore.
These devices are working fine and in the logging I can see that there is a linkquality.
In Graphviz they are just devices connected to nothing.
Anyone having a solution?
are they battery operated devices?
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT

Post by EddyG »

Yes, but not all. Some battery operated devices are part of the networkmap.
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Zigbee2MQTT

Post by qwerk »

Today I installed zigbee2mqtt. the first part is fast and working fine. all changes are written to mqtt on my domoticz server.
The plugin takes sometimes up to 20 seconds (no joke) to read them and apply them into domoticz.
My mosquitto daemon runs on my domoticz server. this is a raspberry 3+
I have more sensors ( esp8266) that use mosquitto to inform domoticz ( via the build in mqtt client) those are transferred to domoticz right away.
only the zigbee updates take a long time.
I use mosquitto 1.5.7
User avatar
Varazir
Posts: 377
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Zigbee2MQTT

Post by Varazir »

Hello, I guess this had been answered.
I'm trying to migrate Trådfri devices from my Ikea gateway to my domoticz system. I have 2 Ikea bulbs that I never connected to the gateway that works. But I'm trying to migrate 6 spotlights and 2 normal bulbs.

Is there any guide how to do something like this?

Skickat från min EML-L29 via Tapatalk

Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigbee2MQTT

Post by jake »

Varazir wrote:Hello, I guess this had been answered.
I'm trying to migrate Trådfri devices from my Ikea gateway to my domoticz system. I have 2 Ikea bulbs that I never connected to the gateway that works. But I'm trying to migrate 6 spotlights and 2 normal bulbs.

Is there any guide how to do something like this?

Skickat från min EML-L29 via Tapatalk
Search for unpair ikea tradfri on YouTube:
https://youtu.be/QiOyMY3LbOA

Click on off 6x
User avatar
Varazir
Posts: 377
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Zigbee2MQTT

Post by Varazir »

jake wrote: Tuesday 17 March 2020 7:21
Varazir wrote:Hello, I guess this had been answered.
I'm trying to migrate Trådfri devices from my Ikea gateway to my domoticz system. I have 2 Ikea bulbs that I never connected to the gateway that works. But I'm trying to migrate 6 spotlights and 2 normal bulbs.

Is there any guide how to do something like this?

Skickat från min EML-L29 via Tapatalk
Search for unpair ikea tradfri on YouTube:
https://youtu.be/QiOyMY3LbOA

Click on off 6x
No reaction in the logs on my Domoticz
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigbee2MQTT

Post by jake »

You better first check the zigbee to mqtt log whether they show up there at all
User avatar
Varazir
Posts: 377
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Zigbee2MQTT

Post by Varazir »

jake wrote: Tuesday 17 March 2020 10:22 You better first check the zigbee to mqtt log whether they show up there at all
Nothing there http://paste.debian.net/1135241/
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest