Skip to content

Possibly allow "http://" in the URL with a warning rather than completely blocking usage #93

@herkolategan

Description

@herkolategan

I needed to fork this repo, because I wanted to remove the invalid URL check for "http://".

The reason being I set up a forwarding service on my phone (Android) that routes "127.0.0.1" to my unsecured home assistant locally. Garmin allows the use of http + "127.0.0.1" (unsecure works only when connecting to localhost). I've tested this and it works nicely as an alternative to struggle with certificates on Home Assistant etc.

Just a note and might serve useful for someone in the future wanting to take this route.
The Android app is really simple, it's a small service that listens locally and proxies traffic to my "real" Home Assistant. I'd be happy to share the source, if anyone is interested.

Another option might be to add a toggle that says "allow http" or something, that is off by default.
Or another option might be to check if 127.0.0.1 or localhost is present in the URL if the protocol is http, and not mark it as invalid then.

Also a big thanks for creating this repo and keeping this app up to date, I was so pleased to find it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions