homebridge-esphome-ts icon indicating copy to clipboard operation
homebridge-esphome-ts copied to clipboard

Multiple sensors

Open mvoss96 opened this issue 3 years ago • 1 comments

Hi, I have 6 different temperature and humidity sensors connected to an esp32 running esphome:

esp32_ble_tracker:  
sensor:
  - platform: atc_mithermometer
    mac_address: "A4:C1:38:A1:18:C7"
    temperature:
      name: "Mija1 Temperature"
    humidity:
      name: "Mija1 Humidity"
    battery_level:
      name: "Mija1 Battery Level"    
  - platform: atc_mithermometer
    mac_address: "a4:c1:38:a3:45:84"
    temperature:
      name: "Mija2 Temperature"
    humidity:
      name: "Mija2 Humidity"
    battery_level:
      name: "Mija2 Battery Level"    
  - platform: atc_mithermometer
    mac_address: "a4:c1:38:ae:03:ed"
    temperature:
      name: "Mija3 Temperature"
    humidity:
      name: "Mija3 Humidity"
    battery_level:
      name: "Mija3 Battery Level"  
  - platform: atc_mithermometer
    mac_address: "a4:c1:38:e5:39:5b"
    temperature:
      name: "Mija4 Temperature"
    humidity:
      name: "Mija4 Humidity"
    battery_level:
      name: "Mija4 Battery Level"  
  - platform: atc_mithermometer
    mac_address: "a4:c1:38:ed:18:27"
    temperature:
      name: "Mija5 Temperature"
    humidity:
      name: "Mija5 Humidity"
    battery_level:
      name: "Mija5 Battery Level"  
  - platform: atc_mithermometer
    mac_address: "a4:c1:38:69:70:7b"
    temperature:
      name: "Mija6 Temperature"
    humidity:
      name: "Mija6 Humidity"
    battery_level:
      name: "Mija6 Battery Level"  

However, when i connected it through your plugin, only the first sensor shows up in homekit. ( i can see all 6 sensors in the esphome webui)

{ "devices": [ { "host": "esp32-ble-smartnode" } ], "discover": true, "platform": "esphome" }

Is there anything I'm missing?

thanks Marcus

edit: i enabled the debug mode, however it only shows the first sensor in the log:

image

mvoss96 avatar Feb 01 '22 20:02 mvoss96

Hey, if you enabled the debug mode, then it should also create a file under /tmp starting with esphome-log. Can you upload that file here. Seeing it as you do not seem to have any password, that should not be a problem :)

lucavb avatar Feb 13 '22 19:02 lucavb