zewelor / bt-mqtt-gateway

A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
MIT License
549 stars 116 forks source link

cant get two of same device to report separately #230

Closed dpackham closed 3 years ago

dpackham commented 3 years ago

I am trying to get 2 miflora to report separately. I have tried them together like below and also each sensor in its own grouping. what am I missing?

<mqtt: host: 10.1.1.50 port: 1883 username: user password: password

ca_cert: /etc/ssl/certs/ca-certificates.crt # Uncomment to enable MQTT TLS, update path to appropriate location.

ca_verify: False # Verify TLS certificate chain and host, disable for testing with self-signed certificates, default to True

topic_prefix: hostname # All messages will have that prefix added, remove if you dont need this. client_id: bt-mqtt-gateway availability_topic: lwt_topic

manager: sensor_config: topic: homeassistant retain: true topic_subscription: update_all: topic: homeassistant/status payload: online command_timeout: 35 # Timeout for worker operations. Can be removed if the default of 35 seconds is sufficient. command_retries: 0 # Number of retries for worker commands. Default is 0. Might not be supported for all workers. update_retries: 0 # Number of retries for worker updates. Default is 0. Might not be supported for all workers. workers: miflora: args: devices: plant1: C4:7C:8D:6B:5D:74 plant2: C4:7C:8D:6B:5C:7C topic_prefix: miflora per_device_timeout: 6 # Optional override of globally set per_device_timeout. update_interval: 300>