[APP][Pro] Niu

@martijnpoppen the app is not updating the data anymore. I wanted to use my scooter this morning and the app says it was 87% charged, but when I turned the switch it was 25%.

Hey @Rens_Hoekema ,
Oh that shouldnt be the case :stuck_out_tongue:
Can you send a diagnostic report?

Is your scooter still available on my account?

@martijnpoppen yes it is: 560f3337-4e69-4a5b-95b6-833b83d3b75a

@Rens_Hoekema
Can you try to login again?
I think the token is expired.
But if you login again it will be refreshed.
When you did that can you send a new report?

I’ll make a fix for the the expiration

Looks like i ts working again, just after I created the diag 1a314f9c-053f-4a58-9a6f-3130e59653a0

1 Like

Yes works!
Ok then I know enough to fix it :slight_smile:

thx Martijn!

1 Like

New app update (live: 1.0.14 ):

  • FIX: refresh token when it’s invalid
1 Like

New app update (live: 1.0.15 ):

  • FIX: refreshToken on error

@Rens_Hoekema

1 Like

I have the homey pro 2023. Since the current version 10.0.1 I can no longer connect to my NIU scooter N-GTS. It was still working until yesterday.
The error message “Response code 404 (not Found)”

Hey @Christian_Baumann
Can you send a diagnostic report?

257dce6b-589b-48f4-b27c-1bd0eb71ef8f

@Christian_Baumann I see a 404 on a API call. As far as I see this is an issue with the API itself. can you check if the app on your phone is working properly?

My normal NIU App is still working normal.

@Christian_Baumann would you mind sharing your NIU temporarily with me so I can debug the app?

I don’t have the test vehicle anymore in my account and I don’t own a NIU myself

What do you need? You have a private Message!

1 Like

Thanks! :smiley:

New app update (test: 1.1.0 ):

  • NEW: update API to Axios instead of GOT

Really excited to see your App!
Any possibility of the MQi GT EVO being added?