[2023-03-21T13:46:00.764Z] Updated charger state
[2023-03-21T13:46:30.900Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:46:30.903Z] Updated charger state
[2023-03-21T13:47:01.064Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:47:01.066Z] Updated charger state
[2023-03-21T13:48:00.480Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:48:00.486Z] Updated charger state
[2023-03-21T13:48:30.582Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:48:30.586Z] Updated charger state
[2023-03-21T13:49:00.764Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:49:00.766Z] Updated charger state
[2023-03-21T13:49:31.578Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:49:31.581Z] Updated charger state
[2023-03-21T13:50:01.029Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:50:01.033Z] Updated charger state
[2023-03-21T13:50:31.203Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:50:31.206Z] Updated charger state
[2023-03-21T13:51:00.548Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:51:00.551Z] Updated charger state
[2023-03-21T13:51:30.492Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:51:30.495Z] Updated charger state
[2023-03-21T13:52:00.662Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:52:00.665Z] Updated charger state
[2023-03-21T13:52:30.879Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:52:30.883Z] Updated charger state
[2023-03-21T13:53:01.007Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:53:01.010Z] Updated charger state
[2023-03-21T13:53:31.142Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:53:31.146Z] Updated charger state
[2023-03-21T13:54:00.422Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:54:00.426Z] Updated charger state
[2023-03-21T13:54:30.607Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-21T13:54:30.610Z] Updated charger state
[2023-03-21T13:55:00.731Z] Charge mode update: 1 to 2
[2023-03-21T13:55:00.731Z] Car connected: null
[2023-03-21T13:55:00.753Z] Updated charger state
[2023-03-21T13:55:30.865Z] Updated charger state
[2023-03-21T13:56:01.105Z] Updated charger state
[2023-03-21T13:56:16.120Z] Updated available current
[2023-03-21T13:56:31.247Z] Charge mode update: 2 to 3
[2023-03-21T13:56:31.247Z] Car connected: null
[2023-03-21T13:56:31.877Z] Updated charger state
[2023-03-21T13:57:00.470Z] Updated charger state
[2023-03-21T13:57:30.551Z] Updated charger state
[2023-03-21T13:58:01.073Z] Updated charger state
[2023-03-21T13:58:31.061Z] Updated charger state
[2023-03-21T13:59:01.144Z] Updated charger state
[2023-03-21T13:59:31.244Z] Updated charger state
[2023-03-21T14:00:00.505Z] Updated charger state
[2023-03-21T14:00:30.662Z] Updated charger state
car is currently not connectedâŚ
[2023-03-22T12:38:30.592Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-22T12:38:30.595Z] Updated charger state
[2023-03-22T12:39:01.119Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-22T12:39:01.122Z] Updated charger state
[2023-03-22T12:39:31.377Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-22T12:39:31.380Z] Updated charger state
[2023-03-22T12:40:01.053Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
Do you get the charging starts and car connected triggers in your flows?
Page not found when trying to find the app (link in one of the earlier posts).
Is it due to pending approval from Athom after update of app?
Hi, how can I start testing the app? The link does not work.
- Yes, I have a âif car connectsâ and âif car disconnectsâ flow in use. These are both not working right now.
- The âWhen car startsâ charging and âWhen car stoppsâ charging works as expected.
Here is a log after I connected my car, but without starting to charge:
[2023-03-24T18:35:30.799Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-24T18:35:30.802Z] Updated charger state
[2023-03-24T18:36:01.565Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-24T18:36:01.567Z] Updated charger state
[2023-03-24T18:36:30.886Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-24T18:36:30.889Z] Updated charger state
[2023-03-24T18:37:00.968Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-24T18:37:00.971Z] Updated charger state
[2023-03-24T18:37:31.347Z] Failed to handle charger state 721: SyntaxError: Unexpected token u in JSON at position 0
[2023-03-24T18:37:31.349Z] Updated
First of all - thank you for developping to Zaptec. Donât know if this is of any help.
Created a flow that collects alle variables when a flow is activated. See below.
(Hope the image shows)
Okay, it looks like the CarDetected
state is not triggering at all. I will check into it later tonight. I still donât get why the SessionIdentifier
state (721) is failing to parse. It doesnât really do anything. My current guess is that homey does some internal parsing of states which Iâve managed to bork with previous releases. Would it be possible for any of you to try and remove and re-add your charger and see if the messages disappears? That would at least (dis)prove the thesis.
Iâve pushed another release which uses the charging operation mode to trigger car disconnected / connected. Letâs see if we get the behaviour we expect.
As for those asking for the link to the app, since Iâm pushing fairly small and continuous changes I donât want to submit for certification each time. Itâs better that we get the base functionality in place and then I will formally publish it all the way and continue iterating!
I tried it. Result: Start / Stop Flow are no longer working. Car connected / Car Disconnected are still not working.
Hereâs the log:
[2023-03-27T19:43:25.351Z] Renewed token successfully
[2023-03-27T19:43:26.073Z] Got yearly power history
[2023-03-27T19:43:30.753Z] Updated charger state
[2023-03-27T19:44:00.945Z] Failed to handle charger state 710: Error: Invalid Capability: car_connected
[2023-03-27T19:44:00.956Z] Updated charger state
[2023-03-27T19:44:30.999Z] Updated charger state
[2023-03-27T19:45:01.270Z] Updated charger state
[2023-03-27T19:45:30.519Z] Failed to handle charger state 710: Error: Invalid Capability: car_connected
[2023-03-27T19:45:30.528Z] Updated charger state
Letâs see if itâs remedied now.
I only have âUpdated charger stateâ in the logs for my 3 chargers now.
(They have not been used since the last app update)
I have Eco mode activated so it didnât (correctly) start charging when the car was connected.
It started charging around 1 PM which is also the cheapest hour before midnight - (controlled by Eco Mode).
Discard my coment about starting from Eco mode. My wife started the charging from the zaptec app.
Charging stopped 3:32 PM and it shows in the flow data.
@pwad : Start / Stop / Disconnect / Connect Flows successfully tested! They work as expected. Good job!
There is a issue with the boolean âChargingâ. It stayed on âyesâ after the charging ended. Charge mode has been set correct. The value changed to ânoâ after I disconnected my car.
@rh_rh The âChargingâ token shouldâve been fixed now. This affects the charging button in the device in the UI, i.e. when you want to manually start a charge using the Homey app. Could you try to start a charge manually via homey, just to see the experience?
Edit: Iâve also pushed a fix for the token in the latest version
It seems like the âthenâ cards doesnt work.
I had problems with the charging button aswell. It worked after pressing the button a couple of times