Skip to content

Commit

Permalink
Merge pull request #2 from malcolmcdixon/development
Browse files Browse the repository at this point in the history
amended mqtt client id as was only allowing one instance per broker
  • Loading branch information
malcolmcdixon committed Jun 5, 2021
2 parents ace36a7 + 60f90d2 commit e17d735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ca.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def menu_item_clicked(action):
ca.active_timeout = settings.active_timeout

# create and configure the mqtt client
mqtt = Mqtt(APP_NAME)
mqtt = Mqtt(f"{APP_NAME}: {ca.computer_name}")

mqtt.host = settings.mqtt_host
mqtt.port = int(settings.mqtt_port)
Expand Down

0 comments on commit e17d735

Please sign in to comment.