Gateway or mqtt?
-
I have a Raspberry Pi running my HA system (a Hometroller Zee S2, which has Homeseer version 3). It uses z-wave, which can't do some things that I'd really like to do -- so I need to augment it.
I read (on this forum) that I could use mqtt instead of a gateway. Is this OK? I'm concerned that the 2 systems would be a big load on the cpu.
Regarding the quantity of devices on my 'completed' system: I figure that I'll have about 10 - 20 z-wave devices, and about 5 - 8 mysensors.
I'd like to use mqtt because it's more elegant; I believe that the radio (probably an RFM69) would be inside the case, as opposed to gateway+radio plugged in to the usb.
-
I think you mean you want to use the Gateway WITH MqTT
https://www.mysensors.org/build/mqtt_gatewayThis works very well and I'm using it myself.
I have the MqTT broker on a raspberry pi.
And the gateway is an arduino with W5100 ethernet board.
-
If you use an mqtt-gateway, you still need a controller for assigning IDs.
I switched from the mqtt-Gateway to a serial gateway and use a node.js script to map it to mqtt.
https://forum.mysensors.org/topic/4599/how-to-add-a-serial-device-to-use-in-node-red/10
(As conrtoller I use node-red.)
-
Well, I thought that I had this figured out.
@Nicklas-Starkel
But, that's an ethernet gateway; don't I need a serial gateway?@FotoFieber
I have a controller -- the Raspberry Pi.Yeah -- I'm just a tad confused.
This is the post that got me on this concept:
Advice on how to start my IOT project
In the first reply, Mikael mentions an alternative setup.Apparently, I didn't quite understand what he meant there. Please explain.
-
If we go from the front to the back this is what is needed:
1 Node: For example a door bell.
This node sends information to a gateway.
2 The gateway takes the message from the node and sends this to a controller. For instance Openhab or Domotics. This can be done in several ways. MqTT being one.
3 Controller: takes the information and displays it to you.So in my case, I hardcode Node ID and CHILD ID (the complete door bell is a NODE whereas CHILD IDs may be the button pressed and maybe temperature reading at the same time).
This sends to Gate way that takes the information and creates a MqTT message.
What this message is, please read the instructions on this site.
Suggested Topics
-
My final setup to get MySensors and OpenHab communicating via MQTT
OpenHAB • 28 Jul 2016, 04:10 • Eric Buhring 21 Jun 2017, 20:06 -
Raspberry PI + MQTT (Mosquitto) + Serial Gateway
General Discussion • 14 Feb 2015, 06:12 • catcher 2 Mar 2017, 17:58 -
OpenHab, MQTT gateway and Battery level - how?
OpenHAB • 17 Dec 2014, 16:49 • doctor64 8 Jan 2015, 22:12 -
ENC28j60 MQTT problem
Troubleshooting • 2 Dec 2014, 21:27 • bomber 4 Dec 2014, 05:48 -
ESP8266 gateway crashes while the node is in FOTA progress.
Troubleshooting • 25 Nov 2017, 00:22 • Abdu Sahin 13 Dec 2017, 20:50 -
Raspberry Pi2 + MQTT Gateway in one box!
My Project • 18 Apr 2015, 03:36 • kunall 21 Apr 2015, 09:08