andrewjfreyer / monitor

Distributed advertisement-based BTLE presence detection reported via mqtt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I use an existing MQTT server?

pastaholic opened this issue · comments

Hi all,

Sorry for the rookie question.
I already have an MQTT server in my network.
I was wondering if I can use that instead of the one that's installed as per the installation instructions.

If that is possible, do I need to make any changes to the monitor setup, and what?

It will work, I am using the server that's running on my HA without any issues without changing anything in the setup instructions (other then the IP of the server)

It's simple, just edit the file mqtt_preferences and use your MQTT server information there.

#
#
# MOSQUITTO PREFERENCES
#
# ---------------------------

# IP ADDRESS OR HOSTNAME OF MQTT BROKER
mqtt_address=mqtt.mydomain.org

# MQTT BROKER USERNAME
mqtt_user='myuser'

# MQTT BROKER PASSWORD
mqtt_password='supersecret'

# MQTT PUBLISH TOPIC ROOT 
mqtt_topicpath=monitor

Thank you for your replies.