-
Notifications
You must be signed in to change notification settings - Fork 3
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
logi_circle_legacy is no longer working with hassio 0.94 #5
Comments
Someone reported a similar issue and solved it by reconfiguring HA to trust docker's internal network: #4 Is this relevant to you? If not I'll update and see if I can reproduce. |
@Obicom They belong to the eg. http:
auth_providers:
- type: trusted_networks
trusted_networks:
- 172.16.0.0/12 |
Ok, I treid it here as shown in HA manual: https://www.home-assistant.io/docs/authentication/providers/ I will try it again with http: |
Are you using docker? Have you changed the trusted network to align with your internal network? |
My bad, missed the deprecation notice. Your config looks right, assuming the IP range you specified actually matches your internal docker network. |
Upgraded my dev env to 0.94.1 - works fine. (I use a venv) I just pushed a commit to fix the broken error handler - pull that in and you should get a more meaningful error. But this sounds like a hass.io or local network issue, not a problem with this component. |
What should I pull in to get a more meaningful error? |
here all I could found in my log file: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
The updated component that I pushed to this repo. |
I installed it and restarted hassio. This is the outcome from my log file in regards of logi circle: Traceback (most recent call last): |
The logi circle pypi package is missing. This is downloaded by HA on startup prior to initialising the platform. Check the full log and see if there was an attempt to download the |
All preconditions are fulfilled: "Also make sure you haven’t configured the built-in logi_circle integration, only configuration for the logi_circle_legacy platform should be present." I did to the the update to hassio 0.94.1 and was hoping that this fix my issue but unfortunately the same problem. Enclosed all error from my log file: 2019-06-09 10:04:56 ERROR (MainThread) [homeassistant.setup] Error during setup of component logi_circle_legacy 2019-06-09 10:06:51 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform logi_circle_legacy.camera: Unable to set up component. |
Same error as yesterday, so the same advice applies:
When the pypi package is downloaded, you'll see a message in your log like:
If it succeeds, there's no further log. If it fails, the subsequent message should provide a clue to your problem. |
But how can I force HA to download the missing package? I guess easiest way for me would be to go back to version 0.93.2 ... that was the last one was worked properly ... |
Now I am back on 0.93.2 and all working fine ... therefore I would say it has nothing to do with my configuration. |
You don't - but diagnosing why HA isn't downloading the package might reveal the root cause.
I can't reproduce your problem on 0.94.1 (I have recreated my env from scratch to make sure), so I can't help you any further unless you follow the advice I have already provided:
Also note in my previous comment where I gave you an example of what the log entry looks like. |
Hello! unfortunately i face this issue again after updating from 0.94.0 to 0.94.3. |
For me the same issue since hassio update 0.94.0 .... so I did a downgrade to 0.93.2. In this version it works last time for me. |
I really need answers to the questions I've asked to help you. I'll summarise them again:
And a question for @nenadmilano: how are you using HA? via hass.io or a docker image? |
I have devently only defined configuration for logi_circle_lagacy and NO logi_circle in my configuration.yaml |
And my first question?
|
Currently I cant't say .. I am back to 0.93.2 but I will check it this evening after worktime ... maybe @nenadmilano can answer quicker |
Cool, thanks. If @nenadmilano reports being on hass.io as well, I'll see if I can run it on something and test there too. I've tested on docker + venv with no issue. |
i'm running a docker install and used this quide: https://community.home-assistant.io/t/hass-io-via-docker/60720/19?u=tiagoroxo |
Ok so i updated to 0.94.3 again and tried to find the log entry that you mentioned but something like that is not shown. The only mention of logi is mentioned in the following error:
I can't find something like Attempting install of > logi_circle==0.1.7 when i restart the docker container. |
So i did a little bit of testing right now. I set up a new Ubuntu 18.04 server VM and installed hassio & Home Assistant 0.94.3 from scratch using this GUIDE So it must have something to do with docker & hassio and home assistant above 0.94.0 |
I think I know what’s going wrong. I just re-read the release notes for 0.94 and noticed this:
If this means what I think it does, that means the dependencies for the official A simple fix would be to republish the old logi API wrapper under a new name so that it doesn’t conflict with the official integration. When I get some time I’ll do this and prompt you both to test it and try again. |
That sounds good evanjd .... please let me know if I can test ... I would be really grateful if the issue would be fixed. |
Is there any update in regards to the issue? |
Sorry, no meaningful update, have had very little spare time. I will fix it when I can, but I really don't want to support this unofficial workaround long-term. Have you had any success getting an API key from Logitech? I know you were concerned about exposing your HA instance externally, but I've updated the docs with an outline of how you get around that. |
Given that logitech isn't handing out API keys any more, is there anything I can do to help get this running? |
First of all thank you that you created the legacy custom component. This was realy helpful for me. Unfortunately the custom component is no longer working since I have updated to hassio 0.94. Do you have any advice how I can fix that?
The text was updated successfully, but these errors were encountered: