Introduce two custom projects for HA ingress

https://github.com/lovelylain/hass_ingress

It provides 5 working modes:

  1. ingress: Integrate third-party services into HA, just like addons do. Useful when you install services as containers.
ingress:
  frigate:
    work_mode: ingress
    title: Frigate
    icon: mdi:cctv
    url: http://172.30.32.2:5000
  1. subapp: Works with ingress working mode when third-party services have two different root paths.

  2. iframe: Show a webpage in an iframe, just like panel_iframe does. Or add any HA page as a sidebar panel.

ingress:
  link_automation:
    work_mode: iframe
    ui_mode: replace
    title: Automation
    icon: mdi:link
    url: /config/automation/dashboard
  1. auth: Works with nginx auth_request to provide secure access when third-party services do not support ingress working mode.

  2. hassio: Add the addon into the sidebar with a custom name.

ingress:
  esphome:
    work_mode: hassio
    title: ESPHome
    icon: mdi:chip
    url: 5c53de3b_esphome

https://github.com/lovelylain/ha-addon-iframe-card

When adding the addon ingress url as a webpage card, you will encounter a 401 error. Or add the service from hass_ingress as a webpage card, it won’t load on the companion apps. This custom card can solve these problems.

views:
  - type: panel
    title: Node-RED
    path: nodered
    cards:
      - type: custom:addon-iframe-card
        url: a0d7b954_nodered
  - type: panel
    title: Frigate
    path: frigate
    cards:
      - type: custom:addon-iframe-card
        url: /api/ingress/frigate/
2 Likes