fuatakgun / bwt_perla

MIT License
14 stars 3 forks source link

Not working anymore #7

Open bernji opened 2 years ago

bernji commented 2 years ago

Although the BWT Perla is accessable in my browser, the integration does not work anymore. It fails and in the integration page it says "Retrying setup: None"

I tried disableing and enabling. restating HA. nothing works.

In the logs I can only see: 2022-07-24 18:19:30 ERROR (MainThread) [custom_components.bwt_perla] Error fetching bwt_perla data:

When I delete the integration and try to set it up again. I get "wrong host / code. But: when I open the host in the browser and enter the code I can login

weidi commented 2 years ago

Think this is because they changed their software to "VNC Only" https://community.home-assistant.io/t/bwt-best-water-tech-nology-support/270745/27?u=weidi I´m in the same boat but @fuatakgun seems having a solution already.

bernji commented 2 years ago

Mhh that's strange. not sure if I got the update already but my Perla is still available via web UI. Or what is meant by "VNC"?

weidi commented 2 years ago

They implemented a web VNC control instead of a real website

bernji @.***> schrieb am So., 31. Juli 2022, 08:30:

Mhh that's strange. not sure if I got the update already but my Perla is still available via web UI. Or what is meant by "VNC"?

— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/bwt_perla/issues/7#issuecomment-1200359106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQWGHSAQLQO23NN3NUF3S3VWYMRLANCNFSM54RHHMAQ . You are receiving this because you commented.Message ID: @.***>

bernji commented 2 years ago

I see. By looking at the source it seems that there is some fallback implemented. Maybe both VNC and non VNC works?

image

gartoso commented 1 year ago

Hello @fuatakgun Is there any update on this? In the HA community you wrote that it seems to be working for you a couple of months ago. It would be really great to have this great integration working again as the BWT app and website is just crap.

thanks a lot!

paolobazzi commented 1 year ago

Seems like BWT dropped the support for local access using their (undocumented) REST API. But in german Loxone forum there are rumors that BWT is working on a new, official local REST API [1]

[1] https://www.loxforum.com/forum/projektforen/loxberry/plugins/278330-plugin-bwt-aqua-anbindung-wasserenth%C3%A4rter?p=360462#post360462

GUHU0433 commented 1 year ago

There is a new API from BWT: https://bwt-real-smarthome-backend.azurewebsites.net/

fuatakgun commented 1 year ago

I am working on real time extraction using remote connection to VNC server and ocr (image to text)

paolobazzi commented 1 year ago

There is a new API from BWT: https://bwt-real-smarthome-backend.azurewebsites.net/

This API exists since a while, but unfortunately is limited and completely cloud-based.

There seems to be a new (yet undocumented) local REST API built in into newer firmware versions. Unfortunately up to now just a read interface without any possibility to change values or enable/disable the holiday mode. See https://www.loxforum.com/forum/projektforen/loxberry/plugins/278330-plugin-bwt-aqua-anbindung-wasserenth%C3%A4rter/ for latest details (in german)

fuatakgun commented 1 year ago

Are you sure this is the new version? It looks like (source code) accessing my previous version of the machine at home? But after the upgrade, it is not working anymore locally for me.

Especially look here: https://github.com/paolobazzi/LoxBerry-Plugin-BWT-Aqua/blob/87f03dbdb736f30ec666a9bf71b6dda2087d8d99/webfrontend/html/index.cgi#L126

This is what has been implemented inside this repository but it won't work with new devices.

paolobazzi commented 1 year ago

Are you sure this is the new version? It looks like (source code) accessing my previous version of the machine at home? But after the upgrade, it is not working anymore locally for me.

Especially look here: https://github.com/paolobazzi/LoxBerry-Plugin-BWT-Aqua/blob/87f03dbdb736f30ec666a9bf71b6dda2087d8d99/webfrontend/html/index.cgi#L126

This is what has been implemented inside this repository but it won't work with new devices.

Sorry my answer below seems to have been missleading. The code you quoted is my BWT plugin for loxone which - as you wrote - accesses the old local API which was removed when BWT switched to the VNC-based UI.

But if you follow the whole thread linked above the latest posts indicate a new local REST API which is available but still undocumented (maybe you have to activate the local API in your BWT UI on the machine).

Check out the following local URLs: [using simple Basic Auth]

ckref commented 10 months ago

@paolobazzi I just got a reply from BWT, who mentions that Firmware 2.0203, which I understand you have for BWT Aqua equipment, is not available for BWT Perla.

paolobazzi commented 9 months ago

I dont know if BWT uses the same names for their devices in every country. I'm using a BWT Perla Seta (see https://www.bwt-shop.ch/de/bwt-perla-seta.html) and for this device Firmware 2.0203 was available, currently my device runs on 2.0209 (installed in October 2023).