Giter Club home page Giter Club logo

Comments (9)

Garulf avatar Garulf commented on August 28, 2024 1

Hello @manuel-rw, thanks for bringing the issue to my attention.

It's hard to say whats going on without much to go on. Are you comfortable trying to run the plugin in your console to see if it outputs an error there?

If so please follow the directions below:

  1. Open a console in the plugins directory (usually %APPDATA%\Flow LAuncher\Plugins\HA-Commander
  2. type python ./main.py (this assumes you have Python installed and in your PATH)

This will run the plugin in your console and hopefully either output a very large JSON string or produce an error message trace.

from ha-commander.

manuel-rw avatar manuel-rw commented on August 28, 2024 1

Amazing! Thank you. I'll close this now, since my issue has been resolved. Thank you for making this awesome plugin :D

from ha-commander.

manuel-rw avatar manuel-rw commented on August 28, 2024

Yes, that's no problem for me to do.
I'll get back to you asap when I get some time to do this.

from ha-commander.

manuel-rw avatar manuel-rw commented on August 28, 2024
python .\main.py
{"result": [{"Title": "Could not connect to Home Assistant!", "SubTitle": "Please check your settings or network and try again.", "IcoPath": "C:\\Users\\REDACTED\\AppData\\Roaming\\FlowLauncher\\Plugins\\HA-Commander-4.0.0\\icons\\home-assistant.png", "ContextData": null, "Score": 0, "JsonRPCAction": {}, "AutoCompleteText": "ha Could not connect to Home Assistant!"}]}

from ha-commander.

manuel-rw avatar manuel-rw commented on August 28, 2024

The URL, entered in the plugin settings, loads fine in any browser.
Could this be a networking / access issue?
I'm Using Nginx Proxy Manager as reverse proxy for my domain, HASS runs on a subdomain secured with Let's Encyrpt and Cloudflare

from ha-commander.

Garulf avatar Garulf commented on August 28, 2024

The URL, entered in the plugin settings, loads fine in any browser.

Could this be a networking / access issue?

I'm Using Nginx Proxy Manager as reverse proxy for my domain, HASS runs on a subdomain secured with Let's Encyrpt and Cloudflare

Interesting.... I'm running the same setup without cloudflare. Have you tried turning off SSL verification (for testing only)?

from ha-commander.

manuel-rw avatar manuel-rw commented on August 28, 2024

I think that I tried to connect via the local address (http, no certificates, no proxy) and it didn't work either, but I can check again when I'm back from work.

from ha-commander.

manuel-rw avatar manuel-rw commented on August 28, 2024

Ok so I'm back with some results.
I tried to connect using the local IP, and it just worked fine.
Next, I tried to disable the Proxy in Cloudflare for the HASS domain, and changed the plugin address to the domain - and it worked.
Then, I re-enabled the Proxy and it still works - I have no idea what's different compared to before!

Sorry for bothering you with this, I really don't know what has changed or why it's working all of a sudden.
We can close this Issue. Thank you for your assistance :)

PS: Scenes aren't working for me. Is this intended behavior or not?

from ha-commander.

Garulf avatar Garulf commented on August 28, 2024

Ok so I'm back with some results. I tried to connect using the local IP, and it just worked fine. Next, I tried to disable the Proxy in Cloudflare for the HASS domain, and changed the plugin address to the domain - and it worked. Then, I re-enabled the Proxy and it still works - I have no idea what's different compared to before!

Glad to hear you got it working!

Sorry for bothering you with this, I really don't know what has changed or why it's working all of a sudden. We can close this Issue. Thank you for your assistance :)

No worries I don't mind helping with issues at all.

PS: Scenes aren't working for me. Is this intended behavior or not?

It seems I forgot to add support as I hardly use them. I added support with: #36

Expect support in the next release v5.0

from ha-commander.

Related Issues (14)

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.