Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data no longer updates #56

Open
tremosian opened this issue Sep 5, 2022 · 7 comments
Open

Data no longer updates #56

tremosian opened this issue Sep 5, 2022 · 7 comments

Comments

@tremosian
Copy link

In Home Assistant, I'm no longer seeing data (steps/distance/latitude or longitude) changes, unless I reload the integration.

(The TryFi integration has been amazing, and thank you. I ended up making a soft lock, that if she left the latitude/longitude of her lock, I'd get a ping.)

@bigray327
Copy link

Same issue for me on 11/18/2022, so this was not fixed.

@chester512
Copy link

same here. Set it up last night, worked fine. This morning, all entities say unavailable.

@bwillacker
Copy link

I also am experiencing this data reporting issue. All data stops reporting (steps, etc) in the integration from Fi's cloud. I've reviewed the logs and it seems to correspond when our home router switches connections (we're in an RV with a router combining Starlink and cellular connectivity). It's not stopping every time the router switches connections, mind you, it just happens to be the only thing in the logs that seems related at the times the integration stops reporting data. The last uptime on the integration was about 6 days and our router switches connections at least twice/day.

This screenshot illustrates the integration reporting stops I've seen in the last 10 days:
Integration Stops

I created an automation this afternoon that monitors the last update on the sensors and if they haven't reported in for a period of time it will restart the integration. If I find it to be a reliable work around I'll report back on this issue with an example.

I also am a big fan of this integration. I'm primarily using it to give our dog presence (Home / Away). And push a notification when the collar is fully charged so I remember to put it back on the dog. I'm sure I'll find other uses over time. A big thank you to @sbabcock23 for writing this!

@squishyoctopus
Copy link

It’s not updating for me either. It updates when the integration is loaded/reloaded but never updates after that.

@prestomation
Copy link
Contributor

Please include any relevant logs here. I don't think the maintainers will be able to diagnose without more information

@nitharios
Copy link

@bwillacker how is that automation working for you? I'm also looking to do something similar since I'm having the same issue.

@bwillacker
Copy link

bwillacker commented Apr 1, 2024

@nitharios - It's been a while but this is what I ended up with. It will restart the TryFi integration if your dog's tracker hasn't reported a status update within the last 10 minutes (600 seconds). I've had no issues with inaccurate reporting of my dog's status since I've implemented this.

trigger:
  - platform: template
    value_template: >-
      {{ (as_timestamp(states.sensor.time.last_changed) -
      as_timestamp(states.device_tracker.**YOUR DOG**.last_changed)) > 600 }}
action:
  - service: homeassistant.reload_config_entry
    data:
      entry_id: **YOUR FI INTEGRATION**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants