Comments (11)
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
-
First Close Flow Launcher
(We dont want Flow Launcher to overwrite our new manual settings) -
Edit your settings file directly by going here:
%AppData%\FlowLauncher\Settings\Plugins\HA-Commander
from ha-commander.
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.
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.
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.
Hello,
I also have this issue.
The plugin.log file is empty, and FlowLauncher's log has no mention of the issue.
The URL used in the settings works fine, the token was reissued and updated.
There is a log in HA about the attempted login:
This issue started happening after updating HA Core (currently using version 2023.5.2)
from ha-commander.
Right you are @Garulf, manually setting the data in the plugin Settings.json file works. Thank you!
from ha-commander.
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.
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 :
from ha-commander.
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 :
I confirm. Maybe the problem is the updated built-in Python?
from ha-commander.
Hi @Garulf , any idea what could be causing the issue?
from ha-commander.
I have the same 'Could not connect' error.
- the settings are saved once I fill in the details in the Flow plugins settings
- Close and reopen the settings window -> confirms the settings are as defined
- 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)
- Does not show up after install HOT 7
- ImportError: cannot import name 'Clipboard' from 'flox' HOT 1
- Toggling light not working HOT 2
- Windows 11 HA does not react nor log anything to plugin.log HOT 9
- I don't understand how to recover my token HOT 1
- KeyError HOT 2
- UnboundLocalError HOT 4
- Flow Crashed because of HA Comander HOT 7
- verify_ssl is ignored HOT 2
- HTTPError HOT 2
- Button entities do not work HOT 1
- AttributeError HOT 4
- First install, getting TypeError HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-commander.