mbapi2020 icon indicating copy to clipboard operation
mbapi2020 copied to clipboard

Service call not working

Open juite opened this issue 3 years ago • 3 comments

Hi,

Thanks for the nice HA Integration.

I'm struggeling a bit with caling services. When caling services like Roof Open, Unlock they don't work (locking the car works). I have configured the integration with VIN and PIN. When i.e. caling service "MercedesME 2020: sunroof_open", it does not open de sun roof.

image

Message:

JSON: { "apptwin_command_status_updates_by_vin": { "updates_by_vin": { "Wxxxxxxxxxx": { "vin": "W1xxxxxxxxxxxxxxxx", "updates_by_pid": { "58xxxx3": { "process_id": "58xxxx3", "request_id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx", "timestamp_in_ms": "-1", "type": "ROOFOPEN", "state": "INITIATION" } } } } } }

Message:

'utf-8' codec can't decode byte 0x8a in position 0: invalid start byte

What can that be?

juite avatar May 31 '22 12:05 juite

Hi, can you enable the debug log and share the complete error message? I’m on vacation in Italy right now. Please expect some delays from my side

ReneNulschDE avatar May 31 '22 15:05 ReneNulschDE

Hi, enjoy your vacation in Italy! I made a brand new installation of the integration and its working without the problem. Until restarting Home Assistant. All sensors became unavailable. I restarted HA because it was not updating status information for the sensors. In the messages folder I see that it receives a JSON with correct information. It looks like it has problem in parsing the JSON. Would jou like to receive the messages from the messages folder? and how would you like to receive them?

juite avatar Jun 02 '22 08:06 juite

Could you send the logs + messages via email to mb.dev.issue.56 (@) Nulsch.de?

ReneNulschDE avatar Jun 02 '22 09:06 ReneNulschDE