Replies: 1 comment 4 replies
|
Hello, I'm not really familiar with Home Assistant world so I have no idea how to implement addons :) HA automation approach (currently described as a way to integrate HA and GeoPulse) doesn't really support retry to queue mechanism. When a new GPS point comes to HA it automatically tries to send it to GeoPulse. HA doesn't care if GeoPulse received the point or not. So currently for all types of integration GeoPulse is receiver - it waits until someone sends a new GPS point to it. We don't go to external systems to ask "do you have new data for me"? As far as I know the same architecture is used by all similar apps like GeoPulse. I do agree that it might be not optimal and it's much better to have some queue or retry mechanism on HA side when GeoPulse is down but at this stage I don't think I can invest time in such addon implementation. It would be really nice if someone from the community can do it because many other apps (like Dawarich, Reitti) will also benefit from such addon. Thanks. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello. I see that we already have a way to import data from Home Assistant by editing configuration.yaml and automations.yaml. From people's comments, looks like it works, but it would be much easier for most people (including me) if there were a HACS addon or a Home Assistant addon that could send data to Geopulse without manual config edits.
Side question: if Home Assistant goes down, OwnTracks keeps logging offline and then uploads everything once HA is back online. Would it be possible for the integration to also look at the Home Assistant location history for a selected device and send all of that to Geopulse, instead of only sending the most recent location? Maybe the current method already does that?
I guess this would also apply when Home Assistant is running but Geopulse is down — the integration could catch up by sending the missed history once everything is back online.
I found this interesting project that exports the location information in HA database to GPX file. Though it might help Geopulse get historical information:
https://github.com/rubiojr/hass2geo
All reactions