Page 4 of 5

Re: Zigbee sensor instructions

PostPosted: Mon Feb 24, 2020 12:12 pm
by siclark
Also I have changed to do zigbee2mqtt/aqaratemp/room_name. I then have aqaravibration and aqarabutton etc.

Therefore only need one trigger per aqara type.

Re: Zigbee sensor instructions

PostPosted: Mon Feb 24, 2020 12:14 pm
by FlyingDiver
siclark wrote:
Also I have changed to do zigbee2mqtt/aqaratemp/room_name. I then have aqaravibration and aqarabutton etc.

Therefore only need one trigger per aqara type.


I really think that's the best way to go.

Re: Zigbee sensor instructions

PostPosted: Mon Feb 24, 2020 12:23 pm
by autolog
siclark wrote:
Also I have changed to do zigbee2mqtt/aqaratemp/room_name. I then have aqaravibration and aqarabutton etc.

Therefore only need one trigger per aqara type.


OK - I will try and get my head around this and give it a whirl in due course. :)

Re: Zigbee sensor instructions

PostPosted: Thu Feb 27, 2020 3:44 pm
by siclark
autolog wrote:
Looking at the documentation here: MQTT topics and message structure, I see it is possible to get a graphical display of the Zigbee network. Search for this heading: zigbee2mqtt/bridge/networkmap

You need to publish a message with the topic: zigbee2mqtt/bridge/networkmap/routes and payload of graphviz [Note no {} around the payload].

This can take a few minutes and you will get a network map data published as a message topic: zigbee2mqtt/bridge/networkmap/[graphviz. I didn't use this, I just copied the content of the message out of the zigbee2mqtt log.

You can then paste the message starting with digraph G { and ending in } into the panel at WebGraphViz to get a graphical display of your network.

Using this I have confirmed that my INNR plugs work as routers. Having relocated one of the INNR plugs, I reset one of my temperature sensors that was in close proximity and I can now see that the sensor is routing back to the controller via the plug.


Cheers. This has confirmed my router has included but says failed and isn't used. I'll need to investigate some more.

Re: Zigbee sensor instructions

PostPosted: Thu Feb 27, 2020 4:12 pm
by siclark
Ok I moved it closer and it works. So hardware and firmware good. I just need to centralise the devices a bit.

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 4:40 pm
by agame
can anyone point to install instructions for installing zigbee2mqtt on a Mac...I realise its essentially the same as the Linux doco but there are syntax differences that are tripping me up...

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 4:41 pm
by siclark
where are you stuck?

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 4:59 pm
by agame
first base...

Code: Select all
ag@automation ~ % sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
Password:

## Installing the NodeSource Node.js 12.x repo...


## Populating apt-get cache...

+ apt-get update
bash: apt-get: command not found
Error executing command, exiting

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 5:01 pm
by agame
oh I should probably have read the error. I need to install apt-get presumably :oops:

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 5:03 pm
by siclark
I think that is just installing node.js. Try here

https://nodejs.org/en/download/

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 5:04 pm
by siclark
agame wrote:
oh I should probably have read the error. I need to install apt-get presumably :oops:


No, that could lead you into problems

Just try installing node.js for mac

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 5:28 pm
by agame
siclark wrote:

Just try installing node.js for mac



almost there, thanks so much!!
mqtt and node js installed but stuck. on changing permissions. what is the Mac version of this?:

Code: Select all
ag@automation ~ % sudo chown -R pi:pi /opt/zigbee2mqtt
chown: pi: illegal group name



[presumably, root?]

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 5:30 pm
by siclark
Think the pi:pi is username:password? Defaults assuming you are installing on a pi?

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 5:32 pm
by siclark
Maybe replace pi:pi with just your user name.

Try here


https://osxdaily.com/2013/04/23/change- ... -mac-os-x/

Re: Zigbee sensor instructions

PostPosted: Thu Aug 13, 2020 6:10 pm
by agame
got it!
[you can see I'm not a pi user].
a few more supporting packages installed, but now all seems good!!