You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two vehicles associated with my Volvo account, the volvo2mqtt integration finds both vehicles and creates the expected entities
The image.volvo_{vin}_exterior_imageand image.volvo_{vin}_interior_image entities are duplicated
One vehicle is mild-hybrid, the other is BEV. They are different colors. These differences are reflected in all the various entities except that:
The entities for both vehicles have the same interior / exterior images
After destroying / recreating the container a few times, which vehicle's images "win" is non-deterministic (I'm guessing it's a race condition where the first vehicle image to resolve gets set as the entity value for both)
The API responses in the logs indicate that the response values are correct (e.g. if I visit the data.images.{exteriorImageUrl,interiorImageUrl} URLs in the API response, they are accurate for each vehicle)
To Reproduce:
Steps to reproduce the behavior:
US market (this integration just started working again now that Volvo API access is opening up)
Run container, inspect entity values from within HA
Observe that image.volvo_{vin}_exterior_imageand image.volvo_{vin}_interior_image entities are the same for both vehicles associated with my account
Expected behavior:
Each vehicle should have different exterior/interior photos based on entities. I have examined the logs, and the API responses point to the correct image URL for each vehicle (for both exterior and interior images) so this seems like a bug in the logic to transform Volvo API responses into MQTT messages
Screenshots:
If applicable, add screenshots to help explain your problem.
Version info:
volvo2mqtt at version sha-75db5da, running in a docker container alongside HA
Logs:
Redacted, I'd rather not share private vehicle data.
Oct 27 21:21:12 volvo2mqtt [1] - DEBUG: {
"data" : {
"vin" : "<vehicle_a>",
"images" : {
"exteriorImageUrl" : "<this value is accurate for this vin>",
"internalImageUrl" : "<this value is accurate for this vin>"
},
}
}
Oct 27 21:21:12 volvo2mqtt [1] - DEBUG: {
"data" : {
"vin" : "<vehicle_b>",
"images" : {
"exteriorImageUrl" : "<this value is accurate for this vin>",
"internalImageUrl" : "<this value is accurate for this vin>"
},
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
volvo2mqtt
integration finds both vehicles and creates the expected entitiesimage.volvo_{vin}_exterior_image
andimage.volvo_{vin}_interior_image
entities are duplicateddata.images.{exteriorImageUrl,interiorImageUrl}
URLs in the API response, they are accurate for each vehicle)To Reproduce:
Steps to reproduce the behavior:
image.volvo_{vin}_exterior_image
andimage.volvo_{vin}_interior_image
entities are the same for both vehicles associated with my accountExpected behavior:
Each vehicle should have different exterior/interior photos based on entities. I have examined the logs, and the API responses point to the correct image URL for each vehicle (for both exterior and interior images) so this seems like a bug in the logic to transform Volvo API responses into MQTT messages
Screenshots:
If applicable, add screenshots to help explain your problem.
Version info:
volvo2mqtt
at versionsha-75db5da
, running in a docker container alongside HALogs:
Redacted, I'd rather not share private vehicle data.
The text was updated successfully, but these errors were encountered: