Comments (24)
If you are using an ARM architecture (RPi's), then just wait a few more seconds for the images to build.
from emhass.
I try to add this repo:
https://github.com/davidusb-geek/emhass-add-on
I get this error:
https://github.com/davidusb-geek/emhass is not a valid add-on repository
Note the error message has a different URI from the repo.
It could just be me - I'm a bit of a gumby, but if I'm doing something wrong, please point me in the right direction.
from emhass.
Just tried with https://github.com/davidusb-geek/emhass-add-on.git
. Seems to work for me. Let us know if your still having issues.
I have noticed it can be finicky. Maybe restarting HA (or updating) and trying again may resolve some issues.
from emhass.
Running on a "homeassistant green"
Waiting out did not help.
Tried the above mentioned https instead, no luck:
2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400
2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -
Have updated to latest version and restarted.
No success.
from emhass.
Running on a "homeassistant green" Waiting out did not help. Tried the above mentioned https instead, no luck:
2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400 2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -
Have updated to latest version and restarted. No success.
Thanks @marst444 , the error Failed to to call /store/repositories -
is interesting.
Is it possible you could get to the terminal and run ping github.com
? could be a time or DNS issue.
from emhass.
Could you also run uname -a
(to check architecture and kernel version, should be aarch64). the ssh addon should allow you to do both commands.
from emhass.
Actually I just realized now that the images for ARM build failed!
This is intriguing because the build for docker testing passed correctly here on the emhass core tests:
from emhass.
Actually I just realized now that the images for ARM build failed!
This is intriguing because the build for docker testing passed correctly here on the emhass core tests:
Interesting. Ill have a look at the workflow and see if I can find anything. I wonder if its a publish issue and not a build issue.
from emhass.
Oh boy with more than 5k of lines that's some logging there.
But it seems that for example Publish-armv7 is trying to pull the ghcr.io/home-assistant/amd64-builder:latest
image to build this. Probably the cause of the late failure when building?
I wonder if its a publish issue and not a build issue.
Definitely blocked on build
from emhass.
Oh boy with more than 5k of lines that's some logging there. But it seems that for example Publish-armv7 is trying to pull the
ghcr.io/home-assistant/amd64-builder:latest
image to build this. Probably the cause of the late failure when building?
Probably. im sure its the smallest issue. I think I might know what it is. I like how 0.8.2
worked without and issue as well ahaha
Im wondering if its another piwheel timeout issue.
from emhass.
The arm builds should take like 15m not 4hrs. So its almost like piwheel wasn't running propperly. Re running the action again could be enough to fix that. Might be good to put in a measure to make sure piwheels is running correctly.
from emhass.
Ok re-running...
from emhass.
from emhass.
its also having a lot of setuptools issues. maybe a pip install or apt-get may help. but why would it only brake once?
from emhass.
thanks @marst444, my version seems to be different from yours. Mine being 6.1.73-haos-raspi
. Since your running arch64
it should be good to go, you can also ping github fine I see. So i'm wondering if there is a difference with haos-raspi
and haos
. This may require some time to look into. (if time or a patch doesn't resolve issues)
from emhass.
Meanwhile the action worked. @davidusb-geek 🤦
My guess, a pi wheel timeout issue.
@marst444 , you could give it a bit and try again and see if the new Docker image fixes the problem.
@davidusb-geek maybe there is a way to throw an error or retry, on pip install if it cant talk to piwheels. We can also set fail-fast: true
. and so the whole publish action fails if one arch fails.
from emhass.
Yes it worked now.
Yes that parameter can be a nice option to not wait 4hrs because of a timeout problem
from emhass.
We could also add packages like setup tools in so if it needs to compile the packages it can without error.
from emhass.
Still no go for me though. Trying both suggested https:
https://github.com/davidusb-geek/emhass-add-on
https://github.com/davidusb-geek/emhass-add-on.git
2024-03-12 19:50:28.598 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400
2024-03-12 19:50:28.598 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -
2024-03-12 19:50:37.436 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400
2024-03-12 19:50:37.437 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -
from emhass.
Well that seems like a problem with your HA instance. Are you able to add any other repository at all?
from emhass.
Yes I can. And also add addons from repo. But cannot add the "https://github.com/davidusb-geek/emhass-add-on"
Errors as above....
from emhass.
But now it showed up! This time i only had to wait it out a little longer it seems :) Will try to install now! :)
from emhass.
Yes. Now its installed. Just the configure part to get it up and running i guess :) Thanx for your help!
from emhass.
Glad to hear. Closing then.
from emhass.
Related Issues (20)
- Data posted via home assistant is different to what appears in the EMHASS logs HOT 6
- Infeasible result with 0.10.1, optimal with 0.9.1 HOT 4
- Feature request: Provide p_hybrid_inverter as a sensor HOT 2
- Sensor unit: Unit is missing for 'Total cost function value' HOT 1
- load_cast_forecast nordpool fails, HOT 7
- pv_forecast is not aligning with JSON input for naive-mpc-optim command HOT 4
- Unable to connect to home assistant HOT 2
- Warning: deprecated lags_grid argument HOT 1
- Feature Request: Pd_max/Pc_max as runtime parameters HOT 3
- 400 error on call HOT 1
- Feature Request: Support solcast/Forecast.Solar
- Feature Request: Support dynamic electricity prices HOT 4
- Custom machine learning forecast model predict HOT 1
- Solcast shows values at night HOT 4
- Optimisation at times exceeds p_nom for deferrable loads HOT 1
- Cannot install add-on HOT 4
- Feature request: minimum continous runtime for each deferrable load HOT 1
- Same as 328 - missing image update to0.10.6 HOT 12
- sometimes error since 0.10.6 MPC HOT 1
- Feature Request: Cost/profit comparison
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 emhass.