aex351 / home-assistant-neerslag-app

Neerslag app for Home Assistant. All-in-one package (Sensors + Card).
56 stars 14 forks source link

Update location of integration dynamically based on location sensor of HA app device #13

Open GuySie opened 3 years ago

GuySie commented 3 years ago

The neerslag app/card currently shows the expected rain for a fixed location that is set up during installation, for most people it's probably their home.

Would it be possible to base the location not on a pre-set location, but on a dynamically updated location of a device like a phone running the Home Assistant app? The HA app has a sensor.devicename_geocoded_location sensor that contains lat/long location data. Then my HA setup always knows the expected rain forecast for the location I'm in, which is not necessarily my home.

aex351 commented 2 years ago

This would be a new feature. If it is possible to get to the particular sensor within this integration this could be pretty straightforward to implement. I will need to do a bit of research on this.

GuySie commented 2 years ago

Great, thanks! Next to using your Lovelace card in my home HA interface, I'm also using the sensor data from Neerslag-app to build a chart to always display on my apple watch's face. Having access to a dynamic location would be very helpful to me:

https://style.oversubstance.net/2021/07/buienalarm-buienradar-apple-watch-complication-using-home-assistant/

Peterpc58 commented 1 year ago

And how about adding a second location?