Skip to content
Snippets Groups Projects
Unverified Commit 2251ca17 authored by jaburges's avatar jaburges Committed by GitHub
Browse files

Added client_id info

I couldnt see info on this and had to look in the code so adding it to instructions 
HTH
parent 2d747099
Branches
Tags
No related merge requests found
......@@ -306,6 +306,20 @@ mqtt:
the status messages will appear on topic `home/office/status`.
### Multiple Instances
If you have more than one device in your network they will have the same client ID and therefore kick each other off of your MQTT broker. To solve this you can specify `client_id`, like this:
```yaml
mqtt:
host: test.mosquitto.org
port: 1883
user: ""
password: ""
client_id: pimqttpgio_1
topic_prefix: pimqttgpio/mydevice
```
### Logging
Logging may be configured by including a `logging` section in your `config.yml`. The standard Python logging system is used, so configuration questions should be answered by looking at [the Python logging howto](https://docs.python.org/3/howto/logging.html).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment