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

Please don't let this project die... #524

Closed
cibrenvenuti opened this issue Dec 12, 2023 · 10 comments
Closed

Please don't let this project die... #524

cibrenvenuti opened this issue Dec 12, 2023 · 10 comments
Labels
enhancement New feature or request stale

Comments

@cibrenvenuti
Copy link

Description

This project was one of the best, one that had been anticipated for a long time, one of the most useful Home Assistant addons. Until it worked... It's a real shame to see it die. There's still a lot of interest around it; it would be great if the one who started it or someone else continued the development. Please don't make me go back to using the cursed Philips bridge just to have the entertainment of Hue Essentials! 😞

Use Case

As above

Any other information that may be helpful

No response

@cibrenvenuti cibrenvenuti added the enhancement New feature or request label Dec 12, 2023
@cibrenvenuti
Copy link
Author

cibrenvenuti commented Dec 14, 2023

I understood, I think: this project is dead. 😞

@alexyao2015
Copy link
Member

The project isn't dead, but it's been on my back burner for quite sometime. If you're wondering when you'll see the v2 update, it'll probably be sometime. I haven't been able to put a whole lot of time/interest to put into side projects unfortunately.

@egore
Copy link

egore commented Dec 21, 2023

I've tried looking into the v2 API and what would be needed to implement this. diyHue implements the v2 API (see https://github.com/diyhue/diyHue/blob/master/BridgeEmulator/HueEmulator3.py#L76) and it didn't look to complicated. Unfortunately I was wrong and my limited python skills prevented me from getting far enough.

I understood that you need to call /auth/v1 once to obtain your authorized username, which needs to be passed to any subsequent call as header hue-application-key. I've stubbed out some methods but currently failed at testing it locally.

Is there a documentation on how to run it locally for testing purposes?

I've also came up with an openapi generator, that will parse the non-public documentation of the developer portal and produce a standard openapi.yaml from it: https://gitlab.com/egore/hue-openapi-gen

@egore
Copy link

egore commented Dec 21, 2023

I've uploaded my (incomplete and untested) implementation of the GET /clip/v2/resource/light API to https://github.com/egore/hass-emulated-hue

@alexyao2015
Copy link
Member

In #490 , it seems like someone did some work on the v2 API as well. I haven't taken a look at it but it might be worth looking into if you are working on this.

@cdjm
Copy link

cdjm commented Jan 2, 2024

This project could act as a plug & play addon to home assistant just as the included one did before.
There are a lot of guys around me who are just waiting for an easy way to make their lights avilable to Alexa without having to configure every light twice.

I think there is also a lot achieveable besides the upgrade to the v2 API.
At the moment there are still some quirks with the light configuration as hass_emulated_hue replies with a quite general result for bulb types. Reviewing this could maybe make the support for sensors possible.

Also fixing the model-id (see my PR) makes Hue Essential a lot more happy than listing a bunch of invalid bulbs.

I would happily try to help but as a python noob I am still trying to dig into your code :-(
At least I have all the necessary devices (Bulbs [Hue, Ikea, innr, Lightify], Sensors, Thermostats) and bridges (Hue Bridge, Conbee, Zigbee2MQTT) here to do some testing and send you some API replies for hardware if necessary.

In any case I would gladly help.

@BlackTurtle123
Copy link

Did someone end up working on this?

@egore
Copy link

egore commented Jan 22, 2024

The best solution from my perspective still is #490, though I did not yet have the time to look into it. Based on my (limited) knowledge the implementation seems usable enough.

@egore
Copy link

egore commented Feb 18, 2024

For the time PR #490 is not merged, you can use the following repository to install this on your installation: https://github.com/cvele/hassio-repo. Please note that this is not the official addon.

This still is not enough to get the hue app running, as it still insists on updating the bridge. Likely in cvele's fork the version number needs to be bumped to "1.62.1962154010" (for which I have created a PR at his repo cvele#2)

Copy link
Contributor

This issue has been marked as stale due to no activity and will be closed in 7 days.

@github-actions github-actions bot added the stale label Apr 19, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

5 participants