IHC Viewer for Home Assistant

This is a custom component for Home Assistant that will give you a tree view of the IHC project directly within Home Assistant. You can expand the tree and get the resource ids to be used for manually configuring your IHC setup in HA.

When enabled you get a new item in the HA menu:

In the IHC viewer you can see the IHC project, expand and select to get resource id:

Additionally you can see the IHC log. (This is where you get messages about low battery level)

Installing

You can get the custom component on github here:

https://github.com/dingusdk/haihcviewer

The custom_components folder should be placed in your HA configuration folder. So you will have

YOUR_HA_CONFIG_FOLDER/custom_components/ihcviewer

Additionally you must add the entry

ihcviewer:

To your configuration.yaml file.

21 responses to “IHC Viewer for Home Assistant”

  1. Christian Klit says:

    Thank you πŸ™‚

  2. Christian Klit says:

    I saw that some other add-ons “simply” (i don’t know how much it involves) make an panel_iframe that links to the hass-IP and then a specific port where the add-ons webpage runs. I don’t know if this could be a workaround?

  3. Michael Svinth says:

    I just made a PR with code change that will make IHC Viewer work again with Home Assistant

    • Jens says:

      Thanks for the PR – it has been merged now. And I made a github “Release” so HACS should be able to pick it up.

  4. Astronaut says:

    IHC Viewer does not really work in dark mode as one cannot see the +/- icons used to expand nodes.

    Also, it would be cool if one could click a button that would copy a skeleton definition of for the item to the clipboard that can be inserted in configuration.yaml.

    • Jens says:

      The problem is that all the icons are just pictures so you can not really change the color without have different set of pictures. It should be changed to material icons like HA is using (or svg)
      I will look into this so it can be use the dark mode. (no promise when)
      All the code is in github so if someone can make this look nicer feel free to make a PR. (also the tab in the top is not working anymore)
      Not sure how this copy skeleton should work – other than copying the resource id. Only the products that are already in the autosetup would make sense – and if it is already autosetup you don’t need to do it manually.

    • Jens says:

      I have released a new version that will work with dark mode, and you can copy the resource id to the clipboard. Note you may have the clear the browser cache for the new code to load.

  5. Jaime Vaz says:

    In IHC service viewer we can see some logs if some button is not assigned. There is a possibility to improve the log from the component to also show this kind of logs?

    • Jens says:

      The log that is currently shown is what you get from the controller. Can’t remember i have seen the “not assigned button” thing, but I guess it is messages show in the log window by the service viever but not actually stored in log in the controller. I will look futher into it when i get the time to do it.

  6. Birger Jensen says:

    is it possible to get batteri sensor of IHC wireless in Home Assistant

    • Jens says:

      Currently this is not possible. I have been trying to get the information from the IHC controller, but the only way I found was through the messages in the controller log.

  7. Henrik Schmidt says:

    My Home Assistant urges me to tell you:

    2021-04-15 07:38:33 WARNING (MainThread) [homeassistant.loader] No ‘version’ key in the manifest file for custom integration ‘ihcviewer’. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of ‘ihcviewer’

    Is it or can it be fixed?

    • Jens says:

      This is a new requirement in Home Assistant for custom integrations to have a “version” in the manifest.
      I have added it in version 2.0.3 just released. If you update to 2.0.3 the warning should go away.

  8. Rudi says:

    Hi,
    i tried to upgrade to the new version (via HACS), but checking de configuration after reboot gives:

    “Component error: ihcviewer – Integration ‘ihcviewer’ not found”

    but the new version is present in custom_componets.

    nothing changed in configuration.yaml

    # IHC controller
    ihc: !include include/ihc.yaml
    ihcviewer:

    rest of ihc stil works in HA

  9. Rudi Hilven says:

    installed with HACS (last version present in custom_components after install), than try to install it via config/integrations, but wont show up in list

    am i doing something wrong?

    • Jens says:

      Du you have the new ihc integration? The new ihc viewer require the new ihc integration: New ihc integration. (I have made a pull request in ha, but it can take some time to be included)

      • Rudi hilven says:

        removed ihcviewer via HACS, installed haihc-betatest
        IHC is up and running fine πŸ™‚

        and than reinstalled ihcviewer via hacs.
        will still not show up in config/integrations?
        please help

        • Rudi Hilven says:

          after reboot host (and waiting a few minutes to get the system up and running on my Rpi4), it shows up and installs!

          thanks, the viewer is verry nice work!
          makes my life much more easy πŸ˜‰

Leave a Reply to Astronaut Cancel reply

Your email address will not be published. Required fields are marked *