MQTT Gateway
-
Hi
Can anybody tell me the difference between a MQTT Gateway and a Ethenet Gateway?
Does a MQTT function the same as a ethernet gateway?
-
@Terence-Faul The ethernet gateway speaks with the controller directly over TCP.
The MQTT gateway will publish messages from the sensors to a MQTT broker.
The broker is a software that you must install and run that comes in between of the gateway and the controller.
The controller must also connect as a client to the MQTT controller, and it subscribes to the messages pushed by the MQTT gateway.
The controller too can send a command through the broker, that the gateway will see and forward to the node.The biggest advantage of the MQTT (for me anyway) is that I can use a PC or Android client to also connect to the broker and look at what goes in and out of the gateway.
It allow me to also test different controllers (openhab, domoticz) without touching the one I run usually (mycontroller.org).
-
That is great thanks
Last question, will it also function as a normal ethernet gateway. I currently use that with Domoticz
-
@Terence-Faul not that I know of. And domoticz MQTT support is less than stellar. You cannot configure the topic(s) it listen to, and you need to go through node-red (a node.js app) to transform what the gateway sends.
I honestly couldn't be bothered to install it, and went straight to mycontroller.org.
I might try it out though, as I have a couple of lifx led bulbs that domoticz supports.
Or (probably) I'll wait for openhab 2.0 to reach stable.
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
Newbie questions
Hardware • 14 Feb 2025, 20:03 • magwas 14 Feb 2025, 20:03 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41