Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection refused #106

Open
Marko99f opened this issue Feb 3, 2024 · 14 comments
Open

connection refused #106

Marko99f opened this issue Feb 3, 2024 · 14 comments

Comments

@Marko99f
Copy link

Marko99f commented Feb 3, 2024

I dont understand how to connect to my f454
Screenshot 2024-02-03 011130

@f18m
Copy link

f18m commented Feb 6, 2024

hi @Marko99f ,
I'm having your same issue (although in my case I own a MyHomeServer1).
I'm trying to debug the problem by increasing log level.
My suggestion is for you to do the same, e.g. by adding to your configuration.yaml:

logger:
  default: warning
  logs:
    custom_components.myhome: debug

@f18m
Copy link

f18m commented Feb 7, 2024

hi @Marko99f ,
I actually found the fix for my issue.
To be able to resolve the "configurazione non riuscita" (config not ready) I realized (putting debug logs in the integration) that actually the MAC address specified when the "hub" (the F454 in your case) is created, needs to match exactly the MAC address in the /config/myhome.yaml file. Otherwise the object (the F454 in your case) remains in such state.

I'm going to propose to @anotherjulien a PR which adds a few more logging to help users to figure out this kind of (trivial) issues...

@Marko99f
Copy link
Author

Marko99f commented Feb 7, 2024

Thank you very much @f18m 🫶

@Marko99f
Copy link
Author

Marko99f commented Feb 9, 2024

hi @f18m i've another issue. now i can't connect to my f454:
it says that the password it's wrong and then it says that it can't load the integration, it asks me to reboot HA.
thats a report:

2024-02-09 21:24:53.681 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-09 21:24:53.683 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration myhome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-09 21:25:05.695 WARNING (MainThread) [homeassistant.const] ENTITY_CATEGORY_CONFIG was used from myhome, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report at https://github.com/anotherjulien/MyHOME/issues
2024-02-09 21:25:05.697 ERROR (MainThread) [custom_components.myhome] configuration.yaml not supported for this component!
2024-02-09 21:25:05.698 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'myhome': Integration failed to initialize.

Screenshot 2024-02-09 214420

@f18m
Copy link

f18m commented Feb 9, 2024

hi @Marko99f

2024-02-09 21:25:05.697 ERROR (MainThread) [custom_components.myhome] configuration.yaml not supported for this component!

I think this is your issue. You have "myhome:" written somewhere in your configuration.yaml. You need to remove that YAML block and create instead a myhome.yaml file, separate from configuration.yaml (but located in the same folder), with the format described in https://github.com/anotherjulien/MyHOME/wiki/Configuration

@Marko99f
Copy link
Author

sorry for retard @f18m
no, i've already my config on a separated file.
Screenshot 2024-02-13 144612
Screenshot 2024-02-13 144631

@f18m
Copy link

f18m commented Feb 13, 2024

hi @Marko99f ,
I think your problem is that line "myhome: !include myhome.yaml". You need to remove it (or comment it out) .
The MyHome custom integration is opening the myhome.yaml file directly, and has an explicit check that any reference to "myhome" should NOT be present in the configuration.yaml...

@Marko99f
Copy link
Author

Hi @f18m.
I've been deleted line 12 and 13 from my configuration.yaml and now I have the error"config not work"

@f18m
Copy link

f18m commented Feb 13, 2024

Hi @f18m. I've been deleted line 12 and 13 from my configuration.yaml and now I have the error"config not work"

I think you need to:
a) delete the "hub" created with the myHome integration and re-create it
b) check the logs and look for errors (maybe copy-paste your errors here)

@Marko99f
Copy link
Author

Marko99f commented Feb 14, 2024

@f18m i've been tried many times... no error logs. only this
Screenshot 2024-02-14 205322

@f18m
Copy link

f18m commented Feb 14, 2024

@Marko99f perhaps you can try installing myHome from my fork which includes more logging: https://github.com/f18m/MyHOME/tree/master
In alternative you can download my PR #109 as patch and apply the patch (patch -p0 < filename.patch) on your foldr custom_integrations/myhome to patch the already-installed myHOME integration from @anotherjulien

@Marko99f
Copy link
Author

@f18m I've tried many times to download your version but download doesn't start.
Now I've solved my problems. Thank you so much

@rqariot
Copy link

rqariot commented Dec 1, 2024

Hello,
I have the same problem when installing F454 gateway. The integration is well installed but i have the message "Echec de configuration : Verifier les journaux.
Please Help.
Regards

@rqariot
Copy link

rqariot commented Dec 1, 2024

The actual HA version is
Core:2024.11.3
Supervisor:2024.11.4
Interface utilisateur: 20241106.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants