New Insteon version for beta testing - (Do not use since this is now in 0.111 and higher)

they are printed to the log, which can be viewed in the config file or via the add on “Log Viewer”

Thanks @Alfonsolsl, Just completed the insteon sensor integration.
Say, you know if the insteon wireless thermostat (2441ZTH) is working with the module?
can get this thermostat working…

thanks again!

thanks. much appreciated

After I left Indigo for HA and implemented this solution for Insteon, I noticed that too until everything settled down. At the same time I had a switchlink fail that was causing a lot of bad traffic on the power line. That took while to sort out, but finally found it and replaced it. Today, many months later I find that Insteon response is no different than it was in Indigo. I have stopped buying Insteon though, I’m slowly replacing it with WiFi Tasmota device as there is MUCH more capability, they’re faster, and I can eliminate talking through a specific interface like the PLM.

Hang in there, and welcome to the group! I loved your additions to Indigo, one of the few reasons I held on as long as I did.

Terry

2 Likes

Oh wow, I’m flattered! I really like Indigo well enough, but when it came time for my Mac mini to be replaced I made the decision to explore new options, particularly with the $80 renewal coming in a few weeks from then. HA is certainly a bit shaky at times but overall I’m pretty happy with the capabilities. Like you, I’ve been phasing Insteon out for Z-Wave, although I still like the KeyPadLincs so I’ll probably continue to have some kind of Insteon in my system.

1 Like

Heh, I just noticed I posted in the wrong thread. I’m not using this integration. About a year ago (before this one was rewritten) I started using the MQTT Insteon Add-on:
https://community.home-assistant.io/t/new-insteon-plm-modem-integration-option-via-mqtt

I’ve thought about switching to this ‘official’ integration but the other works so well these days I’m afraid to screw with it…

Terry

Is this now integrated into Node Red? I can’t seem to get anything to work other than simple on/off. Can’t dim anything, like:

I’ve tried using term “value”:200 etc. but nothing activates a dimmer light except this:


What am I doing wrong here?
Thanks!

This was merged into mainline home assistant a while ago, yeah. Sorry I can’t provide any help with the NR portion of your question though.

checking latest logs, found the entry below occuring multiple times. I hope @teharris1 will have time to look at these before they become a breaking issue.

/usr/local/lib/python3.8/site-packages/pyinsteon/protocol/http_transport.py:167: DeprecationWarning: 'with await lock' is deprecated use 'async with lock' instead
  await self._read_write_lock

I have several KPLs installed and when the buttons are programmed as “Momentary” they do not produce an event in HA, so they can’t be used to trigger automations. If I program the buttons as “Toggle” then they do trigger on and off events, but I need them to trigger the automation on each press, that’s why the “Momentary” event is important.
I opened up a request topic here.

Also, on a separate issue, the switch.turn_on and switch.turn_off work fine to turn on/off the leds on the relay version of the KPL, but it doesn’t work on the dimmer version of the KPL. The main button on the dimmer version is defined as a light in HA, but the other buttons are defined as switches.

I know that this has been moved into the main branch for HA.
I didn’t know where to post this question so I decided to post it here but please let me know if I need to post somewhere else.

Is there any way to enable 2 instances of the Insteon integration? I have 2 Insteon Hubs and I can only connect to 1.

I was able to do this in openHAB however I prefer Home Assistant but it seems it is limited to a single instance in Home Assistant.

Thanks for your help

@jastorino Currently the integration only allows for a single modem to be connected. Can you help me understand the use case for multiple modems? I have been asked for this feature before but I don’t understand why you would not want all devices connected to the same modem or why you would want multiple modems to control devices.

@rarroyo I will look into the issue with momentary. I am surprised this would be an issue.

Also switch.turn_on and switch.turn_off should work the same on the dimmable and the non-dimmable KPL. And you are correct, the other buttons are switches since they are only on/off entities like any other switch. I will look at this as well.

@Haddood Thanks for the heads up. It will be supported until 3.10 which comes out this year. I will definitely have a fix in before that. The change is in my current dev branch so on my next update of pyinsteon it will be addressed. Thanks again.

1 Like

@teharris1 I have a feature request for the next release (let me know if you would rather this be a ticket on Git):

Ability to migrate a device from one to another. I got spoiled with Indigo that did an amazing job of Insteon management and when (because it is when, not if with in this case) a keypadlinc goes south it would be nice to just migrate all the settings from the dead KPL to the new one. I’ve been putting off replacing one of my dead KPL’s because the whole method of moving to a new one is painful and I have considered spinning up old Indigo for this change since I’ve had to do that many times over the years and it’s a 5 minute process in Indigo.

Well, part of that feature exists but only at the command line level of pyinsteon. You can replace a device’s ALDB with a set of ALDB records from a json file. It is not a 5 minute job since you have to prep the json file but that will get the ALDB updated. Then you have the properties and operating flags which there is currently no current tool in pyinsteon for. Let me know if you want more details.

@rarroyo I checked the Momentary (or non-toggle as Insteon defines it) issue and I don’t see it on my side. When I have my “H” button set as non-Toggle OFF only, it sends a on_event which is available to automations. I setup an automation which is triggered on the event type insteon.button_on and pressing the H button triggered the automation.

Also, re-reading the issue with a dimmable KPL, the main light of a dimmable KPL needs to be triggered with light.turn_on or light.turn_off since it is a light not a switch. All the other buttons are switches.

Thanks, I’ll have to re-try that. I tried this a while back when I was setting up some automations, and I couldn’t see any events in the developer tools.

@teharris1 is there any intention pyinsteon to support the ‘insteon wireless thermostat 2441ZTH’ in the near future?
or its operating flags in the ALDB?
pyinsteon finds it and insert it to the ALDB but cant get it working.
my guess that the 2441TH (wired) is working properly?

thanks!

Insteon thermostats are difficult and the battery operated one is even tougher. There are very specific ALDB requirements for the thermostat. Have you tried to set the default links? Keep in mind for a wireless device you need to wake it up before it will talk to the modem.

I have both a 2441TH and a 2441ZTH and they both work for me with the HA integration