Skip to content

Cannot connect to Home Assistant instances over "http://". #126

Closed Answered by shannonhochkins
eivihol asked this question in Q&A
Discussion options

You must be logged in to vote

If you're using a local server you need to enable non secure links through HassConnect. All these properties are available through typescript, however all you need to do is add the option to HassConnect

<HassConnect
  hassUrl={YOUR_HASS_URL}
  options={{
      allowNonSecure: true
  }}
>
  <p>
    Successfully Authenticated!
  </p>
</HassConnect>

Just an FYI the new version that should be released next week or so will be deprecating this property and it will allow it by default.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@eivihol
Comment options

@shannonhochkins
Comment options

@eivihol
Comment options

@shannonhochkins
Comment options

Answer selected by eivihol
@eivihol
Comment options

@shannonhochkins
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants