Open Rahulsharma0810 opened 2 years ago
Hi @Rahulsharma0810 ,
what exactly is the issue here? I can see that devices are detected in MQTT. Are you concerned about the empty console info output?
I am not able to get the accessories as sensors in homebridge.
magically after some time it magically started working.
9/19/2022, 4:52:33 PM] [homebridge-espresense] Connected to MQTT.
[9/19/2022, 4:52:38 PM] [homebridge-espresense] Initialized Characteristics for room officeroom
[9/19/2022, 4:52:38 PM] [homebridge-espresense] [officeroom] Turned active_scan ON
[9/19/2022, 4:52:38 PM] [homebridge-espresense] [officeroom] Set absorption to 3.5
[9/19/2022, 4:52:38 PM] [homebridge-espresense] [officeroom] Set max_distance to 4
[9/19/2022, 4:52:38 PM] [homebridge-espresense] [officeroom] Subscribed to device topic.Room ready. Device timeout: 6000
[9/19/2022, 4:52:38 PM] [homebridge-espresense] [officeroom] Listening to presence data. Watched devices: ["irk:ec4a9f44be8338bd17e908f4f9bd0d2c","irk:3c4809a0b1608442d8be28d2a86e254a"]
[9/19/2022, 4:52:40 PM] [homebridge-espresense] [officeroom] Found: ["irk:3c4809a0b1608442d8be28d2a86e254a"]
[9/19/2022, 4:52:40 PM] [homebridge-espresense] [officeroom] Updated sensor to "1"
[9/19/2022, 4:52:43 PM] [homebridge-espresense] [officeroom] Found: ["irk:3c4809a0b1608442d8be28d2a86e254a","irk:ec4a9f44be8338bd17e908f4f9bd0d2c"]
However there are no Accessories in the homebridge tab, also when I tried to pair the homekit with the homebridge, the occupancy sensor reported
I´ve got the exact same issue as you. Did you restart home bridge to get it to work or did you let homebridge run for some time and then it started to magically work?
for me it was the room name in the espresense config and the homebridge-espresense plugin config had a typo in it
make sure both configs have the same room name
once I fixed that, it started working
Config file with devices.
Mqtt getting devices
The strange part is if I removed
roomSettings
block it still shows the same output. Any configurations I am missing ?