Giter Club home page Giter Club logo

Comments (11)

Garulf avatar Garulf commented on August 28, 2024 3

Hello,

I also have this issue. The plugin.log file is empty, and FlowLauncher's log has no mention of the issue.

[image]

The URL used in the settings works fine, the token was reissued and updated.

There is a log in HA about the attempted login:

[image]

This issue started happening after updating HA Core (currently using version 2023.5.2)
I can confirm it works for the latest version (see below).

I think your settings are not being saved correctly and the plugin is using old/incorrect settings.

Until I can issue a fix you can manual update these settings

  1. First Close Flow Launcher
    image
    (We dont want Flow Launcher to overwrite our new manual settings)

  2. Edit your settings file directly by going here: %AppData%\FlowLauncher\Settings\Plugins\HA-Commander

  3. Replace the values in your file with the correct settings:
    image

Working!
image

from ha-commander.

Garulf avatar Garulf commented on August 28, 2024

Keep in mind Flow Launcher only saves settings once the settings window is closed.

Please try entering your settings, closing the settings window and try to activate the plugin once more.

from ha-commander.

B4dC4rd avatar B4dC4rd commented on August 28, 2024

Good to know.
I tested both options, making sure to close the settings and reopen them to ensure proper persistance of my values.
However, behavior is the same.
Not sure how to troubleshoot further

from ha-commander.

Garulf avatar Garulf commented on August 28, 2024

Please post your plugin.log located where HA-Commander is installed. This will help us find out what the issue is.

Be sure to replace any sensitive info such as your server URL or API key before posting.

from ha-commander.

Ashden avatar Ashden commented on August 28, 2024

Hello,

I also have this issue.
The plugin.log file is empty, and FlowLauncher's log has no mention of the issue.

image

The URL used in the settings works fine, the token was reissued and updated.

There is a log in HA about the attempted login:

image

This issue started happening after updating HA Core (currently using version 2023.5.2)

from ha-commander.

Ashden avatar Ashden commented on August 28, 2024

Right you are @Garulf, manually setting the data in the plugin Settings.json file works. Thank you!

from ha-commander.

Patbott avatar Patbott commented on August 28, 2024

Even after changing the settings in the json file it doesn't work for me. The log just gives this (some personal info removed):

19:54:22 DEBUG (launcher.py): Request:
{
    "method": "query",
    "parameters": [
        ""
    ],
    "settings": {
        "url": "**************",
        "token": "*************",
        "verify_ssl": "true",
        "max_results": "50",
        "debug": true
    }
}
19:54:22 DEBUG (launcher.py): Params: ['']
19:54:22 DEBUG (main.py): Initializing Home Assistant Client
19:54:22 DEBUG (connectionpool.py): Starting new HTTPS connection (1): **************
19:54:22 DEBUG (launcher.py): ########## Total time: 52ms ##########

from ha-commander.

B4dC4rd avatar B4dC4rd commented on August 28, 2024

After trying the manual edit tip, I progressed somewhat, but the plugin still is not fonctionning correctly it seems.

I do not have a connection error, but I retreive nothing :

2023-09-29_14h18_47

2023-09-29_14h21_20

from ha-commander.

asd2003ru avatar asd2003ru commented on August 28, 2024

After trying the manual edit tip, I progressed somewhat, but the plugin still is not fonctionning correctly it seems.

I do not have a connection error, but I retreive nothing :

2023-09-29_14h18_47

2023-09-29_14h21_20
I confirm. Maybe the problem is the updated built-in Python?

from ha-commander.

B4dC4rd avatar B4dC4rd commented on August 28, 2024

Hi @Garulf , any idea what could be causing the issue?

from ha-commander.

nabeelmoeen avatar nabeelmoeen commented on August 28, 2024

I have the same 'Could not connect' error.

  1. the settings are saved once I fill in the details in the Flow plugins settings
  2. Close and reopen the settings window -> confirms the settings are as defined
  3. Try to invoke 'ha ' in the flow launcher text box. -> returns an error that ha could not connect. AND overrides the settings to defaults

earlier I had to manually edit the settings in the json file, and it worked for a couple of days. not sure how that got over written again.

EDIT: manually editing the file again seems to retain the values and ha is working. the only concern is it may get overwritten again

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.