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

Error - Config flow could not be loaded #16

Closed
alienatedsec opened this issue May 9, 2021 · 8 comments
Closed

Error - Config flow could not be loaded #16

alienatedsec opened this issue May 9, 2021 · 8 comments

Comments

@alienatedsec
Copy link

Hi @roleoroleo

(3) Configure device and entities:

Go to Settings -> Integrations
Click "Add Integration" in the lower-right corner
Select "Yi Cam with yi-hack" integration

I am trying to follow the instructions, so after the above steps, the following error appears.

image

I am running HA as the container on QNAP with a dedicated config folder.

@roleoroleo
Copy link
Owner

Please read logs in settings page and check if there is an error.

@alienatedsec
Copy link
Author

I guess there is some dependency missing

Logger: homeassistant.setup
Source: setup.py:144
First occurred: 8 May 2021, 7:49:06 (7 occurrences)
Last logged: 10:14:47

Unable to set up dependencies of yi_hack. Setup failed for dependencies: mqtt

@roleoroleo
Copy link
Owner

Yes, you need to add mqtt component.

@alienatedsec
Copy link
Author

alienatedsec commented May 9, 2021

Yes, you need to add mqtt component.

Thanks @roleoroleo
I possibly need to change the setup as the container version does not allow for add-on installations.

@roleoroleo
Copy link
Owner

I'm using ha in container.
You can add mqtt directly from web page as a standard integration.

@alienatedsec alienatedsec reopened this May 9, 2021
@TH1485
Copy link

TH1485 commented May 10, 2021

i had the same problem, after installing mqtt it worked. Can this dependency be optional if you only use it for streaming?
Also have some other issues. for the allwinner-v2 (Yi 1080p Home BFUS | 9.0.19* | y21ga): when streaming on the frontend the stream is always lagging behind for a minute (in VLC the stream works correctly), after a while the camera reboots (crashes i think).

@roleoroleo
Copy link
Owner

i had the same problem, after installing mqtt it worked. Can this dependency be optional if you only use it for streaming?

I don't know, I have to check it.

Also have some other issues. for the allwinner-v2 (Yi 1080p Home BFUS | 9.0.19* | y21ga): when streaming on the frontend the stream is always lagging behind for a minute (in VLC the stream works correctly), after a while the camera reboots (crashes i think).

Is swap file enabled?

@roleoroleo
Copy link
Owner

i had the same problem, after installing mqtt it worked. Can this dependency be optional if you only use it for streaming?

If you don't use mqtt, there is no reason to use this component.
Simply add a generic ffmpeg cam or an onvif cam if onvif is enabled.

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