File: vehicle_data.battery-status.rst

package info (click to toggle)
python-renault-api 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,696 kB
  • sloc: python: 7,804; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
battery-status
''''''''''''''

.. rst-class:: endpoint

Base url:
   ``/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v2/cars/{vin}/battery-status``

Sample return:
   .. literalinclude:: /../tests/fixtures/kamereon/vehicle_data/battery-status.2.json
      :language: JSON

.. note::
   * ``batteryTemperature`` is not always present.
   * ``batteryCapacity`` appears to always return ``0``.

   On Zoe40 (model code X101VE):
      * ``chargingInstantaneousPower`` gives value in watts.
      * ``chargingStatus`` uses only a subset of ``ChargeStatus``\_ enum (NOT_IN_CHARGE = 0.0, CHARGE_IN_PROGRESS = 1.0, CHARGE_ERROR = -1.0)

   On Zoe50 (model code X102VE):
      * ``batteryTemperature`` appears completely wrong.
      * ``chargingInstantaneousPower`` seems to return values in kilowatts, but the values still appear completely wrong.