Giter VIP home page Giter VIP logo

Comments (9)

hermannsblum avatar hermannsblum commented on June 15, 2024 1

Just as a documentation in case anybody get's the same problems:
You cannot connect with the garmin watch to a server that uses a self-signed certificate. Therefore, you cannot connect to local instances like https://hassio.local/.

Using a reverse proxy like the hass.io nginx addon you can enable both https and http connections and then connect from the watch using http.

Works like a charm now, Thanks for this app :)

from hassiq.

alanfischer avatar alanfischer commented on June 15, 2024

HTTPS is supported. If you want you could email me directly your url and I could try to reproduce the 404 error.

from hassiq.

hermannsblum avatar hermannsblum commented on June 15, 2024

Hi! Thanks for the offer, but my hass is configured to only connect via local wifi
Is there any debug interface I where I could find out what‘s the connection problem?

from hassiq.

alanfischer avatar alanfischer commented on June 15, 2024

Are you running this from an actual Garmin device, or just in the simulator? If its on a device, is your phone connected to your local wifi?

from hassiq.

hermannsblum avatar hermannsblum commented on June 15, 2024

running on the vivoactive 3 when the phone is in the local wifi

from hassiq.

alanfischer avatar alanfischer commented on June 15, 2024

Are you connecting by ip? What url do you have in the host field? You could also try by disabling cell data on your phone as an experiment and see if that makes it work, forcing it to use the lan connection. I admit I have not experimented much with a local only Hass instance.

from hassiq.

hermannsblum avatar hermannsblum commented on June 15, 2024

Just to let you know that I have not forgotten this: I will try to debug the network requests coming into my hassio to see what is the request incoming and response outgoing and where this issue is rooted.

from hassiq.

Voz-DeCarabas avatar Voz-DeCarabas commented on June 15, 2024

Love the idea of this. I’m using a forerunner 235
Can you confirm the account that the password should be for? I’m getting 401 errors and then the following in the log on Home Assistant
Login attempt or request with invalid authentication from 192.168.1.95 8:24 PM components/http/ban.py (WARNING) You need to use a bearer token to access /api/states/group.all_switches from 192.168.1.95 8:24 PM components/http/auth.py (WARNING)

UPDATE: I realised that the issue was I hadn't explicitely defined a password for the API in my configuration.yaml. I set that as a parameter for http: and it all works! I can now switch on and off my Sonoff devices from my watch! I don't feel I have used enough exclamation marks !!!

from hassiq.

alanfischer avatar alanfischer commented on June 15, 2024

The latest version of HassIQ has been uploaded to the connect iq store, and now supports the updated Home Assistant authorization method.

from hassiq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.