Need help to add a custom repository

i changed mqtt part in configruation.yaml to

mqtt:
  sensor:
    - state_topic: "homesys/Solar MPPT/LOAD1 A" <----- Line 58
    - name: "Solar SERVER Ampere"
    - unit_of_measurement: "A"

  sensor:
    - state_topic: "homesys/Solar MPPT/LOAD2 A"
    - name: "Solar PI Ampere"
    - unit_of_measurement: "A"

...

but i get an error while checking yaml:

Invalid config for [mqtt]: required key not provided @ data[‘mqtt’][‘sensor’][0][‘state_topic’]. Got None. (See /home/homeassistant/configuration.yaml, line 58).

i did it like in the example…

mqtt:
  sensor:
    - name: "Solar SERVER Ampere"
      state_topic: "homesys/Solar MPPT/LOAD1 A" <----- Line 58
      unit_of_measurement: "A"

    - name: "Solar PI Ampere"
      state_topic: "homesys/Solar MPPT/LOAD2 A"    
      unit_of_measurement: "A"

ok, thank you very much!
In this moment i changed the configuration.yaml to a

mqtt: !include mqtt.yaml

and put all mqtt parts into that file.

sensor:
  - name: "Solar SERVER Ampere"
    state_topic: "homesys/Solar MPPT/LOAD1 A"
    unit_of_measurement: "A"
  - name: "Solar PI Ampere"
    state_topic: "homesys/Solar MPPT/LOAD2 A"
    unit_of_measurement: "A"

HA reports no errors anymore, my mqtt sensors are working and the bestway integr. is configured!
Nice!

Only one question about the differencees of HA Core, HACS and HASSIO:

on my Server there is debian running and i cant switch to a HA OS, is it even possible to install HACS or HASSIO on debian or only the Core Version?

HACS is a custom component, can be installed on HA OS, HA Supervised, HA Container and HA Core.

Hassio has not been used for over 2 years, it’s new name is Home Assistant OS (HA OS in short).

You could run a docker installation (HA Container)

is it possible to install HACS on my NON-supervised Core Version?

And is there a step-by-step instruction to install HA in OMV-Docker?
I never used Docker yet, so would be fine to get some helpful links.

HACS does not require supervisor. It’s an integration, so it can be installed on any installation method. You just have to follow the HACS installation directions on the HACS website.

1 Like

Thank you!
I could install HACS after a few tries, now it seems to be ok and it shows the integration,frontend, automation buttons. (first i saw only a “demo” like a dia-show…)

Now i tried to install/download a integration “Camect” but when i click on Download (Herunterladen) the circle turns & turns & turns… seems it turns forever.
This happens on all Integrations! while Frontends and Automations are correctly downloaded and installed!

I also had a look into /home/homeassistant/custom-components but there is no Integration from HACS how it was described:
Nach dem Herunterladen befindet sich dies in `’/home/homeassistant/custom_components/camect

What could be the reason for not downloading any integrations?

Edit:
in a logfile of HACS (Diagnose Informationen" i found some strange Path-configs:

        "repository_manifest": {
          "content_in_root": false,
          "country": [],
          "filename": "hacs.zip",
          "hacs": "0.19.0",
          "hide_default_branch": true,
          "homeassistant": "2022.11.0",
          "manifest": {
            "name": "HACS",
            "zip_release": true,
            "hide_default_branch": true,
            "homeassistant": "2022.11.0",
            "hacs": "0.19.0",
            "filename": "hacs.zip"
          },
          "name": "HACS",
          "persistent_directory": null,
          "render_readme": false,
          "zip_release": true
        },
        "ref": "1.32.1",
        "paths": {
          "localpath": "/config/custom_components/hacs", <----------
          "local": "/config/custom_components/hacs",  <---------
          "remote": "custom_components/hacs"
        }
      }

the line with /config/custom_components is not right!
in /.config there is no folder “custom_components” !
It is located in /custom_components as in “remote”

Where can i change those two lines “localpath” and “local” ?