Error message to Domoticz
Posted: Wednesday 30 October 2024 13:24
I've created a small Node-Red flow that reads the information from my Kia EV6 using Bluelinky every 10 minutes.
Most of the time this goes ok, but sometimes there is an error in the communication. Now i'm looking for a way to send part of this message to Domoticz.
The error looks like this:
And I want the part between braces sent to a Domoticz device.
Because it's not a json message I'm note sure how I can handle this.
Most of the time this goes ok, but sometimes there is an error in the communication. Now i'm looking for a way to send part of this message to Domoticz.
The error looks like this:
Code: Select all
ManagedBluelinkyError: @EuropeVehicle.fullStatus: [401] Unauthorized on [GET] https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprd.eu-ccapi.kia.com%3A8080%2Fapi%2Fv2%2Fspa%2Fvehicles%2Fd717d170-e9b2-4000-9144-4cc82bff4ad1/location - {"error":"Key not authorized: Token is expired"}
Because it's not a json message I'm note sure how I can handle this.