Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insteon local does not work with a lot of devices #13178

Closed
CvRXX opened this issue Mar 13, 2018 · 5 comments · Fixed by #16102
Closed

insteon local does not work with a lot of devices #13178

CvRXX opened this issue Mar 13, 2018 · 5 comments · Fixed by #16102

Comments

@CvRXX
Copy link

CvRXX commented Mar 13, 2018

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version):
0.65.4

Python release (python3 --version):
Python 3.6.4

Component/platform:
Arch linux
Insteon

Description of problem:
I'm running around 45 insteon devices in my home. To controll this I have an insteon hub which I connect to with the insteon local compononent. The problem I have right now is that the lights are mostly not reacting to my actions. When I press a button it will turn on some times but mostly it will just keep its old state.

I've noticed that it almost always works the first time but if I try a button after the first button it won't. If I wait a while it works again. So:

Turning light 1 on: works
wait 2 sec
Turning light 2 on: fails
wait 2 sec
Turning light 1 on: fails
wait 60 sec
Turning light 2 on: works

But still sometimes it doesn't work at all.

Expected:
I should be able to turn on/off lights without waiting 60 sec every time.

Problem-relevant configuration.yaml entries and steps to reproduce:

insteon_local:
  host: 10.20.0.150
  username: admin
  password: <supersecretkey>

Traceback (if applicable):
home-assistant.txt
This is the log of the automation in use

Additional info:
Maybe this all happens because I'm running too much devices for the small buffer of the api but I was using openhab where it did work. I could buy an insteon plm but I dont think it works in the Netherlands.

I hope you guys have a clue. Im a python/c++ programmer myself so maybe I could help.

@camrun91
Copy link
Contributor

This is an issue that we were hoping the last changes would have fixed. I have tried to reach out to the person who wrote the openhab component but never heard back. We are actually going to try and merge the PLM with the local to see if we can clean some of this up but that is a big project. @wardcraigj may be able to help more.

@teharris1
Copy link
Contributor

@CvRXX There has been work to merge the insteon_local and the insteon_plm code and we now have a working model if you are interested in testing. It works differently than the old insteon_local in that you don't need to specify your devices or platforms. Autodiscovery does that for you. If you are interested, here is what you need to do.

  1. Install the latest version of Home Assitant
  2. Uninstall the default version of insteonplm and install the latest version
    a. pip3 uninstall insteonplm (It is OK if it errors out saying it is not installed)
    b. 'pip3 install insteonplm` (This will install the current version which has the hub capabities)
  3. Download the main insteon_plm file and replace the existing file
    a. Download homeassistant/components/insteon_plm/__init__.py from my hub branch
    b. Copy / replace the current homeassistant/components/insteon_plm/__init__.py with the downloaded file
  4. Edit the configuration.yaml file to contain the following:
insteon_plm:
  host: <ipaddress of the hub>
  port: 25105 (unless you have changed the default)
  username: <hub username>
  password: <hub password>

You should not need any other config. I would recommend removing the insteon_local config however.
5. Restart Home Assistant

@slomanl1
Copy link

slomanl1 commented Jul 4, 2018

Does hass.io version 72.1 include the above mentioned insteon_plm?

@teharris1
Copy link
Contributor

No. I don't feel like enough testing has been done for it to go in yet. Feedback is really helpful.

@teharris1
Copy link
Contributor

FYI on a breaking change to both insteon_plm and insteonlocal. Please see this thread and give your input:
https://community.home-assistant.io/t/merging-insteon-plm-and-insteonlocal/60323/4

@ghost ghost added the in progress label Aug 21, 2018
@ghost ghost removed the in progress label Aug 22, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Dec 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants