Bridge Device to Broker on same machine? [message #1855959] |
Fri, 11 November 2022 17:19 |
Dan Levin Messages: 1 Registered: November 2022 |
Junior Member |
|
|
Apologies in advance, new to Mosquitto and only somewhat up to speed on MQTT. Any hints appreciated.
I have two devices that output MQTT messages on their port 1883. mosquitto-sub dev-IP -v -t '#' works
I have an app (Home Assistant) on the same Pi that I am running mosquitto that wants to consume MQTT messages from both devices.
That app can consume messages from a single device by connecting to it directly, no problem.
I want to use mosquitto to sub to the messages on both devices, and then foward them to Home Assistant (which is running on the same machine).
I think that means that I want to use mosquitto as a bridge, is that right? If so, pointers to an explanation? The mosquitto.conf man page is good, but terse :( And Steve's explanation is also missing a bit of the basics.
Thanks much!
|
|
|
Powered by
FUDForum. Page generated in 0.02892 seconds