Insteon configuration panel

I have an early Christmas present for you all!

The beta version of the Insteon control panel is available to install as a custom panel. Here are the basic steps:

  1. Download the zip file (insteon_panel.tar.gz for Linux or insteon_panel.zip for Windows) from the most recent release: Release Initial beta release · teharris1/insteon-panel (github.com)
  2. Create a www directory inside your config directory.
  3. Unzip the content of the zip file from step 1 inside the www directory this will create a directory called insteon_frontend (i.e. you will now have a <path to config>/config/www/insteon_frontend directory)
  4. Add the following to your configuration.yaml:
panel_custom:
- name: insteon-frontend
  url_path: insteon
  sidebar_title: Insteon
  sidebar_icon: mdi:server
  module_url: /local/insteon_frontend/entrypoint.js
  embed_iframe: true
  require_admin: true

The exact steps will be dependant on your system but I will try to help if possible (also I would appreciate if you would all help each other on this too : )

Finally, this is an AS IS solution for now. I am working to build this into the core Home Assistant so that you don’t require the custom panel but that is a few months away. I am not planning to make updates to this custom panel so that I can focus on getting this into core. Thanks for understanding.

1 Like

Thanks Very much. I will load this up on my dev home assistant unit tomorrow. Understood on helping each other and no real support beside what we provide each other.

This is fantastic! Thank you!!

I’m really jazzed about this - thank you for your continued work! I just tried setting this up and get the below error and haven’t had a chance to dig in why yet, but if someone knows what it is quickly that’d be great. I’m 99% sure it isn’t an issue with the module_url as changing that gives me a different error saying the js file can’t be found.

image

What version of HA are you on?

| What version of HA are you on?

Yeah, me again - sorry.

core-2021.11.5
supervisor-2021.10.8
Home Assistant OS 6.6 on a rpi4

Also, I’m happy to try to dig into this as well, just won’t be able to until at least this evening. If you have some thoughts as where to start looking too that’ll save me a bunch of time.

@jlambert121 I am on that same version and it works for me. Try entering this link on your browser:
http://<ip address or host name>:8123/insteon/devices

Also, make sure the configuration.yaml file uses name: insteon-frontend. That and the module_url are the most important pieces of the configuration.

I was just typing a “nope, no love” response, but I figured it out. It works in chrome, not in safari!

The safari console has a Invalid regular expression: invalid group specifier name c.0c13a8ab.js:1238

Google took me to this SO article that makes it look like it’s the look behind query here

This looks really neat - thank you for your work on this! I think it’s the missing piece for me to completely remove Indigo. On the “All-Link Database” tab, “Load from Device” (and waiting 30 mins) doesn’t show anything - I wonder if that’s related to my issue loading new devices. Likely using the same service underneath though so probably not a great data point.

Thanks again for your effort on moving Insteon forward in Home Assistant!

Wow, thanks for figuring that out. That RegEx line is there to ensure any Insteon device address is in fact a valid address. I can recode that to make it compatible with Safari perhaps.

Installed it this morning. Looks good so far. Will run through and post if I encounter any weirdness.

@teharris1 , The Insteon panel looks great. I see how you can add a link, how would you delete a link, mark is as not in use?

Any chance we could get an option to add/delete a device to/from the PLM?

Yes, marking the link as not in use is the same as deleting it. When a new link is written it will likely use that record and override the link that is not in use.

The next version that I am planning to build directly into HA will have the ability to add/remove devices easier and to manage links between devices. Most of which can be done without needing to touch the device.

1 Like

That sounds great. If you need a tester for the add/remove code, please let me know.

Thanks so much @teharris1! I’ve been wanting a feature like this for the two years since I moved my insteon network from Indigo to HA. I was able to install this easily and get it to work. The first thing I was able to accomplish was adjusting the LED brightness on one of my keypadlincs. Looking forward to updates. A suggestion would be enabling it with HACS as an easier way for installation and updates.

One thing that doesn’t work is accessing the insteon panel on ios. I can see the side panel icon but get the message “Error while loading page devices.” This happens in the ios Home Assistant app, Safari, and Chrome. It’s also persistent between my duckdns with port 8123 and the nabu.casa link.

Let me know if I can help test future updates.

@brianmaas Thanks for the feedback. I suspect the issue with IOS is similar to the issue @jlambert121 mentioned regarding the regex issue in safari. If you are able to try Chrome on IOS that would be appreciated. if Chrome works then that would confirm the issue most likely.

The page doesn’t load in Chrome on ios either.

Chrome on iOS uses the Webkit rendering engine (which is what safari uses).

Here is a quick update. My next major goal is to build this into HA core so that it appears automatically when you start up HA with Insteon installed. However, to do that, I want to refactor some things in the underlying library. I am also planning some major enhancements to the panel to make it much easier for people without a deep understanding of Insteon to do basic things like creating a scene, while still giving advanced users full control over the ALDB. This is going to take some time so please keep the feedback coming regarding the current panel.

1 Like

@teharris1, Maybe I’m missing something, but when I choose the “Insteon” selection on the left panel of Homeassistant and I’m brought to the device page, if I click into a device, there seems to be no easy way to get back to the Homeassistant sidebar. The “back” arrow on the device page just keeps looping back into the Insteon pages.

I am not seeing that behaviour! I am returned to the original Insteon Panel. Browser issue?? I am using MS Edge…