-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[hueemulation] All Items are discovered #5847
Comments
Having looked into the code the fix doesn't seem to be too difficult. But it seems to be a design decision having not to flag exposed items. So it seems to me like everything works as designed but you are unhappy with the design. |
How can it be working as designed? The hueemulation binding has always worked differently than this, it was an admitted gap in functionality that was planned to be corrected, and it is a breaking change. |
Excerpt from the readme:
That sounds to me like a design decision by the author of the binding. |
No. The author of the binding restricted discovery to Items with homekit tags (#654), which then evolved to Lighting, ColorLighting and Switchable tags (#946). The text that you quoted was added along with the code that changed this functionality in #5243. There's also the core automation functionality that was included in this addon in the same PR, which will eventually need to be removed... 🙄
I vote to revert to the previous tagging functionality so that users will not need to make any changes to their tags when upgrading the binding from 2.4.0 or 2.5M1. |
There were several reports that it works before approval. |
There were 4 commits after this comment where David made a change and created the v29 jar...
... but none of the subsequent commits appear to included that change. So, the reports that it was working were not based on the code that was merged. |
The hue emulation pre 2.4 will not work for long anymore. It's an incomplete buggy Philips Hue bridge V1 API emulation that was also super inefficient. It walked over all items each time a command was issued. So 1000 items means a worst case linear list traversal of 1000 items. Newer Google Homes do not support the V1 bridges and I guess Amazon will eventually also drop support. I have rewritten everything, that is true. It was a V2 API compliant, complete implementation. The 4 PRs that you have found are about some Alexa Echo Firmwares that send json without the json mimetype. The very strict jax-rs router ignored those requests, so I made the code less compliant, less strict to be compatible with more Alexas. The new code allows the Hue App to create rooms, groups, rules, and timers. Alexa does only support lights nothing more. It does not support sensors. So the sensor exposure of all sensor-like items does not affect Alexas at all. There is one thing missing to be recognised as a real Hue bridge. And that is an SSL certificate that contains the mac address in the certificate subject. All new devices and apps are using http only to request the mac address and than switch over to https.
Not by me. I don't like how core is maintained and developed, and I don't need to as an addon developer. I can always just ship all required parts myself, which I did with this service. |
closed due to inactivity |
With previous version of hueemulation, only Items with specific tags would be discovered. Since S1585, all Items will be discovered unless they have an 'internal' tag. Adding tags for managed Items is very tedious. This could also be considered a potential security risk to have all Items exposed to Alexa, especially unknowingly.
As @davidgraeff stated in early May...
IMO, this is something that should be completed before 2.5M2 is released.
The text was updated successfully, but these errors were encountered: