cliviu74 / wallbox

Python Module interface for Wallbox EV chargers api
Apache License 2.0
62 stars 22 forks source link

wallbox module stopped working #9

Closed jeremy-compostella closed 2 years ago

jeremy-compostella commented 2 years ago

the pauseChargingSession(), resumeChargingSession() and setMaxChargingCurrent() function do not work even though they don't generate any error. has the API changed ?

jeremy-compostella commented 2 years ago

This is a very weird situation. I have two Android devices with the latest version of the Wallbox application installed:

  1. On my Pixel XL2 the application works fine, if I hit the play button, the charging starts, if I change the charging rate it does change the charging rate
  2. On my Lenovo tablet, the application seems to work but changing the charging rate does stay and the resume and pause button do not do anything. I have been able to place a proxy between my Lenovo tablet and api.wall-box.com and the API seems very close to what is used in this wallbox.py module. Unfortunately, my Pixel XL2 won't let me install a system wide certificate and I can't use the proxy to monitor the traffic. I decompiled the wallbox APK application but I could not find anything different compared to what is done by your module.

I have really no idea what is going on. Does the API still work well for you ?

jeremy-compostella commented 2 years ago

It turns out that if I turn off bluetooth it does not work on the Pixel2 XL either and if I turn off bluetooth on my Lenovo tablet then it starts working (even though the UI does not update properly). I also noticed that if I use https://my.wallbox.com/ it does not work either. The only way to get it to work is to actually use bluetooth.

Please let me know if it works for you. I am trying to understand if there is a change on their end or if this is a configuration issue with my wallbox charger.

cliviu74 commented 2 years ago

Hi @jeremy-compostella indeed the pause charge and charging current selection functions stopped working. The problem is with the web api not executing those commands. They work OK on bluetooth but unaccessible via the web ui or mobile app via WiFi. I'll try to raise a support issues with Wallbox.

jeremy-compostella commented 2 years ago

I also raised a ticket with them yesterday. This morning, my car is already smartly charging (I have a python service automatically charging and setting the charging rate depending on my solar panel production and house power usage).

It means that they most likely resolve the issue :)

Regards, Jeremy

On Fri, Nov 5, 2021, 5:48 AM cliviu74 @.***> wrote:

Hi @jeremy-compostella https://github.com/jeremy-compostella indeed the pause charge and charging current selection functions stopped working. The problem is with the web api not executing those commands. They work OK on bluetooth but unaccessible via the web ui or mobile app via WiFi. I'll try to raise a support issues with Wallbox.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cliviu74/wallbox/issues/9#issuecomment-961869055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMACBE7L5YN23WE4OCVSUDUKPHBXANCNFSM5HMOHFAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cliviu74 commented 2 years ago

Hey Jeremy, thanks for confirming the issue is resolved. I will mark this as an issue with the upstream API. Please reopen if you think it's not sorted.