Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mosquito Requirements #421

Open
turboc1208 opened this issue Apr 27, 2023 · 3 comments
Open

Mosquito Requirements #421

turboc1208 opened this issue Apr 27, 2023 · 3 comments

Comments

@turboc1208
Copy link

I have HomeAssistant running on a headless server. I want to setup monitor on some RPI-zero's around the house, much like the HA example in the documentation. My question is, do I need Mosquitto installed on all the RPI's or just on the man HA server and will HA's MQTT integration provide that for me?

@MrEbbinghaus
Copy link

Mosquitto is the broker. ("The brain")
You only need to run it once.

@turboc1208
Copy link
Author

Mosquito is the broker. It listens for and forwards messages to MQTT clients which are normally built into the device. You configure the device with the address of your broker so the device knows who to send to or register subscriptions with.

@MrEbbinghaus
Copy link

So, to answer your questions:

  • You need only one broker. (It could run anywhere.)
  • The HA MQTT integration is only a client, not a broker.
  • You can add the Mosquitto Add-on to your HomeAssistant, that starts and manages the Mosquitto broker automatically.
  • monitor is a MQTT client, that connects to that broker.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants