home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.81k stars 30.91k forks source link

Volvo On Call requests all trips every minute #48414

Closed dircr closed 3 years ago

dircr commented 3 years ago

The problem

VOC integration polls API every minute, transmitting all trips details results in high downlink usage.

What is version of Home Assistant Core has the issue?

core-2021.3.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Volvo On Call

Link to integration documentation on our website

https://www.home-assistant.io/integrations/volvooncall/

Example YAML snippet

_No response_

Anything in the logs that might be useful for us?

_No response_

I understand the reason for this is to populate last_trip but perhaps there's a way to limit the number of results or fetch trips only after the engine stops? My HA installation transferred 8GB of data from vocapi.wirelesscar.net over the last 24h.

probot-home-assistant[bot] commented 3 years ago

volvooncall documentation volvooncall source (message by IssueLinks)

dircr commented 3 years ago

Trips get requested every minute even without "last_trip" included in resources. My config:

volvooncall:
  username: !secret volvo_username
  password: !secret volvo_password
  resources:
    - position
    - lock
    - heater
    - odometer
    - average_speed
    - fuel_amount
    - fuel_amount_level
    - average_fuel_consumption
    - distance_to_empty
    - service_warning_status
    - battery_charge_status
    - engine_start
    - is_engine_running
github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.