Homekit Infused 5 (HKI) v2023.1.3

Hi,

just installed the HKI v 4.0.0 and having an error on mobile view through HA App.

Under Menu I can not see HomeKit Infused Base Settings, on desktop browser they are there.

Nothing changed on the code so far. What can be the problem?

Hi,

I have same problem as you. On my dev homeassistant I tried upgrade to version 2021.11.3 but problem still remained. I returned the version 2021.11.1 to which it was no problem but now there is a problem here as well. There is no error in the log. What could it be?

Thank you for your answers.

@menealphion and @luckies and ofcourse anyone else with this problem. I see that this is now an issue. This means I will push an update soon that fixes this. Do not expect great new features currently (however I will continue the work on this project soon). As some of you might know now, my time is currently extremely limited.

But this seems to be a very annoying bug which I will sort out this weekend. Keep a close eye on the github repo!

People that are following this project and eagerly waiting for an update (since it hasn’t been updated in months) I do have some good news.

Here is a draft of the upcoming changes. Expect this update to drop within a few days!

Addons:
-	Logbook Card
-	Statistics Card
-	Energy Cards
-	Glance Card
-	History Card
-	Gauge Card
-	Plant Status Card
-	Alternative Vacuum Dashboard
Fixes:
-	Fixed icon in HA Settings
-	Fixed HKI menu (this now shows properly again)
-	Removed the now deprecated GUI Sandbox Tool, this is also no longer a requirement to install HKI.
-	Fixed the FindMy addon, this will now show properly on desktops/tablets
-	Upgraded the Vacuum Map addon to support v2
Features added:
-	Covers support (thanks to @........?)
-	Added heat/cool and heat_cool to the climate devices sensor
-	The columns addon now has a global value for gauges
-	
Other:
-	Removed RC status
-	Version scheme changed in a format also used by HA, meaning it will now show the year, month and the version number (e.g. 2021.11.3, this means it is published in 2021 in the month of November and that it is the third version of that month. Note that the HKI version is not tied to HA versions and thus a higher HA version does not mean HKI with a lower numbered version will not work with them. The original HKI compatibility sensor will remain and thus there are no changes in that area.
Issues:
-	The extra options on the navigation bar to show user/date/time or a custom text are currently not working until a fix is found to work with the latest HA versions. All other functions seem to be unaffected.

Homekit Infused 2021.11.1

*New addons and hotfixes

Changes:

  • Added 7 new addons (Logbook, History, Statistics, Energy, Glance, Gauge and Plant Cards)
  • Fixed icon in HA Settings
  • Fixed HKI menu (this now shows properly again)
  • Removed the now deprecated GUI Sandbox Tool, this is also no longer a requirement to install HKI.
  • Fixed the FindMy addon, this will now show properly on desktops/tablets
  • Added support for covers in the (header) device counters addon thanks to @evr
  • Added support for thermostats in the (header) device counters addon
  • Added fixes for heat_cool entities not being included in the device counters thanks to @zbuh
  • The columns addon can now also set the new gauge addon globally
  • Removed RC status
  • Version scheme changed in a format also used by HA, meaning it will now show the year, month and the version number (e.g. 2021.11.3, this means it is published in 2021 in the month of November and that it is the third version of that month. Note that the HKI version is not tied to HA versions and thus a higher HA version does not mean HKI with a lower numbered version will not work with them. The original HKI compatibility sensor will remain and thus there are no changes in that area.

To Do:

  • Fix CSS for Dwains Dark Theme
  • Vacuum Map Addon
  • Vacuum Dashboard Addon
  • Covers Popup for buttons
  • Unifi Dashboard Addon
  • Unraid Dashboard Addon
  • Obviously bugfixes XD

You can expect the Vacuum and Cover addons to be added in v2021.12.x

BREAKING CHANGES
No specific breaking changes, however if you want to use thermostats or covers in your headers device counters than you must add a few lines to your /hki-user/config/general_config.yaml file.

Look for lines 15 to 20 in the default config file

How to Update?
*NOTE: CREATE A BACKUP BEFORE UPDATING!!!

Make sure you update all the custom cards and addons to their latest versions!
Download the release, then copy and overwrite the following two folders:

  • /hki-base/
  • /packages/

Restart your Home Assistant!

NOTES:
Please check out my personal repo for examples with the v4.x.x config GitHub - jimz011/homekit-infused at 4.x.x-personal

1 Like

HKI News November/December 2021

I have some great great news for people using this dashboard with custom cards
Starting from version 2021.12.1 HKI will get a new addon called custom: which lets you add ANY card you want straight from the view config.

This does a few thing:

  • It will deprecate the old custom_cards: addon which will be removed from HKI starting v2022.1.1
  • It will remove the need for separate folders and files
  • You will be able to manage your entire setup from a single file (or even split them up if you want to)
  • It will fix the ugly placements when mixing addons and custom cards on a single view! - It will open up ALL the options of ANY card and will allow me to create addons super fast
  • It will allow for a HKI light/advanced version which will have NO addons except for the custom one. It will have all features HKI offers minus the addons, this is great for people that want to have tight control over their setup, will make the setup super light and people that just prefer to create their own dashboards
1 Like

Homekit Infused 2021.12.1

*The ultimate addon: Custom!

Changes:

  • Added a new addon called Custom, this is the god mode addon that will allow you to add any card(s) to HKI!
  • Added more options for the Layout addon, you can now have a panel view, grid layout and many new grid-template options
  • Entities Card addon has now received almost every feature that is available in the stock entities card!
  • Split hki-base.yaml up into more readable sections, you can now easily re-order and/or delete unused addons (Note: this has to be redone after each update until I find a better solution!)
  • Updated documentation for HKI 2021.12.1, please be sure to check out the Custom, Layout and Entities Card addon. Also be sure to check out the new How to split your configuration page.

The new CUSTOM addon
You can now add any card you want to HKI, yes this was already possible, however it can now be done straight from the view_config! Here is a short list of what it will and won’t do:

  • The new custom addon is one of the most anticated addon since it allows your entire custom cards library to be configured straight from the view_config.
  • It will fix the terrible looking dashboard when using both addons and custom_cards on the same view!
  • It will be super easy to use and configure since you can refer to the official documentation of that specific card that you want to use.
  • You can migrate pretty easy if you already used custom_cards in the past
  • The old custom_cards addon will be deprecated starting HKI 2022.1.1
  • You can still split up the view so that you won’t even need to change the folders that you were using!
  • Unfortunately it also comes with one downside, changing anything within the custom addon will require a restart, but I think the much much better looking layout because of this change makes up for this a lot. If you want to experiment with cards I will always recommend setting up an alternative dashboard specifically for one job, testing out custom cards! You can then add them to HKI after you are happy with your results.
  • Last but definitely not least, this change opens up a ton of new options for the existing addons in the future, making them more powerful and have a lot more features than that are currently possible. All the HKI addons will receive such an update and there are already 2 addons in this update that benefit from this change namely layout: and entities_card:!

BREAKING CHANGES
Layout addon has now more options, because of this change the way we get those options have slightly changed. If you did use the layout-card addon and had set optional layout options, you will nog have to change your formatting.

# Previous way
  my_view:
    layout:
      column_widths: 7fr
      max_width: 100%
# New way
  my_view:
    layout:
      options:
        - column_widths: 7fr
          max_width: 100%

I know it is slightly more code, but it now opens up many new options for layout-card, which you can find in the layout addon documentation now!

custom_cards:, this addon will deprecate in a later version of HKI, but I want to mention it now so that you will start migrating!

How to Update?
*NOTE: CREATE A BACKUP BEFORE UPDATING!!!

Make sure you update all the custom cards and addons to their latest versions!
Download the release, then copy and overwrite the following two folders:

  • /hki-base/
  • /packages/

Restart your Home Assistant!

1 Like

Homekit Infused 2021.12.2

*Bugfixes for the custom addon

Changes:

  • custom_position: that was introduced in HKI 2021.12.1 is no longer available and now merged with the custom addon
  • In the custom addon you can now set the position of each stack whether you want them to be rendered before or after the preconfigured HKI addons.

BREAKING CHANGES
The option custom_position: in the global config is no longer available, this must now be set individually per stack, this makes creating something you want a lot easier.
If you did not use the new custom: addon, or if you did not use the custom_position: option, this does not apply to you.
This also does not apply to the older custom_cards: addon!

How to Update?
*NOTE: CREATE A BACKUP BEFORE UPDATING!!!

Make sure you update all the custom cards and addons to their latest versions!
Download the release, then copy and overwrite the following two folders:

  • /hki-base/
  • /packages/

Restart your Home Assistant!

Hello @jimz011

Im sorry for my stupid question, but I dont understand the new custom card. I have many old custom_card and I dont know how can I added to new custom card.

This is one of many:

- type: custom:mod-card
  style: |
    ha-card {
      margin-left: 7px;
      margin-right: 7px;
    }
  card:
    type: vertical-stack
    cards:
      - !include
        - '../../../hki-base/templates/other/title-text.yaml'
        - name: 'Server Resources'
      - type: horizontal-stack
        cards:
          - !include
            - '../../../hki-base/templates/other/mini-graph.yaml'
            - entity: sensor.processor_use
              name: CPU Usage
              line_color: '"#00d8ff"'
              graph_type: line
              line_width: 8
              decimals: 0
              show_extrema: true
              show_name: true
              font_size: 85
              height: 100
              
          - !include
            - '../../../hki-base/templates/other/mini-graph.yaml'
            - entity: sensor.memory_use_percent
              name: Memory Usage
              line_color: '"#00d8ff"'
              graph_type: line
              line_width: 8
              decimals: 1
              show_extrema: true
              show_name: true
              font_size: 85
              height: 100

How can I added to new custom card? Because when I did this, HA didnt load anymore.
Here is my view_config.yaml

  system:
    icon: mdi:home-assistant
    subtitle: Overview
    show_in_favorites: false
    show_subtitle: true
    show_in_menu: true
    button_label: Overview
    button_badge: sensor.average_cpu_temperature
    custom:
      !include ../../hki-user/views/system/system.yaml

Thanks for your hard work on this project (it`s best of best).

Try this @luckies

custom: 
  - cards:
      !include ../../hki-user/views/system/system.yaml

However I’d advise you to use the new format which has the title text already baked in.

You will get something like this:

  system:
    icon: mdi:home-assistant
    subtitle: Overview
    show_in_favorites: false
    show_subtitle: true
    show_in_menu: true
    button_label: Overview
    button_badge: sensor.average_cpu_temperature
    custom:
      - title: Server Resources
        cards:
          - type: horizontal-stack
            cards:
              - !include
                - '../../hki-base/templates/other/mini-graph.yaml'
                - entity: sensor.processor_use
                  name: CPU Usage
                  line_color: '"#00d8ff"'
                  graph_type: line
                  line_width: 8
                  decimals: 0
                  show_extrema: true
                  show_name: true
                  font_size: 85
                  height: 100
                  
              - !include
                - '../../hki-base/templates/other/mini-graph.yaml'
                - entity: sensor.memory_use_percent
                  name: Memory Usage
                  line_color: '"#00d8ff"'
                  graph_type: line
                  line_width: 8
                  decimals: 1
                  show_extrema: true
                  show_name: true
                  font_size: 85
                  height: 100

@luckies the example above can be split into another file as well, you’d get this:

# view_config.yaml
  system:
    icon: mdi:home-assistant
    subtitle: Overview
    show_in_favorites: false
    show_subtitle: true
    show_in_menu: true
    button_label: Overview
    button_badge: sensor.average_cpu_temperature
    custom:
      !include ../../hki-user/views/server.yaml
# ../../hki-user/views/server.yaml
- type: horizontal-stack
  cards:
    - !include
      - '../../hki-base/templates/other/mini-graph.yaml'
      - entity: sensor.processor_use
        name: CPU Usage
        line_color: '"#00d8ff"'
        graph_type: line
        line_width: 8
        decimals: 0
        show_extrema: true
        show_name: true
        font_size: 85
        height: 100
    - !include
      - '../../hki-base/templates/other/mini-graph.yaml'
      - entity: sensor.memory_use_percent
        name: Memory Usage
        line_color: '"#00d8ff"'
        graph_type: line
        line_width: 8
        decimals: 1
        show_extrema: true
        show_name: true
        font_size: 85
        height: 100

As you can see, multiple ways to do it, but the new custom addon already takes away your first 12 lines, since you no longer have to add them yourself

The same is true for the layout addon, this now works great with custom cards as well.

*Note: take note of the path that changes when using split files, I have corrected paths in both examples.

Homekit Infused 2021.12.3

*Finally some attention to themes!

Changes:

  • A very small update with a very big impact, themes finally had their very very long awaited attention and all the themes have now been adjusted. You can finally read what is in the logbook or developer tools when using the dark modes (and some of the light themes had issues as well, these should mostly be fixed now)

How to Update?
*NOTE: CREATE A BACKUP BEFORE UPDATING!!!

Make sure you update all the custom cards and addons to their latest versions!
Download the release, then copy and overwrite the following two folders:

  • /hki-base/
  • /packages/

Restart your Home Assistant!

Hi @jimz011

thanks for your quickly answers, but I have still same problem. When I added new custom card config, restart HomeAssistant, I get this error ERROR (MainThread) [root] Uncaught exception and HA didnt load anymore (bootloop).

I tried all possibilities config options that you mentioned above. When I use custom card without !include any template, its worked. I have no idea what’s wrong.

Thanks for your help.

Hi @jimz011

After a update i have a issue with my vacuĂźm :cry:
I dont have a control to start clean :cry:

Seems to be a bug in the latest version, will fix it soon.

I too have this problem sometimes, but it depends on screen and column size.

There are new vacuum controls on the way, so stay tuned.

hi jimz

thx for the answer, i wil wait for the update :slightly_smiling_face:

another question,

if i want to use a custom view, can i use a own pop up card? so yes can u give an example how to? :slight_smile:

great work :+1:

Yes the custom addon will allow you to create any config possible. But it is a bit advanced. You will have to learn to use the following two HA addons, namely browser_mod and button-card. A big update coming to the HKI devices addon is coming real soon which will have such things preprogrammed so that you will only need to add a few lines of code to achieve it.

Hi @jimz011

its possible to make a layout like in the picture? Or do I have to do it via custom addon?

Thanks for any answers.

# view_config.yaml 
 system:
    icon: mdi:home-assistant
    subtitle: Overview
    show_in_favorites: false
    show_subtitle: true
    show_in_menu: true
    button_label: Overview
    button_badge: sensor.average_cpu_temperature
    layout:
      options:
        - max_cols: 3
    graphs:
      - title: Server Resources
        columns: 2
        line_color: '"#00d8ff"'
        entities:
          - entity: sensor.processor_use
            name: CPU Usage
            show_icon: false
            font_size: 85
            height: 100
            line_width: 8
            show_extrema: true
          - entity: sensor.memory_use_percent
            name: Memory Usage
            show_icon: false
            font_size: 85
            height: 100
            line_width: 8
            show_extrema: true
      - title: Server Temperatures
        columns: 2
        line_color: gold
        entities:
          - entity: sensor.cpu_temp
            name: CPU Temp
            line_width: 8
            decimals: 0
            show_icon: false
            show_extrema: true
            show_name: true
            font_size: 85
            height: 100
          - entity: sensor.cpu_temp_3
            name: CPU Temp
            line_width: 8
            decimals: 0
            show_icon: false
            show_extrema: true
            show_name: true
            font_size: 85
            height: 100
    devices:
      - title: Server Overview
        entities:
          - entity: sensor.disk_free_home
            name: SSD Free
            show_last_changed: true
          - entity: sensor.disk_use_home
            name: SSD Used
            show_last_changed: true
          - entity: sensor.disk_use_percent_home
            name: SSD Used (%)
            show_last_changed: true
          - entity: sensor.manager_mqtt_messages_s
            name: MQTT
            label: Messages (Meross)
          - entity: sensor.cert_expiry_timestamp_xxx
            icon: mdi:certificate
            name: Certificate
            label: xxx
            show_state: false
          - entity: sensor.ha_uptime
            name: HA Uptime
            show_state: false
          - entity: sensor.network_throughput_in_ens18
            name: Network In
            label: Through (MB/s)
          - entity: sensor.network_throughput_out_ens18
            name: Network Out
            label: Through (MB/s)

1 Like

@jimz011 I am also having issues getting custom cards to load in 12.3. Is anything wrong in my configuration?

  security:
    subtitle: "[[[ return `Alarm ${states['alarm_control_panel.alarm'].state}`; ]]]"
    icon: mdi:shield
    show_in_favorites: true
    show_in_navbar: true
    button_badge: sensor.current_binary_sensors_on
    button_label: "[[[ return `Alarm ${states['alarm_control_panel.alarm'].state}`; ]]]"
    custom:
      cards:
        - type: custom:alarmo-card
          entity: alarm_control_panel.alarm
          keep_keypad_visible: true
          button_scale: 1

Try to make a list of the first part as well:

    custom:
      - cards:
          - type: custom:alarmo-card
            entity: alarm_control_panel.alarm