Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
125 stars 25 forks source link

Obtaining a new Volvo ID verification code and how to register it. #202

Closed geedsen closed 1 day ago

geedsen commented 3 weeks ago

After the latest update my the Volvo data was available for about 6 hours. After that it became unavailable. But after the install I received about 10 mails from Volvo with a verification code, I ignored them because the data of the volvo in HA was visible. Now I understood that I should have used the verification code and updated the OTP. But disabeling/enabling MQTT does not send me a new code. How do I get one?

Dielee commented 3 weeks ago

Please provide some logs

geedsen commented 3 weeks ago

But the logs don't say anything about my question. How do I get a new verification code? I had 11 mail messages with 11 different verification codes. I used the last one to fill in the OTP. But still everything shows as unavailable.

geedsen commented 3 weeks ago

I changed the OTP. But I see in the HACS Entities the value changed to 00000 again 2 hour s ago.

Dielee commented 3 weeks ago

You send some mosquito logs, this doesn't help..please send Volvo2mqtt logs

geedsen commented 3 weeks ago

"timestamp" : "2024-06-08T11:24:03.679Z"
},
"fogLightRearWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"positionLightFrontLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"positionLightFrontRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"positionLightRearLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"positionLightRearRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"highBeamLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"highBeamRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"lowBeamLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"lowBeamRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"daytimeRunningLightLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"daytimeRunningLightRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"turnIndicationFrontLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"turnIndicationFrontRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"turnIndicationRearLeftWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"turnIndicationRearRightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"registrationPlateLightWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"sideMarkLightsWarning" : {
"value" : "NO_WARNING",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"hazardLightsWarning" : {
"value" : "UNSPECIFIED",
"timestamp" : "2024-06-08T11:24:03.679Z"
},
"reverseLightsWarning" : {
"value" : "UNSPECIFIED",
"timestamp" : "2024-06-08T11:24:03.679Z"
}
}
}
Jun 08 14:26:35 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 90 seconds.
Jun 08 14:27:53 volvo2mqtt [106] - INFO: Starting volvo2mqtt version v1.9.3
Jun 08 14:27:53 volvo2mqtt [106] - DEBUG: MQTT Credentials - Host core-mosquitto Port: 1883 User: addons Pass: xoowij7meim4Uchoh6ohsooThuXooZohl2iaR4iut0yiC4pheec0Phiequienees
Jun 08 14:27:53 volvo2mqtt [106] - INFO: Starting login with OTP
Jun 08 14:27:54 volvo2mqtt [106] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 0/24 Jun 08 14:27:59 volvo2mqtt [106] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 1/24 Jun 08 14:28:04 volvo2mqtt [106] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 2/24 Jun 08 14:28:09 volvo2mqtt [106] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 3/24 Jun 08 14:28:14 volvo2mqtt [106] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 4/24

geedsen commented 3 weeks ago

So I decided to remove and reinstall the add-on. After the reinstall I set the configuration with the same values as before. Then I stored the OTP value. Next I went to the MQTT add-on, it says "1 Entity", but the only thing it shows is "Volvo OTP" , I though I should see the all the volvo entities there. So I rebooted HA. Still only the Volvo OTP, but it also shows that teh value has been reset back to 00000 during the reboot. image So what am I doing wrong?

geedsen commented 3 weeks ago

I do see this: image

geedsen commented 3 weeks ago

And I changed the OTP value again, but this time at the entity shown, before I changed it in the entity state of the developer tools. So it does not work when you change it there. Now the values are there

github-actions[bot] commented 6 days ago

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 day ago

This issue was closed because it has been stalled for 5 days with no activity.