home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.58k stars 7.11k forks source link

Pentair Screenlogic Integration with Password Protected Remote Access enabled #31516

Open PaulMuther opened 5 months ago

PaulMuther commented 5 months ago

Feedback

First sorry in advance if I'm missing this, but I have the screenlogic controller configured with a remote access password and the integration fails to log in. I cannot see anywhere to set that password for the integration. Is there a way or does this need to be added?

EDIT: I disabled the password on the controller and the integration does work at that point. I don't want to leave it open.

URL

https://www.home-assistant.io/integrations/screenlogic/

Version

2024.2.2

Additional information

No response

home-assistant[bot] commented 5 months ago

Hey there @dieselrabbit, @bdraco, mind taking a look at this feedback as it has been labeled with an integration (screenlogic) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `screenlogic` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign screenlogic` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
dieselrabbit commented 5 months ago

The screenlogic integration only supports ScreenLogic gateways on the local network.

The underlying API only supports passwordless connections but the ScreenLogic gateway does not require a password for local network connections, even if one is set.

PaulMuther commented 5 months ago

Interesting. I'm pointed at the local IP of the gateway, but it is on a different VLAN locally from the HA server. If I set the remote access password it fails to set up, but if I remove it the integration works as expected. I suppose I can just block it from communicating out to the Internet and then remove the password. Seems a bit janky though.

dieselrabbit commented 5 months ago

The ScreenLogic gateway typically treats connections from a different subnet as remote connections. IIRC, the ScreenLogic documentation states that the gateway must be on the same subnet as the PC or phone you are trying to connect from for discovery and local connections to work. This is a limitation of the ScreenLogic device itself.

That said, I know there are some network configurations where the gateway does not have a problem with being on a different VLAN. I'm not sure why.

PaulMuther commented 5 months ago

Given Pentair's challenge when it comes to software I could completely see that level of simple logic around network locations being a "good idea" to them. ;-) OK thanks. I'll just block it for now and leave the password off.