-
Notifications
You must be signed in to change notification settings - Fork 96
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
Support Spring 2018 protocol #23
Conversation
The Travis cache may have bad data in it. I don't think I can do anything to make that 3.4 test run succeed. |
New script pulls down certs without error, but cannot control in homeassistant I downloaded new smartbridge.py, replaced file in cloned git zip, then did pip install. Am I missing something? |
works perfectly, my non pro lutron hub works again now. |
For the home assistant integration, it might be a good opportunity to use the entity registry, and avoid future renames. |
I am up and working with this PR on non-pro. |
I'm up now too. thanks mdonoughe. I just did a wget into the /srv/..../pylutron-caseta/ directory |
@mdonoughe Back up and running on non pro hub 👍 |
Working for me as well on non pro! 👍 |
Where can I find this directory on hassio? |
This does work. Couple notes for others. I had to delete the certs I had already in the directory, otherwise the script wouldn't fetch the new certs. The name prefixing is annoying (had to update all my automations). If you're looking for where to replace the smartbridge.py file and using a docker install, it's here: /usr/local/lib/python3.6/site-packages/pylutron_caseta |
Ill get this merged today and push out a new version to pip today - probably this evening. |
@gurumitts |
@Tim91084 on my hassio docker install the smartbridge.py is in the /usr/lib/python3.6/site-packages/pylutron_caseta folder. However any changes to the file are immediately lost on restart of home assistant. I think the only way I can make them persistent is if I create a new image for the container. I've tried that before but hassio doesn't like it. I'm not sure if I am missing an easy fix for this or if I'll just have to wait to these changes get pushed out to hassio. |
@brettzie did you get this working on hassio? If so how? thanks |
I'm not using hassio but I am using the docker container. I fixed it by mounting the smartbridge.py file in docker: /path/to/smartbridge.py:/usr/local/lib/python3.6/site-packages/pylutron_caseta/smartbridge.py |
@jchong Thanks I ended up doing something similar after I posted. |
I am having the same issue and have tried to upgrade as follows:
Did this pick up the fix? When I restart, I still get the configuration failure. |
Home assistant will reinstall the old version of pylutron-caseta when you restart it. You need to edit this file:
and change this:
to this:
Then restart home assistant and it should pick up the change. This worked for me. |
Thanks. That worked. |
It looks like with the new firmware:
The existing script to get the certificates should still get the certificates, despite printing an error at the end. I've put an updated copy of the script directly in the repository.
Unexpected messages are now ignored during the connection phase. If you're somehow still running the old firmware this shouldn't be a problem.
Fixes #22