Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Update for 0.66 #50

Closed
robmarkcole opened this issue Mar 29, 2018 · 14 comments
Closed

Update for 0.66 #50

robmarkcole opened this issue Mar 29, 2018 · 14 comments

Comments

@robmarkcole
Copy link
Owner

In 0.66 the hue library changes. Need to modify this custom component so that it hanles auth without relyin on phue.conf. Can have the user configure the url as was done in early release of this component.

@point-4ward
Copy link

Can't wait to get this back! I was just starting to rely on it for automations when they changed the ball-park.

Balloob was looking in to integrating the sensors with the current component, would it be better to have a chat with him and go for full integration rather than working in parallel towards the same goal?

Either way, thanks for all your hard work on this component, I've used it loads and can't wait to get the functionality back when you sort it 😎

@robmarkcole
Copy link
Owner Author

Issue resolved in https://github.com/robmarkcole/Hue-sensors-HASS/tree/development
Note that you need to manually edit the URL. The custom component is now decoupled from the Hue bridge component, and only contains a single hue.py file.
Cheers

@zarthan
Copy link

zarthan commented Mar 30, 2018

The update works with 0.66 beta. A big emphasis on editing URL.Many thanks

@zarthan
Copy link

zarthan commented Mar 30, 2018

I may have spoken too soon. The hue lights are back but the remote is missing. No initial errors I can see so I have some looking to do.

update: If I put the previous hue.py file back in custom_components along with the updated hue.py in sensors, I have the remote but no lights. Remove the hue.py from custom_components I have lights but no remote. What a predicament. I want the remote. Wife wants lights.

@robmarkcole
Copy link
Owner Author

PLEASE CLARIFY: You are referring to removing the hue.py from the components directory - this is the file for the hue hub. It is no longer required, please delete. If you have an issue with your lights that is a separate issue and should be reported

@zarthan
Copy link

zarthan commented Mar 30, 2018

I removed the hue.py file from the custom_components directory and added the new hue.py file to the sensors folder. Update to 0.66.0b3. Restart HA. Lights work just fine, however, no remote. No error messages and I do have debug set for the components.
If I return the hue.py file that I deleted from the custom_components folder and restart HA, I get the remote but no lights.

@robmarkcole
Copy link
Owner Author

I think someone reported something similar once, may be that the old component is still cached somehow. Think the other guy had to reinstall HA

@zarthan
Copy link

zarthan commented Mar 30, 2018

I will reinstall and see how it goes.

@point-4ward
Copy link

Will you be working towards not needing a developer API key, like before?

@robmarkcole
Copy link
Owner Author

I expect so

@point-4ward
Copy link

Ace, I'll wait for that then 👍

@zarthan
Copy link

zarthan commented Mar 30, 2018

I installed a fresh ubuntu server and then set HA up with just the hue lights and your component. I grabbed a fresh copy of the updated hue.py and added the URL to my bridge. I added the hue information to configuration.yaml and also added logger with custom_components.sensor.hue: debug.

Forgot to add platform hue to the sensors entry. So it works just fine. In too much of a hurry and not wanting to add much.

@robmarkcole
Copy link
Owner Author

@zarthan glad that is resolved, and I will close this issue and update the master branch. Cheers

@zarthan
Copy link

zarthan commented Mar 31, 2018

@robmarkcole The 0.66 release notes specifically mention Hue and component as being incompatible. I don't know how many people read release notes (at least one from where I stand) but since this is fixed, you might want to get that corrected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants