Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to Person in HomeAssistant #48

Open
Subcode opened this issue Jul 3, 2021 · 3 comments
Open

Link to Person in HomeAssistant #48

Subcode opened this issue Jul 3, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Subcode
Copy link

Subcode commented Jul 3, 2021

I am trying to link the mqtt-room tracker to a Person in home assistant so i can track if a person is home / in what room within home assistant. But there doesnt seem to be a device_tracker link in mqtt-room to enable this with.
It'd be great if i could link a beacon to a person. Preferably through a device tracker of some kind so i can add it through the home assistant person interface.
It would allow for a lot more automation.

@Subcode Subcode added the enhancement New feature or request label Jul 3, 2021
@anarchking
Copy link
Contributor

Yeah its not easy but I use templates to accomplish that.

@Subcode
Copy link
Author

Subcode commented Jul 3, 2021

Could you post the template here?

@anarchking
Copy link
Contributor

  • platform: mqtt_room
    device_id: xx:xx:xx:xx:xx:xx
    name: AnarchKing_is_in
    state_topic: "home/home_presence"
    #timeout:
    #away_timeout:

I name the sensors the name of the room and give it a number cuz I sometimes have multiple sensors in one room.
So sensor will display (AnarchKing_is_in OfficeBLE1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants