onstar2mqtt icon indicating copy to clipboard operation
onstar2mqtt copied to clipboard

Data Does Not Refresh Even Though Manual Run of "diagnostics" Command Succeeds

Open BigThunderSR opened this issue 2 years ago • 1 comments

Manually running the "diagnostics" command succeeds as seen in the onstar2mqtt log, but the data is not actually refreshed by onstar2mqtt. The only way to force a refresh successfully is to restart onstar2mqtt.

This seems to be similar to what is mentioned in https://github.com/michaelwoods/onstar2mqtt/issues/225#issuecomment-1310294316 although I am not seeing any errors as mentioned in that thread in the case where the command actually succeeds.

BigThunderSR avatar Nov 10 '22 15:11 BigThunderSR

The only (on-demand) command that is synchronous is the location command. As long as the response comes back from the API it should be easy to integrate the response handler for diagnostics too.

michaelwoods avatar Nov 11 '22 13:11 michaelwoods

Neither command actually publishes an mqtt message for me. They both get "Command response data", but they don't actually do anything.

charliesoap4 avatar Dec 01 '22 02:12 charliesoap4

Neither command actually publishes an mqtt message for me. They both get "Command response data", but they don't actually do anything.

@charliesoap4 You probably hit this issue I reported earlier today regarding the failure to update the location - https://github.com/michaelwoods/onstar2mqtt/issues/238#issue-1497157416

BigThunderSR avatar Dec 15 '22 05:12 BigThunderSR

Closing as related bug was fixed.

michaelwoods avatar Feb 02 '23 01:02 michaelwoods