You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -306,6 +306,20 @@ mqtt:
306
306
307
307
the status messages will appear on topic `home/office/status`.
308
308
309
+
### Multiple Instances
310
+
311
+
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:
312
+
313
+
```yaml
314
+
mqtt:
315
+
host: test.mosquitto.org
316
+
port: 1883
317
+
user: ""
318
+
password: ""
319
+
client_id: pimqttpgio_1
320
+
topic_prefix: pimqttgpio/mydevice
321
+
```
322
+
309
323
### Logging
310
324
311
325
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 commit comments