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

A option do change the location based on device #325

Closed
soloam opened this issue Oct 14, 2024 · 3 comments
Closed

A option do change the location based on device #325

soloam opened this issue Oct 14, 2024 · 3 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@soloam
Copy link

soloam commented Oct 14, 2024

Is your feature request related to a problem? Please describe.
In my home, for example, the location of the kitchen is a wall that also contains the living room shelly, so I have 2 shelly's, one for the kitchen and one for the living room next to each other. I have set both to each location (living room and kitchen), but now that makes "my" bermuda jump between kitchen and living room. I would like to keep the home assistant with the correct zones (this is important to all kinds of things like automations) but I would like to say to bermuda that the one that is from the kitchen, actually should assume the living room. Now I'm doing that with templates, but native it would be great!

Describe the solution you'd like
A option to override the zone by proxy

Thank you and great work.

@agittins agittins added the wontfix This will not be worked on label Oct 15, 2024
@agittins agittins self-assigned this Oct 15, 2024
@agittins
Copy link
Owner

Hmm. That's a tough one. I totally see your use-case, and agree that keeping them in their respective areas is important for the other functions those devices perform.

I don't think I will implement this as a feature though, as it's something that won't be needed once we have trilateration (#21) and it adds complexity to the code for a fairly narrow use-case.

  • I think the templating fix you've come up with is probably the best way to address it.

  • Another option would be to use the calibration settings in v0.6.9rc2 to "turn down" the blueooth receiver in one of them so it never "wins" the area for a device.

  • Another option would be to set the two shellys to both be in the same area, but change the area for the individual entities (switch, light, binary sensor etc) to be in the other area. That way both shellys will show in the kitchen, but you manually assign any switches, lights etc from that device to be in the area you want. (HA uses the device area by default to work out the area for each entity, but you can override that on a per-entity basis).

Once we have trilateration I expect most people will use that to work out the area, which won't have this particular issue. Does that sound fair?

@soloam
Copy link
Author

soloam commented Oct 15, 2024

Tks for the replay I didn't know you were working in tringulating the signal to determine the position! That is something that ESPresence does with a addon in home assistant and it's very cool! That would be perfect!

Thank you for your work

@agittins
Copy link
Owner

No worries, glad you're enjoying it!

Yes trilateration has been the main goal from the start but it's been a long time coming! A lot of work has gone into understanding the basics and trying to get a good user experience with the simple area matching.

I'll close this issue for now but please feel free to comment with further info etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants