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
-
thethingbox
General Discussion • 12 Feb 2015, 01:00 • gregl 21 Feb 2015, 02:24 -
Sonoff + MySensors mqtt gateway + Home-Assistant
My Project • 19 Jan 2017, 21:51 • Efflon 31 Mar 2017, 14:15 -
Incoming MQTT Prefix can't have '/' or '-' in it.
Bug Reports • 13 Nov 2016, 16:19 • Meshx86 13 Nov 2016, 16:38 -
MQTT gateway - Openhab & Mosquitto
OpenHAB • 25 Feb 2015, 01:48 • alexeinz 25 Feb 2015, 07:52 -
processing incoming MQTT messages to actuate gateway local relay / variable.
Troubleshooting • 12 Nov 2016, 22:59 • Meshx86 13 Nov 2016, 16:40 -
Raspberry Pi2 + MQTT Gateway in one box!
My Project • 18 Apr 2015, 03:36 • kunall 21 Apr 2015, 09:08 -
💬 Bed occupancy detector
OpenHardware.io • 4 Oct 2018, 19:18 • openhardware.io 4 Oct 2018, 19:18