Heating systems integration

Hi,

I have integrated my Netatmo smart thermostat to HA with a basic logic (using node-red): someone is at home => Thermostat mode = home / nobody is at home => Thermostat home is away.

The downside of this basic integration is that when I am away for hours, I have to use my Netatmo app (it could also be the HA but I do not have open the remote access) to cancel the away mode for the time I will be home… in order to start heating the house before being home…

Is there a way to trigger a node-red flow when I start driving home using Waze ? (or even calculating driving time for returning home)

Has someone an idea around that wathever your integrated heating or cooling system ?

Proximity sensor to the rescue: https://www.home-assistant.io/integrations/proximity/
Automate using state and dir_of_travel attribute.