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

Support free@home scenes and light groups #38

Closed
pgerke opened this issue Dec 11, 2022 · 9 comments · Fixed by #39
Closed

Support free@home scenes and light groups #38

pgerke opened this issue Dec 11, 2022 · 9 comments · Fixed by #39
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@pgerke
Copy link
Owner

pgerke commented Dec 11, 2022

As a user I want to trigger scenes that have been created in free@home.

NB: In the current implementation of free@home, the scenes are treated as pseudo devices. It is not possible to find out via the local API which free@home devices are included in a scene. So with the implementation of this ticket, it will be possible to trigger scenes like pressing a button.

@pgerke pgerke added the enhancement New feature or request label Dec 11, 2022
pgerke added a commit that referenced this issue Dec 11, 2022
@pgerke pgerke changed the title Support free@home scenes Support free@home scenes and light groups Dec 11, 2022
@pgerke pgerke self-assigned this Dec 11, 2022
@pgerke
Copy link
Owner Author

pgerke commented Dec 11, 2022

Extended the scope of the ticket to light groups.

@pgerke
Copy link
Owner Author

pgerke commented Dec 11, 2022

Published a pre-release version to npm: https://www.npmjs.com/package/homebridge-freeathome-local-api/v/1.5.0-pre.1

Scenes are working nicely, light groups not so much. The state of a light group is not reflected correctly on the panel. This needs some additional work I guess... Unit tests also need to be extended.

@pgerke pgerke linked a pull request Dec 11, 2022 that will close this issue
pgerke pushed a commit that referenced this issue Dec 11, 2022
@korneliuscode
Copy link

I tried the new version, works great. The problem is just that the devices don’t show up in the HomeKit app.

@pgerke
Copy link
Owner Author

pgerke commented Dec 30, 2022

That's strange... The scenes and light groups should show up in the default room. Works for me at least...
image

@floriangrotz
Copy link

Maybe cross connected to #48 - as Scenes have the prefix FFF

@korneliuscode
Copy link

Given it shows up on homebridge I assume an issue between homebridge and HomeKit. Therefore should work in the plug-in. Perhaps I have to reinstall every time new devices are added (not owning a HomePod).

@pgerke pgerke added this to the v1.5 milestone Jan 4, 2023
pgerke added a commit that referenced this issue Jan 6, 2023
pgerke added a commit that referenced this issue Jan 6, 2023
@pgerke pgerke closed this as completed in #39 Jan 6, 2023
@pgerke pgerke reopened this Jan 6, 2023
@pgerke
Copy link
Owner Author

pgerke commented Jan 6, 2023

Scenes are done in #39, light groups still to be done.

@pgerke pgerke linked a pull request Feb 26, 2023 that will close this issue
@pgerke
Copy link
Owner Author

pgerke commented Feb 26, 2023

I'm giving up on the light groups. When I'm sending the same updates I'm recieving when I'm triggering the light groups from the free@home app from Apple Home, the lights are going on, but the light group remains off in free@home. This leads to inconsistent states and very bad user experience in mixed operation. I can only assume that some magic is happening in the SysAP that is not visible on the local API.

@pgerke pgerke closed this as completed Feb 26, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
3 participants