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

Deprecate this Custom Integration when push access is implemented for sensors and remotes in HA Core #22

Closed
azogue opened this issue May 15, 2021 · 10 comments · Fixed by #24
Assignees

Comments

@azogue
Copy link
Owner

azogue commented May 15, 2021

Very interesting changes have been made recently in relation to how to talk to the Hue Bridge, so it seems that we will soon have ⚡️local push access⚡️ to the bridge, and therefore no more polling.

In that scenario, this integration/dirty-hack loses all its meaning, fortunately, so it will not be necessary anymore.

When the HA Core version with these changes is released, and verified, this repository will be archived and removed from HACS

🎉 Many thanks to everyone involved in these changes, especially the fantastic team at HA / NabuCasa 👏👏

@s3frank
Copy link

s3frank commented Jul 8, 2021

Can I ask how you can see if this is indeed working? I was using the fasthue hack / workaround set at 1s and my switches were very responsive. Now since upgrading and removing the fasthue component it is several times slower response when pressing buttons on the HUE taps and remotes.

I am running core-2021.7.1

@azogue
Copy link
Owner Author

azogue commented Jul 9, 2021

Hi @s3frank,

You are totally right! it isn't working, apparently 🤨

I could swear that, when I tried it with the dev branch of HA Core (> 1 month ago), when listening to hue_event in dev-tools->events, they were coming instantly (= pushed from bridge), but now I'm checking it from my production HA (with 2021.6 yet), and it looks like it's using the old polling each 5s 😢 ... I'll try to investigate a bit more and dive in the code to see what is happening. Maybe the push access is not enabled for sensors/remotes in the release version yet 🤷

I'm not sure if this integration could work as it is after 2021.6 (there were reported errors about it in #23 (comment)), so I don't think a reinstall would work :(

@s3frank
Copy link

s3frank commented Jul 9, 2021 via email

@imregmelig
Copy link

It seems to me the custom integration works better than what's in HA ATM. Would be nice to have some sort of settings option in the Hue integration to see the status of the polling/push messages.

@s3frank
Copy link

s3frank commented Jul 29, 2021

@azogue were you able to figure out what is wrong? I have been upgrading to the point release hoping to see it get fixed but so far still seems to be slow at like multiple seconds and it's causing me issues at times. My wife and kids pressing a 2nd time before the first event is triggered, that type of thing.

@azogue
Copy link
Owner Author

azogue commented Jul 30, 2021

@s3frank,

were you able to figure out what is wrong?

I'm on holidays, so not much time in front of the computer these days 😝

You are totally right! it isn't working, apparently 🤨

I could swear that, when I tried it with the dev branch of HA Core (> 1 month ago), when listening to hue_event in dev-tools->events, they were coming instantly (= pushed from bridge), but now I'm checking it from my production HA (with 2021.6 yet), and it looks like it's using the old polling each 5s

I just tried it again using the upstream/rc branch of HA Core, and apparently it is included there, so I suppose it will be included in 2021.8.0 (which will be released next wednesday, I think). Good things take time 😊

If you want to try it yourself, and are in a hurry, I think the beta channel should work.
In my simple test, I used the dev-tools->Event listener, listening to hue_event, in both machines: production with 2021.7.3, and the dev machine running rc branch. In 2021.8.0b4 the push access is clearly enabled, as events from a Hue remote come instantly ⚡️

@s3frank
Copy link

s3frank commented Jul 30, 2021 via email

@s3frank
Copy link

s3frank commented Aug 9, 2021 via email

@dasb00ter
Copy link

On home assistant 2021.8.4. Response time seems slowish for my hue Motion sensors. How can I test? Wave my hands and check event listener? I don't have any buttons just the motion sensors.

@azogue
Copy link
Owner Author

azogue commented Aug 29, 2021

On home assistant 2021.8.4. Response time seems slowish for my hue Motion sensors. How can I test? Wave my hands and check event listener? I don't have any buttons just the motion sensors.

Hi @dasb00ter, quickest way is to use a cheap Hue dimmer switch, as you control the trigger with your finger 🤣, but if you only have motion sensors, I suppose the hand-waving is the only way 😅

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