ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

"Invalid Add-on repository" error

Open munnecke opened this issue 2 years ago • 9 comments

when I add the repository https://github.com/magico13/ha-emporia-vue to my home assistant web page, I get "Invalid Add-on repository" error... any way to fix this?

munnecke avatar Aug 23 '21 23:08 munnecke

You're adding this as a custom repository via HACS? Right now only HACS is supported for installation, the built-in addon store is not supported.

magico13 avatar Aug 26 '21 01:08 magico13

Might because you dont need to do custom repository. Its in the store now.

image

BluGeni avatar Sep 01 '21 15:09 BluGeni

Hmm, I didn't do a PR to get it into the default store yet so I would be surprised if it was in there. Might have to do a bit of investigation, maybe someone else had it added?

magico13 avatar Sep 01 '21 16:09 magico13

Thanks for your responses. I don't see it in my add on store. I'm a newcomer to HA. I'm using the OS version on a Pi 4, and have been having problems with my internet gateway (Node Red, Mosquitto, and others returning bad gateway). I can't figure out how to get to a command line, or Samba access to my file structures. So I hit a wall trying to install HACS. I'm happy to wait for it to come to the store for direct download. probably should find a place to help me with my communications problems, as well.

On Wed, Sep 1, 2021 at 9:12 AM Michael Marvin @.***> wrote:

Hmm, I didn't do a PR to get it into the default store yet so I would be surprised if it was in there. Might have to do a bit of investigation, maybe someone else had it added?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/magico13/ha-emporia-vue/issues/69#issuecomment-910436707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJ2VSR46Z543XT45RVE3LT7ZGGFANCNFSM5CVVDWDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

munnecke avatar Sep 01 '21 16:09 munnecke

Unfortunately it's unlikely to end up in the addon store, just remain in HACS. There is a possibility that I will be getting an initially stripped down version into the Core though so you could wait for that. I run with a docker container, not a pi, but I'm sure there are people in the Home Assistant forum who can help you get access to the file system on the pi if that's something you're interested in.

magico13 avatar Sep 01 '21 16:09 magico13

By the way, I'm noodling some ideas about integrating my grid/solar energy usage, HVAC, and air filtration to optimize comfort level (temp, air quality, energy costs per time of use) looks like HA is a great platform to work on.

One suggestion for the Emporia energy management would be to add time of use electricity costs. My grid provider (SDGE) has a special Electric Vehicle Time of Use fee that hugely favors off-peak charging ($.09/kwh) (for my two EVs), and rewards me for selling back solar energy during peak hours (up to $.56/kwh). So while I'm drawing a lot off peak, and my net kwh usage for the month is high, it is offset by my sale of solar power at peak rates to the point that my bill is a credit for the year. These rates vary by day of the week, holidays, season, etc. so it's a very complicated issue. And they have baseline fixed costs (my rate costs $16/mo, for example). So optimizing energy costs (not just kwh) becomes a really important part of energy management. And solar battery and EV charging makes it all the more interesting. I don't know the HA archtitecture that well, but it seems to me that the cost issue should be a layer above the energy usage meters. I'd be happy for any pointers within the HA community for these issues.

munnecke avatar Sep 01 '21 16:09 munnecke

The energy dashboard that was added to home assistant in the last major update is a step towards that goal. They've got cost calculation with time of use support (though that can be a challenge to set up). You might also be able to use template sensors to take the energy data and transform it into costs yourself. Then you can use those cost sensors in automations however you like, for example alerting when it's high or raising the HVAC temperature one or two degrees during high ToU.

The energy dashboard is still pretty new and doesn't seem to calculate quite correctly yet so I expect it will have improvements in the coming months.

magico13 avatar Sep 01 '21 16:09 magico13

I just got notice of Emporia version 3 release, which incorporates the time of use costing I was just talking about. I named by provider and rate (SDGE/EV TOU 5) and it looks like it is working well. Would these cost numbers come through the API?

Also, how hard would it be to just read the meter directly through Zigbee?

On Wed, Sep 1, 2021 at 9:59 AM Michael Marvin @.***> wrote:

The energy dashboard that was added to home assistant in the last major update is a step towards that goal. They've got cost calculation with time of use support (though that can be a challenge to set up). You might also be able to use template sensors to take the energy data and transform it into costs yourself. Then you can use those cost sensors in automations however you like, for example alerting when it's high or raising the HVAC temperature one or two degrees during high ToU.

The energy dashboard is still pretty new and doesn't seem to calculate quite correctly yet so I expect it will have improvements in the coming months.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/magico13/ha-emporia-vue/issues/69#issuecomment-910474277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJ2VXECJOF7OFEKMC53STT7ZLXTANCNFSM5CVVDWDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

munnecke avatar Sep 01 '21 23:09 munnecke

I'm going to be updating the API library with some of the new data but getting that then into Home Assistant is more nuanced.

Unfortunately it's currently mostly impossible to get data directly from the Vue locally though there's some hope that they might support that option in the future.

magico13 avatar Sep 01 '21 23:09 magico13

@magico13 - I am still seeing this similar issue when trying to add your github repo in the HACS Custom Add-On. See screenshot here: https://imgur.com/a/KNUeTtl

merlinacious avatar Jul 17 '23 03:07 merlinacious

@magico13 - I am still seeing this similar issue when trying to add your github repo in the HACS Custom Add-On. See screenshot here: https://imgur.com/a/KNUeTtl

This integration has to be added via HACS, the Home Assistant Community Store, which is a custom component. It is explicitly NOT an addon, that's a different thing from components. https://hacs.xyz/docs/setup/download/

This particular issue looks like it probably should be closed out so I'm going to do that.

magico13 avatar Jul 17 '23 03:07 magico13

Repository 'magico13/ha-emporia-vue' exists in the store. This is what I get when installing Emporia-vue integration thru HACS. So I look for it in the HACS Store and it's not there. I tried other integrations and they all do the same thing or it hangs downloading. I GIVE UP

jumanjii1 avatar Sep 04 '23 10:09 jumanjii1

@jumanjii1 You have to add it via HACS as a custom repository. It is not an addon. If you're on a page in Home Assistant that mentions addons then you're in the wrong spot. Got to HACS, then integrations, then select the option to add custom repositories. image

magico13 avatar Sep 04 '23 12:09 magico13

I am in hacs when I do the emporia integration. It just tells me the it is already in the hacs store. Actually I’ve tried other integrations and they all inhibit this same behavior. I’ve tried reinstalling HA, using different browsers and all give me the same results. DNS seems ok using the Comcast DNS. Rebooted the computer and Raspberry Pi to no avail. I did install HA using imager_1.7.5.exe from the pi web site dozens of times and still nothing. I’m at my wits end here.

Sent from Yahoo Mail for iPhone

On Monday, September 4, 2023, 8:40 AM, Mike Marvin @.***> wrote:

@jumanjii1 You have to add it via HACS as a custom repository. It is not an addon. If you're on a page in Home Assistant that mentions addons then you're in the wrong spot. Got to HACS, then integrations, then select the option to add custom repositories.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jumanjii1 avatar Sep 05 '23 14:09 jumanjii1

If you're getting "already in store" you may have added the custom repo. Once it's added to the store you have to search again in the main page of the HACS store (or find it in the recently added). Once you do that to actually install it then you have to go into the integrations list in Home Assistant to log in and set it up.

To put it another way, 1. Add the custom repo to the HACS store, 2. Install it in the HACS store, 3. Set it up in Home Assistant.

magico13 avatar Sep 05 '23 14:09 magico13

Nope, there’s nothing there. I’m installing HA to another SD card now and am booting HA and trying again. I did have a Bluetooth dongle plugged into the Raspberry Pi so I removed it to see if that helps. Thanks for your help

Sent from Yahoo Mail for iPhone

On Tuesday, September 5, 2023, 10:41 AM, Mike Marvin @.***> wrote:

If you're getting "already in store" you may have added the custom repo. Once it's added to the store you have to search again in the main page of the HACS store (or find it in the recently added). Once you do that to actually install it then you have to go into the integrations list in Home Assistant to log in and set it up.

To put it another way, 1. Add the custom repo to the HACS store, 2. Install it in the HACS store, 3. Set it up in Home Assistant.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jumanjii1 avatar Sep 05 '23 18:09 jumanjii1