jhschuster / homebridge-intesisweb

Homebridge plugin for IntesisHome devices
Other
1 stars 1 forks source link

/panel/vista?id=XXXredactedXXX TypeError #8

Open marcpettersson opened 2 years ago

marcpettersson commented 2 years ago

Hej... I'm having an issue with your plugin. Somehow I am unable to pull any data from the Intesis page - homebridge starts with a TypeError in the logs: [26/08/2021, 14:36:18] [IntesisWeb] /panel/vista?id=XXXredactedXXX TypeError [26/08/2021, 14:36:18] [IntesisWeb] Added "XXXredactedXXX" - Device ID: XXXredactedXXX. [26/08/2021, 14:36:18] [IntesisWeb] Setting up accessories/devices... [26/08/2021, 14:36:18] Initializing platform accessory 'XXXredactedXXX'...

I can log onto https://accloud.intesis.com just fine and see the data on their page - adding /panel/vista?id=XXXredactedXXX to the url also works, but homebridge never gets any data.

The connected device supports only heating, as it is used to boost a warm water tank when solar doesn't give enough heat.

Bildschirmfoto 2021-08-26 um 15 52 28

Any ideas what's going on?

Best regards, Marc

jhschuster commented 2 years ago

I designed this to scrape the ACCloud web pages as I get them presented when I log in with my ACCloud account configured for my Fujitsu heat pumps. You've got something completely different; as you note it only supports heating, and you've got "climate" and "thermoshifts" panels that I've never seen before. I'm thinking that the web pages returned aren't in the same format as what I'm expecting, and so there are cascading errors.

Here's what I see (and what the code is expecting to parse):

Screen Shot 2021-08-28 at 1 03 49 PM

That the HTTP GET of panel/vista?id=... is throwing a TypeError, though, is really strange.

marcpettersson commented 2 years ago

Ahh. Yes, it’s an air/water heat pump, so no cooling, fan, swing etc. Basically the only functions I would need are ambient temp and on/off.