Skip to content

OCPP chargers ​

SpotNav works with chargers through the Home Assistant OCPP integration (0.12 and later), and with any charger that exposes a switch. There is no separate OCPP choice when adding a charger: choose Automatic (recommended) and pick the charge point's connector. SpotNav recognises it as an OCPP device, offers only its compatible entities, and asks the charge point how its current can be set (see Setting the current). The walk-through is in Set up SpotNav, and supported hardware says which OCPP hardware has been tested.

Entities ​

RoleEntityScope
Charge controlswitch.<charge_point>_connector_<n>_charge_controlper connector; starts and stops charging
Session current limitnumber.<charge_point>_connector_<n>_session_current_limitper connector, only during a transaction
Station maximumnumber.<charge_point>_maximum_currentper charge point, a persistent ceiling
Connector statussensor.<charge_point>_connector_<n>_status_connectorper connector
Current importsensor.<charge_point>_connector_<n>_current_importper connector
Transactionsensor.<charge_point>_connector_<n>_transaction_idper connector

A charge point with one connector uses the flat names (switch.<charge_point>_charge_control, sensor.<charge_point>_status_connector), which mean connector 1. SpotNav finds a connector's sensors by their identity in Home Assistant's entity registry (the connector they belong to), so a renamed sensor is still read; the names above are only the fallback. On a charge point with several connectors a flat sensor is the station's, never a connector's. The station maximum is never written by SpotNav. The session current limit is unavailable while no transaction runs, which is normal.

Which connector ​

A charger with several connectors has one Charge Control switch per connector, and the device list shows the connectors. Select the one for the outlet you use, and add each connector you want to control as its own charger. The charge point and connector are derived once from that entity and stored; nothing else parses an entity id to decide a connector, and connector 1 is never assumed. If no unique connector can be established the current is recorded but not applied; choose the Charge Control entity of the connector again under Configure.

Setting the current ​

Chargers that should follow a plan's amps, solar surplus or load balancing need current control. SpotNav decides how when the charger is added, by asking the charge point and never by its make or model. While the charge point is reachable, SpotNav reads its AssignedCurrent configuration key, a read-only question with a ten second limit:

  • The charge point lists this connector. The current is set through ChangeConfiguration (AssignedCurrent): the OCPP integration's configure service sets the AssignedCurrent configuration key. It modulates a running charge with no charging profile and no reboot. Load balancing and the sun write it at most six times a minute. The configure service answers the same whether the charge point accepted the value or rejected it, so when load balancing must lower the current (an overload) the key is read back, for at most 5 seconds, and is never held by that budget: a charge point that does not confirm the lower value is stopped instead.
  • The charge point answers without it. If the connector has exactly one session current limit number, the current is set through that number, at most one write every 10 s. Otherwise SpotNav does not set the current.
  • The charge point does not answer, for example because it is not connected yet. Nothing is decided and nothing is guessed: the flow shows the entities form with a message asking you to wait until the charger is connected and submit again, or to choose yourself.

When a connector is found this way, the Charger found dialog names the result, and Change these choices opens the form where How SpotNav sets the current can be changed: Do not set a current, ChangeConfiguration (AssignedCurrent), or, when the connector has one, the charger's current number. With Do not set a current the requested current is recorded for planning and reporting but never applied, and the charger runs at its own configured maximum.

Later, Configure on the charger's entry shows Set the charger current with Do not set a current and ChangeConfiguration (AssignedCurrent) for an OCPP connector. The session limit number is chosen when the charger is added.

Without any of these, SpotNav still starts and stops the charge.

Of the chargers seen so far, only Charge Amps lists AssignedCurrent, so most use the session current limit. The OCPP integration sends that number as a relative charging profile (TxProfile), and some chargers reject it: Easee over OCPP (absolute profiles only), KEBA firmware 1.18 and 1.19.0, Autel, and ABB firmware 1.8.37 with the integration's 0.12 versions. On those, current control does not work: the charge starts and stops, at the charger's own maximum. A charging profile left behind, by another system or by a stack level the integration fell back to, can cap the charger below what SpotNav writes while the number shows SpotNav's value: the OCPP integration's ocpp.clear_profile action removes it.

The 6 A floor ​

IEC 61851 chargers do not deliver under 6 A. SpotNav never writes a current below the charger's minimum (6 A by default); when load balancing or solar leaves less, it does not lower the charger further.

Vehicle not requesting current ​

If a charge was started and the connector stays SuspendedEV with about zero import current for two minutes, the card shows that the vehicle is not requesting current. It is only an observation: SpotNav does not retry, reset or clear anything, because the usual cause is at the car (re-plugging the cable is what normally helps). SpotNav reads the current-import main state for this, not the per-phase attributes, which can keep stale non-zero samples.

One controller per switch ​

A charge-control switch, and a current-limit number if configured, can belong to only one SpotNav charger. Reusing one from another SpotNav entry is refused, because two controllers could send contradictory start and stop commands.

Sensnology AB. No accounts, no analytics, no tracking.