Insteon configuration panel

Robin

You don’t need to use a usb to move files around that’s a bunch of unneeded work.

once you are in the folder here are the steps you need to do:

Backup the old files - just good practice to do this
mv insteon insteon_old

Download the new files
wget https://github.com/teharris1/insteon-panel/releases/download/0.0.1b3/insteon.tar.gz

Unpackage it
tar -xvf insteon.tar.gz

Everyone
Please note anything you do in here will get replaced if you install a HA patch or upgrade. So if you install this and then patch to the new 2022.4.7 your changes will be wiped out. Please be careful if you do this.

2 Likes

Thanks! Those 2 steps are easier.

Not knowing exactly the way this works, I can already see one issue which I do not know if it would be solved. The panel shows the generic names like Keypad Linc on/off XX.XX.XX or On/Off Outlet YY.YY.YY.

I am sure many if not all of us have friendly names for these like “Landscape Lights” or “Kitchen Cans”.
Without being able to look at a simple view that includes the friendly names, there is no good way to go through 80+ devices and see what is what.

Am I wrong here or is that what others see?

Like would it be possible to combine these two things or get the friendly names from the entities in the control panel?

No that is correct. Unfortunately this is all HA integration know those names are not stored in the devices themselves or the hub/plm. Those names where part of the Insteon app you might have used. all the hub/plm know is the addresses and device type

I have used insteon for about 20 years the first major item I learned was to have a catalog of all devices, address and locations in the house. Back then plm/hubs would die and you would have to rebuild. I to this day have thought insteon is a superiors product but the interface portion needed a lot of work which is why i use it and will continue using it. I have never found a replacement for the KeyPadLincs.

1 Like

I was hesitant to suggest it because your answer is exactly what I suspected. In thinking it through, it really is not “that” bad. I can drill into the entity and get the address. I can sort the GUI by the address and get to the device. It is not like this is something one would do everyday.

But … not possible (because that information is not in the PLM/Hub) could be a bit strong. I would think that as the GUI is loaded on the panel, it could look up the device friendly name somewhere.

Just like I can go to the Configuration → Entities and then search for only Insteon and get all the devices. I could parse out the platform (light, switch …). I could remove the common names like “switchlinc_dimmer” or “on_off_outlet”. The next three entries would be the address aka “4b_2b_69”.

Possibly some future enhancement? Not sure, but I can see a way it could possibly be done in code.

But yes, wouldn’t it be special if the friendly names could be pushed into some text field in the Insteon database.

I am fortunate that I had already created a table with my device names and their addresses due to my use of insteon-terminal. In HA when you add the Insteon device to the dashboard you can give it a friendly name and location. Hopefully in the future the Insteon control panel could also display the friendly name and location too. In the meantime I am happy to be able to view and change device level settings.

Right now I’m not sure how I would create a new device group or modify an existing group. For example a group with a switchlinc or keypad button that controls 2 or 3 outdoor lights.

https://www.home-assistant.io/integrations/group/

Testing switches and dimmers and all is currently working.
I can confirm issue with climate, cover and fan. I get same errors below and I only have fans and they do not function:

2022-04-25 11:42:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name ‘ClimateEntityFeature’ from ‘homeassistant.components.climate’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/climate/init.py)).

2022-04-25 11:42:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name ‘CoverEntityFeature’ from ‘homeassistant.components.cover’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/cover/init.py)).

2022-04-25 11:42:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name ‘FanEntityFeature’ from ‘homeassistant.components.fan’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/fan/init.py)).

I am also getting these:

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] MSG: 02501f13de000001c71100

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Topic: 1f13de.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 1}

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Error: ‘DimmableLightingControl_OutletLinc’ object has no attribute ‘status’

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] MSG: 02501f13de000001c31100

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Topic: 1f13de.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 0}

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Error: ‘DimmableLightingControl_OutletLinc’ object has no attribute ‘status’

2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message

2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] MSG: 02501f13de000001cb1300

2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] Topic: 1f13de.1.off.all_link_broadcast data: {‘cmd1’: 19, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 2}

2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] Error: ‘DimmableLightingControl_OutletLinc’ object has no attribute ‘status’

2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] Subscriber: OffInbound.receive_message

2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] MSG: 02504997d0000001cf1100

2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] Topic: 4997d0.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}

2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’

2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message

2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] MSG: 02504997d0000001cf1300

2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] Topic: 4997d0.1.off.all_link_broadcast data: {‘cmd1’: 19, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}

2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’

2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] Subscriber: OffInbound.receive_message

I am talking about Insteon PLM or Hub based groups. They can be created using the buttons on the devices and the PLM/Hub or better yet with an app. PLM/Hub based groups or scenes execute much faster than sending batches of commands to each device. For example I have an Insteon group to turn on of off 11 outdoor circuits when I use the PLM/Hub groups the response to the commands is instantaneous. It takes more than several seconds to have HA talk to each device.

1 Like

Yep. That is correct. BUT … if you use insteon.scene_on and call the scene in the PLM/Hub it:

  1. Will be just as instantaneous
  2. Will not update the state of the individual lights in the GUI

Because the Hub is not reporting back to HA the status for each light so that the state can be updated.
That is why I opt to use groups in HA and not the Insteon ones. Yes I have a few with 10+ lights in them and it turns each one of them on in turn and not all at once, but I prefer having the GUI in sync.

HA is listening to HUB traffic and yes it does know the status of the individual lights. The following script started from Alexa turns on an Insteon group for my backyard lights. The lights turned on immediately from Alexa. The equivalent Insteon based group takes 1 second or more per light.

This is the script:

alias: Backyard On
sequence:
  - service: insteon.scene_on
    data:
      group: 62
mode: single

This is the status image from my dashboard:

1 Like

FYI, I just updated the files on the repository to work with 2022.4 and newer. This should get rid of the issues of loading cover, climate, etc. The links are the same but here they are:
Linux: https://github.com/teharris1/insteon-panel/releases/download/0.0.1b3/insteon.tar.gz
Windows: https://github.com/teharris1/insteon-panel/releases/download/0.0.1b3/insteon.zip

Also, I am submitting the pull request tomorrow so this should make it into 2022.5!!!

2 Likes

yikes - just got worse not better with this latest… now I am getting:

The following integrations and platforms could not be set up:

  • insteon.light
  • insteon.fan
  • insteon.climate
  • insteon.cover

2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.light: Platform not found (cannot import name ‘ColorMode’ from ‘homeassistant.components.light’ (/usr/src/homeassistant/homeassistant/components/light/init.py)).

2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name ‘FanEntityFeature’ from ‘homeassistant.components.fan’ (/usr/src/homeassistant/homeassistant/components/fan/init.py)).

2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name ‘ClimateEntityFeature’ from ‘homeassistant.components.climate’ (/usr/src/homeassistant/homeassistant/components/climate/init.py)).

2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name ‘CoverEntityFeature’ from ‘homeassistant.components.cover’ (/usr/src/homeassistant/homeassistant/components/cover/init.py)).

sorry same results here using updated insteon folder dated 25-apr 10:58 pm

Logger: homeassistant.setup
Source: setup.py:298
First occurred: 12:05:37 PM (4 occurrences)
Last logged: 12:05:37 PM

Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name 'ClimateEntityFeature' from 'homeassistant.components.climate' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/climate/__init__.py)).
Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name 'CoverEntityFeature' from 'homeassistant.components.cover' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/cover/__init__.py)).
Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name 'FanEntityFeature' from 'homeassistant.components.fan' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/fan/__init__.py)).
Unable to prepare setup for platform insteon.light: Platform not found (cannot import name 'ColorMode' from 'homeassistant.components.light' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/light/__init__.py)).

You are 100% correct with scene_on updates. My issue in the past I just realized was Alexa with Insteon plugin and not Alexa with Nabu Casa.

I am getting the following errors when I press a button to turn on or off any switch. The first message is for the on and the second is for the off.

2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] MSG: 02504b91af000001cf1100

2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] Topic: 4b91af.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}

2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’

2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message

2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message

2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] MSG: 02504b91af000001cf1300

2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] Topic: 4b91af.1.off.all_link_broadcast data: {‘cmd1’: 19, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}

2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’

2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] Subscriber: OffInbound.receive_message

Hey, I am new to Home Assistant due to the shutdown and was wondering how to get the sliders on the dashboard for dimmer devices.

And @teharris1 thank you so much for the effort you are putting in.

https://github.com/thomasloven/lovelace-slider-entity-row

1 Like

@mdb17 … since you are new, it is not clear where we could or should be helping you. But In pure YAML editing, as @wgstarks says, use the custom:slider-entity-row. I use custom:auto-entities to build out cards and then the appropriate entities for this cards.

One card is like this:

So a whole tab for lights and switches and LEDs like this:

1 Like

Add a “me too” to the issue regarding insteon.light, insteon.fan, insteon.climate, and insteon.cover set up error.