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

"Update Hue Bridge" mandatory update screen #257

Open
lukevink opened this issue Jan 2, 2022 · 30 comments
Open

"Update Hue Bridge" mandatory update screen #257

lukevink opened this issue Jan 2, 2022 · 30 comments
Labels
bug Something isn't working confirmed We know what should be done to resolve the issue duplicate This issue or pull request already exists

Comments

@lukevink
Copy link

lukevink commented Jan 2, 2022

Describe the bug

When adding the emulated bridge to the philips hue app, we are now greeted by "Update hue bridge" screen. One assumes the emulated bridge is an older version and needs to be updated somehow.

Steps to Reproduce

  1. Follow usual setup instructions
  2. Add bridge to hue app
  3. Press "link" button (inside hass.io popup)
  4. "Update Hue Bridge" mandatory update screen appears

Expected behavior

Should be able to add emulated bridge to the philips hue app without performing an update

Logs

Hardware Info:

  • Architecture (Ex: x86, ARM): aarch64
  • Addon version (Ex: stable or dev): Stable
  • OS (Ex: Windows 10, Ubuntu Buster): Hassio - core-2021.12.7
  • Hardware (Ex: PC, Raspberry Pi 1/2/3/Zero): Raspberry Pi 3

Additional context

Philips hue ios app: V4.10.0 (9396)

@lukevink lukevink added the bug Something isn't working label Jan 2, 2022
@alexyao2015 alexyao2015 pinned this issue Jan 4, 2022
@alexyao2015 alexyao2015 added the duplicate This issue or pull request already exists label Jan 4, 2022
@alexyao2015
Copy link
Member

Related issues: #165, #237, #240, #249
Related discussion: #228

@alexyao2015
Copy link
Member

The v2 API has not been implemented and thus the official Hue app is currently not supported. Other Hue compatible apps which do not require the v2 API such as Hue Essentials and others continue to work as normal.

@macfr76
Copy link

macfr76 commented Feb 3, 2022

I don't understand the answer : "The v2 API has not been implemented".

On the main Github page, it is written : "Fully emulates a "V2" HUE bridge." and "You or your family like to use the HUE app for control over ALL your lights, so even non-Zigbee/HUE lights..."

It seems it's not correct if I right understand ?

@FlorianFreudiger
Copy link

I don't understand the answer : "The v2 API has not been implemented".

On the main Github page, it is written : "Fully emulates a "V2" HUE bridge." and "You or your family like to use the HUE app for control over ALL your lights, so even non-Zigbee/HUE lights..."

It seems it's not correct if I right understand ?

If I understood correctly, the versions in "v2 API" and "V2 HUE bridge" don't refer to the same thing.
The "V2 HUE bridge" refers to the square version of the real HUE bridge which was released back in 2015.
The "v2 API" refers to the new API which was only recently announced last November.

Currently this project only emulates the v1 API and since the HUE app switched to the v2 API it's incompatible for now but you can still use other apps (or older app versions) that use the v1 API.

Until the v2 API has been implemented the readme should probably be updated to clarify the lack of v2 API support since I also mistook them as referring to the same version when I first looked into this project a few days ago...

@alexyao2015
Copy link
Member

@FlorianFreudiger is correct. The current readme is a little dated, however, if you look at the other pinned issue #265, you can see how to join the "beta" which will eventually include support for this.

@macfr76
Copy link

macfr76 commented Feb 3, 2022

Thanks for you reply, I better understand this issue between v2 and v2.

i will have a look at the beta, as I would like to try a way to keep using the Hue App with my Zigbee2MQTT network.

@dcmeglio
Copy link

dcmeglio commented Jun 2, 2022

So short story is this doesn't work anymore?

@JustinGaoF
Copy link

do we have plan to fix it ? can we find the API description so that we can fix it eventually? Update me if you got the API and need help to fix it. Like this project. Thanks.

@hiddevanbrussel
Copy link

Why is this ticket closed? Problem is still there.

@jlukas99

This comment was marked as spam.

@alvarossac
Copy link

I'm facing the same issue described here. Does someone know if there is any intention to fix it?

@milandzuris
Copy link

@alexyao2015 something new?

@FlorianFreudiger
Copy link

For everyone who needs to use V2 API apps like the official Hue App or Hue Sync there is an alternative method which is a bit more complicated to setup than this plug-and-play add-on but works well with the official apps.

The DiyHue project works similar to Home Assistant + this add-on: It acts as a Hub connecting different smart home lights solutions like Hue, other ZigBee lights, etc. which can then be interfaced via the Hue API including the official apps.
It also supports lights from Home Assistant via Home Assistant's REST API.

You can host it separately or set it up as a as a Home Assistant Addon.
If you run it on the same host make sure the ports aren't conflicting with the hass-emulated-hue add-on!

In the DiyHue web UI you can then add your Home Assistant lights using a long-lived access token you can generate in the Home Assistant user settings.

You should now be able to connect the official apps to DiyHue which will act like a proxy to your HA lights.
If a similar "Update Hue Bridge" message pops up you can change the version in the DiyHue web ui under "Bridge" (the latest version numbers are also linked on that page)

@github-actions
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 May 30, 2023
@alexyao2015 alexyao2015 added confirmed We know what should be done to resolve the issue and removed stale labels May 30, 2023
@lululombard
Copy link

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

Nope it's still broken

@computergreek

This comment was marked as spam.

@daloki83
Copy link

daloki83 commented Jul 1, 2023

For everyone who needs to use V2 API apps like the official Hue App or Hue Sync there is an alternative method which is a bit more complicated to setup than this plug-and-play add-on but works well with the official apps.

The DiyHue project works similar to Home Assistant + this add-on: It acts as a Hub connecting different smart home lights solutions like Hue, other ZigBee lights, etc. which can then be interfaced via the Hue API including the official apps. It also supports lights from Home Assistant via Home Assistant's REST API.

You can host it separately or set it up as a as a Home Assistant Addon. If you run it on the same host make sure the ports aren't conflicting with the hass-emulated-hue add-on!

In the DiyHue web UI you can then add your Home Assistant lights using a long-lived access token you can generate in the Home Assistant user settings.

You should now be able to connect the official apps to DiyHue which will act like a proxy to your HA lights. If a similar "Update Hue Bridge" message pops up you can change the version in the DiyHue web ui under "Bridge" (the latest version numbers are also linked on that page)

@FlorianFreudiger
How did you manage to get it working with HA? I'm trying to add "https://github.com/diyHue/diyHue" to the repositorie but it fails with "https://github.com/diyHue/diyHue is not a valid add-on repository"

@FlorianFreudiger
Copy link

@daloki83 Yes, that workaround has been running great for me.

DiyHue itself is a standalone platform, not a home assistant add-on.
You would host it yourself on another host or use this add-on which is basically just running DiyHue inside of an HA add-on, but you still need to configure it just as if it was running separately (see my previous comment for that).

You probably clicked on the wrong link in my original comment, the repository url in question would be https://github.com/diyhue/hassio-addon

@computergreek
Copy link

the biggest problem with trying to use diyHue is that after i finally got everything working, there was no way to get the Hue automations (Wake up, Go to sleep) to work/sync.

big dealbreaker for me

but so is this program (hass-emulated-hue) until the v2 api gets resolved it’s basically unusable

@tech2mar

This comment was marked as spam.

@Patrick1610
Copy link

If a similar "Update Hue Bridge" message pops up you can change the version in the DiyHue web ui under "Bridge" (the latest version numbers are also linked on that page)

This seems like a very easy solution for Emulated Hue? Just add this option as a configuration option and we could add the virtual bridges to the Hue apps?

@FlorianFreudiger
Copy link

If a similar "Update Hue Bridge" message pops up you can change the version in the DiyHue web ui under "Bridge" (the latest version numbers are also linked on that page)

This seems like a very easy solution for Emulated Hue? Just add this option as a configuration option and we could add the virtual bridges to the Hue apps?

The underlying issue here isn't the mismatched version number, but rather the new "v2" Hue API. Emulated Hue does not support it, DiyHue does.

You can try changing the version in the code, the official apps still won't connect.
I'm guessing some of the unofficial apps support both v1 and v2 APIs and use the version number to select which one to use, so changing it may also break those apps.

@Alexander93x

This comment was marked as spam.

@eporsche
Copy link

Does DiyHue report the correct on / off states to anyone using the HA or zigbee connection?

@FlorianFreudiger
Copy link

Does DiyHue report the correct on / off states to anyone using the HA or zigbee connection?

You mean if you connect your lights to DiyHue and then add DiyHue as a Hue Bridge in HA?
Not sure but I would assume it should work.

My workaround was the other way around: Leaving your lights connected to HA and then adding them into DiyHue so you can use the Hue apps.

@Tamas-Toth-ebola
Copy link

Does DiyHue report the correct on / off states to anyone using the HA or zigbee connection?

Sadly I had problems with that.

I had a very nicely working HA - Integrated Emulated Hue, without any problem, just to allow my Logitech - Harmony remote to control my non-Hue devices. It worked like a dream. One day, I do not remember why, I deleted my Emulated Hue device from the Harmony config, and since, I can not 'put' it back...

Some days ago I made some experiment with diyHue, but sadly without real success. My Harmony did not find the diyHue, either... but from the other side diyHue did not correctly handled my HA devices correctly because some wrong state report...

Now I'm nowhere...

@eporsche
Copy link

Does DiyHue report the correct on / off states to anyone using the HA or zigbee connection?

You mean if you connect your lights to DiyHue and then add DiyHue as a Hue Bridge in HA? Not sure but I would assume it should work.

My workaround was the other way around: Leaving your lights connected to HA and then adding them into DiyHue so you can use the Hue apps.

Actually I mean it in the same way you are doing it - adding the light bulbs from HomeAssistant directly to DiyHue so you can use them in the hue app. However when I am in the app I constantly get wrong light states. For example when I hit the light switch in Homeassistant it is not reflecting in diyHue and not in the App.

@eporsche
Copy link

Does DiyHue report the correct on / off states to anyone using the HA or zigbee connection?

Sadly I had problems with that.

I had a very nicely working HA - Integrated Emulated Hue, without any problem, just to allow my Logitech - Harmony remote to control my non-Hue devices. It worked like a dream. One day, I do not remember why, I deleted my Emulated Hue device from the Harmony config, and since, I can not 'put' it back...

Some days ago I made some experiment with diyHue, but sadly without real success. My Harmony did not find the diyHue, either... but from the other side diyHue did not correctly handled my HA devices correctly because some wrong state report...

Now I'm nowhere...

I am not familiar with Harmony devices. Didnt know they can discover Hue Bridges. There are some hints on reddit on this topic: (https://www.reddit.com/r/logitechharmony/comments/kxqjwm/harmony_hub_cant_connect_to_hue_bridge_anymore/)

@FlorianFreudiger
Copy link

FlorianFreudiger commented Feb 21, 2024

Does DiyHue report the correct on / off states to anyone using the HA or zigbee connection?

You mean if you connect your lights to DiyHue and then add DiyHue as a Hue Bridge in HA? Not sure but I would assume it should work.
My workaround was the other way around: Leaving your lights connected to HA and then adding them into DiyHue so you can use the Hue apps.

Actually I mean it in the same way you are doing it - adding the light bulbs from HomeAssistant directly to DiyHue so you can use them in the hue app. However when I am in the app I constantly get wrong light states. For example when I hit the light switch in Homeassistant it is not reflecting in diyHue and not in the App.

Oh I see, yes that appears to be quite inconsistent, they seem to need a manual refresh, only the color is updated in DiyHue after a few seconds. :/
Admittedly I've only used the Hue apps to quickly change my lights but I can see how this isn't ideal if you have some sort of widget connected to it.

@Martin-Fox
Copy link

I know it's been two years, so I assume this addon will not work anymore with Phillips Hue app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed We know what should be done to resolve the issue duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests