MatthiasPiepke / BWT-Perla-Home-HA-custom-component

Custom Component for Home Assistant
MIT License
5 stars 0 forks source link

Is this still working? #1

Open BerndKohl opened 6 months ago

BerndKohl commented 6 months ago

First of all thanks for contributing this component!

I just received my BWT Aqa Perla today and was eager to check if this integration would work.

I tried the first curl command curl -d "_method=POST&STLoginPWField=your_password&function=save" https://192.168.1.x/users/login -c cookie.txt --insecure --verbose But all I got was: `* Trying 192.168.1.x:443...

So apperently this does not work with the latest version of the board?

MatthiasPiepke commented 6 months ago

I'm not an expert on curl. But I don't see an error here. Did you try the second command "curl -v -b cookie.txt https://192.168.1.x/home/actualizedata --insecure" ? Did you find the cookie.txt file in the folder, where you called the curl command from? I think then it was successful. However, using curl commands is not essential for the BWT custom integration for HA. There is probably an easier way to find the right response items: Login in to your BWT webpage via webbrowser as usual. Once you are logged in, you can navigate manually to "https://192.168.1.x/home/actualizedata". Then you should receive a simple text like this: {"aktuellerDurchfluss":"0","aktuellerDurchflussProzent":"0","durchflussHeute":"15","durchflussMonat":"1019","durchflussJahr":"63","RegeneriemittelNachfuellenIn":"198","RegeneriemittelVerbleibend":"90"}

I hope that helps a bit.

quintz commented 6 months ago

Hi Matthias

when I enter the mentioned url I won't get a json response like yours... Did you enable something wihtin your Perla?

BerndKohl commented 6 months ago

Hi all, I think BWT changed their "interface" on newer boards or versions. They are no longer offering the HTML webpage but they are now redirecting each HTTP request to a VNC page where you have to enter the login code received after product registration.

Any ideas?

MatthiasPiepke commented 6 months ago

Mmhh. That would be very pitty. Maybe, we should contact BWT Support and ask for another API, which makes the Integration into HA possible. But thanks for your feedback, from now on I will avoid each FW update.

BerndKohl commented 6 months ago

Local API access will be available in an upcoming new firmware (currently scheduled for 2025) but a current beat version can be installed using a formal e-mail request to bwt.de.

This then includes a local API.

cth18012017 commented 2 weeks ago

Hello or Hallo Bernd, have you more informations about this? Have you a solution? they install the bwt perla simplex one today. My App runs. My IP-Adresse with the vnc password access run, but the integration failes, see: https://github.com/MatthiasPiepke/BWT-Perla-Home-HA-custom-component/issues/3