Skip to content

Missing all phase voltage and current from event notifications #292

@sveinse

Description

@sveinse

Question for Zaptec

I've noticed a pattern in my logs which is strange. I'm receiving two CurrentPhase updates by the service bus events, but the last doesn't update until we poll for it much later. I'd expect the three phase measurements to be more or less atomic, so its unexpected that the service bus doesn't deliver the last measurements by events.

This also happens to the VoltagePhase* values.

Why is this happening?

14:56:42.008 @@@  EVENT {'ChargerId': '<--Charger[f40861]-->', 'StateId': '710 (ChargerOperationMode)', 'Timestamp': '2025-08-17T14:56:41.541463Z', 'ValueAsString': '3'}
14:56:42.008 >>>  Updating Charger[f40861].charger_operation_mode (ChargerOperationMode)  =  <str> 'Connected_Charging'  (was 'Connected_Finished')
14:57:19.114 @@@  EVENT {'ChargerId': '<--Charger[f40861]-->', 'StateId': '507 (CurrentPhase1)', 'Timestamp': '2025-08-17T14:57:18.613495Z', 'ValueAsString': '9.509'}
14:57:19.114 >>>  Updating Charger[f40861].current_phase1 (CurrentPhase1)  =  <float> 9.509  (was 0.045)
14:57:19.141 @@@  EVENT {'ChargerId': '<--Charger[f40861]-->', 'StateId': '509 (CurrentPhase3)', 'Timestamp': '2025-08-17T14:57:18.615199Z', 'ValueAsString': '9.484'}
14:57:19.141 >>>  Updating Charger[f40861].current_phase3 (CurrentPhase3)  =  <float> 9.484  (was 0.031)
14:57:42.058 @@@  REQUEST GET to 'https://api.zaptec.com/api/chargers/<--Charger[f40861]-->/state'
14:57:42.193 >>>  Updating Charger[f40861].current_phase2 (CurrentPhase2)  =  <float> 9.367  (was 0.024)

Metadata

Metadata

Assignees

No one assigned

    Labels

    zaptecIssues about upstream Zaptec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions