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
-
Raspberry Pi Zero WH as gateway?
Hardware • 18 Jan 2018, 18:22 • sentur 18 Jan 2018, 20:08 -
[SOLVED] ESP8266MQTTClientGateway problem
General Discussion • 24 Jan 2016, 19:32 • mbj 26 Jan 2016, 21:29 -
Communication problems between MQTT Gateway (OrangePi) and Node (Arduino Nano)
Troubleshooting • 1 May 2019, 19:22 • gammlerstyle 5 May 2019, 18:01 -
MQTT Gateway + wi-fi instead of ethernet
Controllers • 13 Mar 2015, 08:29 • vladimir 14 Mar 2015, 09:13 -
ESP8266MQTTClientGateway
Bug Reports • 30 Jan 2016, 10:26 • mbj 30 Jan 2016, 14:16 -
💬 Bed occupancy detector
OpenHardware.io • 4 Oct 2018, 19:18 • openhardware.io 4 Oct 2018, 19:18 -
💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway
OpenHardware.io • 20 Jan 2017, 16:20 • openhardware.io 29 Oct 2018, 08:03 -
Node Child and MQTT Subscribe
Development • 16 Jan 2015, 15:28 • Gambituk 17 Jan 2015, 14:11