I manage the distance (in km) of each member of my family

For this, I discovered an integration called Proximity

There is nothing to install, it is already integrated into Home Assistant.

Ref doc: https://www.home-assistant.io/integrations/proximity

Configuration of the integration 

There is no GUI to date, you need to add a piece of code in configuration.yaml

I added:

proximity: Lionel: area: home devices: - person.lionel tolerance: 50 _of _measurement unit: km

On this code:

  • Lionel: will recover the entity proximity.lionel
  • person.lionel it is the entity of the ‘lionel’ person who is an Android user who has the application and who is located.
  • tolerance this is the allowance used to calculate the direction of travel in metres (m) to filter out small changes in GPS coordinates. 50 looks good.
  • _of _measurement Unit this is the result display unit, km by default but can also be m, mi, yd or ft

Result 

On this screen, lionel is 15km from home

dir_of _travel takes the values

  • not set when there is a problem and it is not active
  • arriving
  • towards when the person goes to the target (Home in my example)

  • away_from
  • unknown
  • stationary

 

 

 

I save my Home Assistant on my Synology NAS (HA>2023.6) via Samba

This is great news, since the version 2023.6, the network storage becomes archi-simple, it is managed by the core of Home Assistant. Congratulations to the developers, it was missing.

So I will give up my backups via Samba Backup. They worked perfectly but required the installation of the Samba Backup add-on, I can now uninstall it and delete my Retex on its configuration.

  • December 2023 update: I had some problems with Samba, I switched my HA Backup via NFS

Read More