enbility / eebus-go

EEBUS protocol implementation in go
https://enbility.net
MIT License
52 stars 14 forks source link

Add workaround for PMCP reporting wrong uc address #106

Closed DerAndereAndi closed 4 weeks ago

DerAndereAndi commented 4 weeks ago

The PMCP device reports EV usecases at the entity address of the EVSE entity (e.g. “[1]”), instead of the EV entity (e.g. “[1,1]”)

This change checks for the actor type to be an EV and patches the address to include the EV subentity if it doesn’t have it