evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Doku poll verfeinern

Open thebrainkafka opened this issue 3 years ago • 3 comments

    Was halltet ihr hiervon:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
       poll:
         # poll mode defines under which condition the vehicle API is called:
-        #   charging: update vehicle ONLY when charging (this is the recommended default)
-        #   connected: update vehicle when connected (not only charging), interval defines how often
-        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
+        #   charging: update vehicle when connected and until charge process is done (w.r.t. targetSoc) (this is the recommended default)
+        #   connected: update vehicle when connected even if charge process is done (w.r.t. targetSoc)
+        #   always: always update vehicle regardless of connection state (only supported for single vehicle)
         mode: charging
-        # poll interval defines how often the vehicle API may be polled if NOT charging
+        # poll interval defines how often the vehicle API may be polled under above conditions and if NOT charging
+        # if charging the interval is defined by the cache key on the vehicle definition (default 15m)
         interval: 60m

Originally posted by @nename0 in https://github.com/evcc-io/evcc/discussions/6139#discussioncomment-4904968

thebrainkafka avatar Feb 14 '23 10:02 thebrainkafka

Von nename0.

thebrainkafka avatar Feb 14 '23 10:02 thebrainkafka

Gerade gemacht: #6238 😉

nename0 avatar Feb 14 '23 10:02 nename0

Perfekt. Danke

thebrainkafka avatar Feb 14 '23 10:02 thebrainkafka