agittins / agittins/bermuda

Use some logic to identify which device per user is "active"

Đang mở
#806 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2k
Fork
70
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Maybe this is already present...I'm having a hard time adding my WearOS watch as a supplemental device right now.

Basically, if there are multiple devices assigned/associated with a Person, what is the current logic to say the person's location based upon the multiple devices? Maybe Bermuda doesn't do this at all and is simply reporting individual devices, not truly the Person's location...in which case we'd need some kind of roll-up/calculated "sensor" for the Person - like home/away calculations, but more precise.

A somewhat simple algorithm would be to identify the device that has moved most recently and use that location for the person (obviously each device keeps its individual location). Despite its simplicity, it would probably catch most cases.

If this can be done with some kind of calculated/pseudo sensor in HA, I'd love to hear about it...but it's very applicable to Bermuda, and would be a worthwhile addition IMHO.

Thanks!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.