Zigbee2MQTT

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

Moderator: leecollings

jvbussel
Posts: 8
Joined: Friday 12 July 2013 17:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigbee2MQTT

Post by jvbussel »

Hi

At the end I managed to get rid of the connection refused message by re-installing everything :)

Now I do see the following passing by in the Domoticz log:

(Zigbee2MQTT) Received available devices list from bridge
(Zigbee2MQTT) Device TRADFRI bulb E27 WS opal 1000lm 0xd0cf5efffef2b3dc (LED1623G12)

But what next? Should I expect to see this bulb in the Domoticz device list? I am a little bit puzzeled.

What to do in Domoticz to use this device?
Tuinslang
Posts: 1
Joined: Thursday 21 February 2019 20:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by Tuinslang »

peerke72 wrote: Saturday 09 February 2019 17:11 Í just got my Zigbee2MQTT installed and it is running finally.

I was wondering if it's normal the Raspberry Pi 3 CPU usage increases from average 2% before installation, to approximately 25% after installation of ZIgbee2MQTT. Or does this suggest something is wrong ?
Had the same isseu twice. Reinstalled everything and found out that running the Homekit addon was to blame ,(I guess). Now back at 0,4% usage without it.
peerke72
Posts: 13
Joined: Sunday 17 June 2018 17:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by peerke72 »

Tuinslang wrote: Thursday 21 February 2019 20:33
peerke72 wrote: Saturday 09 February 2019 17:11 Í just got my Zigbee2MQTT installed and it is running finally.

I was wondering if it's normal the Raspberry Pi 3 CPU usage increases from average 2% before installation, to approximately 25% after installation of ZIgbee2MQTT. Or does this suggest something is wrong ?
Had the same isseu twice. Reinstalled everything and found out that running the Homekit addon was to blame ,(I guess). Now back at 0,4% usage without it.
I don't use the HomeKit Addon but maybe there is another conflict.

I still had the increased CPU%. And even worse after a while no RFLink messages could be send or received. Just after installing ZIgb2MQTT RFLink still works OK. Only CPU is increased. Some time later RFLink stops working. After disabling Zigbee2MQTT (sudo systemctl stop zigbee2mqtt) and a reboot of domoticz everything is back to normal. But I would like to use Zigbee and RFLink together.

Because Domoticz is also storing the gas/electricty consumption I hope there is a solution without having to reinstall domoticz from scatch.
What can should I do to find the cause. Is there logging I should look into (where can I find it).

Any advice is welcome!
StasDemydiuk
Posts: 59
Joined: Saturday 14 January 2017 21:37
Target OS: Linux
Domoticz version: Beta
Location: Ukraine
Contact:

Re: Zigbee2MQTT

Post by StasDemydiuk »

@Mayki as na option I would suggest to install zigbee2mqtt Domoticz Plugin to add native support for zigbee2mqtt without need of additional dzVents/Lus scripts
https://github.com/stas-demydiuk/domoti ... qtt-plugin
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT

Post by EddyG »

Mayki wrote: Monday 11 March 2019 20:13 Please help. I added a ZNLDP12LM lamp with Zigbee2MQTT. Is it somehow controlling the color temperature and brightness using DzVents or Lua script?
Something like Yeellight bulbs? .....
Look here: viewtopic.php?f=59&t=27499
johansson
Posts: 75
Joined: Sunday 27 September 2015 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Zigbee2MQTT

Post by johansson »

Problems updating zigbee2mqtt

I'm having range issues in my house, i.e. cannot reliably reach some of the door sensors. To overcome that, I picked up an Ikea signal repeater, which is supposed to be supported by zigbee2mqtt (supported devices). When pairing the repeater, I keep on getting an error stating that ModelID Ikea signal repeater is not supported etc. After a bit us studying, seems that I'm running an ancient version (log: Starting zigbee2mqtt version 0.2.0 (commit #b0d3c2f)), but following the updating instructions (bottom of the page), nothing changes: the version remains the same and so on. Rebooting does not help.

Any advice would be highly welcome.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT

Post by EddyG »

Quick solution. Save the 'configuration.yaml' file. Delete the zigbee directory and install zigbee2mqtt again. Then the lastest version should be there.
Put the configuration.yaml file back and start zigbee2mqtt
johansson
Posts: 75
Joined: Sunday 27 September 2015 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Zigbee2MQTT

Post by johansson »

Finally the update was a success, but caused the the zigbee2mqtt plugin in Domoticz failing to start: updating the plugin was required as well, but now things are up and running again.
Although I still don't know if the Ikea repeater is connected or if it actually helps expanding the network. I'll dig into that next.
Bigted
Posts: 68
Joined: Friday 12 December 2014 14:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Contact:

Re: Zigbee2MQTT

Post by Bigted »

johansson wrote: Friday 12 April 2019 22:13
Although I still don't know if the Ikea repeater is connected or if it actually helps expanding the network. I'll dig into that next.
Best way is to fire up a MQTT client and grab the graphviz data, and produce a network map
johansson
Posts: 75
Joined: Sunday 27 September 2015 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Zigbee2MQTT

Post by johansson »

Bigted wrote: Friday 12 April 2019 22:37Best way is to fire up a MQTT client and grab the graphviz data, and produce a network map
I even looked at the instructions, but couldn't figure out how to get started with that. Found something related to network map on the zigbee2mqtt -website (here, paragraph zigbee2mqtt/bridge/networkmap) but that didn't really help. Any pointers how to get things moving? Do I need a separate MQTT client or what? (As you might notice, I'm not exactly a pro on this :) )
salopette
Posts: 187
Joined: Tuesday 07 March 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Germany
Contact:

Re: Zigbee2MQTT

Post by salopette »

Install yourself Admin Panel for Node-Red

https://github.com/ben423423n32j14e/zig ... adminpanel
Bigted
Posts: 68
Joined: Friday 12 December 2014 14:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Contact:

Re: Zigbee2MQTT

Post by Bigted »

johansson wrote: Saturday 13 April 2019 20:14 Any pointers how to get things moving? Do I need a separate MQTT client or what? (As you might notice, I'm not exactly a pro on this :) )
Quick and dirty instructions for a Windows client

On Windows install MQTT

Create a client with the MQTT server ip address and port and connect to it
add a subscriber with the topic
zigbee2mqtt/bridge/networkmap/graphviz
hit subscribe

Create a publisher

topic to publish - zigbee2mqtt/bridge/networkmap
payload - graphviz

click on Publish button

the response will show in the subscribe window, something like

"digraph G { node[shape=record]; "0x00124b0014b887ab" [style="bold", label="{0x00124b0014b887ab|Coordinator|No model information available|online}"]; "0x00124b0014b887ab" -> "0x000d6ffffef34d9d" [label="168"] "0x00124b0014b887ab" -> "0x000d6ffffe9a1bc9" [label="129"] "0x00124b0014b887ab" -> "0x000d6ffffee3be1b" [label="182"] "0x00124b0014b887ab" -> "0x000d6ffffed1a718" [label="122"] "0x000d6ffffe9a1bc9" [style="rounded", label="{IkeaRepeater|Router|IKEA TRADFRI signal repeater (E1746"


copy all the text and paste it into http://www.webgraphviz.com/ replacing the dummy text

click on graph button

Image
m147
Posts: 27
Joined: Saturday 04 August 2018 14:51
Target OS: Linux
Domoticz version:
Contact:

Re: Zigbee2MQTT

Post by m147 »

Hello,

Please could anyone help me?
I successfully paired Aqara wall switch WXKG03LM and in Domoticz there has been created push on button.
Is that correct? I assumed that there will be created selector switch with single click, double click etc instead.
hoeby
Posts: 528
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2MQTT

Post by hoeby »

Does somebody know how good the battery reading is?
I have 2 Xiaomi devices connected. Both give a battery voltage of 3.055V and 100%
For me it is strange, that they are exactly the same.

Before connecting to zigbee2mqtt i connected 1 device to the Xiaomi gateway, than it said the battery was 95%.

Somebody has more information about this?
Otherwise low battery on a smoke detector could be dangerous. Thinking about getting a notification, but there will be non if battery reading is not working.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT

Post by EddyG »

I think that above 3.025 Volt everything is 100%
But everything is not very consistent.
I have a 2 device with both 2.995 Volt, one is at 91% and the other is 74%
Might be the difference in battery.
I still have faith in the readings.
Run a script everyday to check the batteries and set a warning below 30% or so.
ensingg
Posts: 65
Joined: Saturday 22 April 2017 17:35
Target OS: Windows
Domoticz version:
Contact:

Re: Zigbee2MQTT and Domoticz on Windows

Post by ensingg »

Hi,

I am new to Zigbee. At the moment I am using a RFLInk with my Domoticz running on Windows 10.
Can I use the Zigbee2MQTT project when I use Windows 10 as my OS for Domoticz?

Best regards,
Gert
hoeby
Posts: 528
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2MQTT

Post by hoeby »

Maybe ask it to the guys in this thread
viewtopic.php?f=68&t=27743

They also have windows 10 and trying to use Zigbee2MQTT
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Smiggel
Posts: 36
Joined: Friday 23 March 2018 17:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Zigbee2MQTT and Domoticz on Windows

Post by Smiggel »

ensingg wrote: Sunday 16 June 2019 10:30 Hi,

I am new to Zigbee. At the moment I am using a RFLInk with my Domoticz running on Windows 10.
Can I use the Zigbee2MQTT project when I use Windows 10 as my OS for Domoticz?

Best regards,
Gert
Yes. You can add z-wave and Zigbee, etc. etc. You can control it all using Domoticz.
hoeby
Posts: 528
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2MQTT and Domoticz on Windows

Post by hoeby »

Smiggel wrote: Sunday 23 June 2019 9:50Yes. You can add z-wave and Zigbee, etc. etc. You can control it all using Domoticz.
Are you sure?
The zigbee2mqtt install instructions is on linux based.
How to install zigbee2mqtt on Windows? Do you have an installation manual?

That the different protocols Works together, that we know. But the question was how to get zigbee2mqtt working on Windows 10
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Smiggel
Posts: 36
Joined: Friday 23 March 2018 17:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Zigbee2MQTT and Domoticz on Windows

Post by Smiggel »

hoeby wrote: Sunday 23 June 2019 12:50
Smiggel wrote: Sunday 23 June 2019 9:50Yes. You can add z-wave and Zigbee, etc. etc. You can control it all using Domoticz.
Are you sure?
The zigbee2mqtt install instructions is on linux based.
How to install zigbee2mqtt on Windows? Do you have an installation manual?

That the different protocols Works together, that we know. But the question was how to get zigbee2mqtt working on Windows 10
I don’t have installation instructions for Windows. Sorry. Run Domoticz on a Pi.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest