david1
(David)
August 15, 2024, 9:35pm
1
I have successfully installed it on a esp32 device.
Here’s what I can do:
I can see the mqtt payload going across via mqtt explorer via the following:
state_topic: “Espresence/devices/irk:63d815c41f7a9f2a06d81679d828dc71/main_room”
I can even see the irk showing up under the esp32 device settings
I found this topic (Integrating with Home Assistant - devices aren't recognized · Issue #1142 · ESPresense/ESPresense · GitHub ), but i am able to successfully pair my watch with espresence, but I can’t get the distance showing up in home-assistant with the below yaml in my sensor config
- platform: mqtt_room
name: "Davids Watch"
device_id: "irk:63d815c41f7a9f2a06d81679d828dc71"
state_topic: "Espresence/devices/irk:63d815c41f7a9f2a06d81679d828dc71/main_room"
timeout: 5
away_timeout: 100
could someone please help!!! what else can i try?
Thank. you!!!
nickrout
(Nick Rout)
August 15, 2024, 11:01pm
2
Why here? This is not the espresense forum.
david1
(David)
August 16, 2024, 1:47am
4
So I was able to pair my iphone, but the watch does not seem to connect…
david1
(David)
August 16, 2024, 2:14am
5
I got it to pair succesfully, but the distance isnt showing up still
Try removing main-room
. It’s not needed.
Here is mine.
- platform: mqtt_room
name: 'Duc ESPresense'
device_id: 'irk:8bcf809f09xxxxxxxxxxba36xxxxe5d5'
state_topic: 'espresense/devices/irk:8bcf809f09xxxxxxxxxxba36xxxxe5d5'
timeout: 5
away_timeout: 45
david1
(David)
August 16, 2024, 3:07am
7
No go… does it need time to marinate?
Did you changed the Home Assistant discovery topic prefix:
in your node configuration gui?? The default is blank which under state_topic is
espresense/devices/irk:8bcf809f09xxxxxxxxxxba36xxxxe5d5
In your mqtt screenshot, yours look different to mine.
david1
(David)
August 16, 2024, 3:35am
10
i have it without the room name too
You mispelled espresense
in your state_topic.
david1
(David)
August 16, 2024, 4:10am
12
thanks! it still doesnt seem to be fixed though, how can i check if auto discovery is enabled?
You did restart HA for the changes???
How far is the node to the watch/iphone? Can you bring them close to the node and see if the distance changes?
david1
(David)
August 16, 2024, 5:01am
16
Not sure what changed, but finally got it with this method AND
making sure these were checked!
Strange. Send to rooms topic is unchecked for me for all 5 of my nodes.
This is working for me as well. thanks!
But not cool to see that it will be deprecated in v4 …
Now i finally got it working it is not nice to know that it will break with v4 and therefore in the future…
I did not check that box because i do not want it to break in the future but it is the only way to get it working.
Thanks for this!
nickrout
(Nick Rout)
August 18, 2024, 1:53am
20