-
Notifications
You must be signed in to change notification settings - Fork 20
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
Query strings for gestalt #23
Comments
If you have a group, the group info will appear in here as well. However it's not super-useful because gen 1 doesn't support it. |
I had a look into this for my own project.
If you have an active group then |
that's how they keep track which light is which in the layout. Twinkly
internally is creating a device for the group with a master layout of all
of them. The only way to get the layout for the nested devices is to read
a section from the master layout with that offset as your start.
…On Sun, Nov 27, 2022 at 12:51 PM Patrick ***@***.***> wrote:
I had a look into this for my own project.
mode seems to have 3 values:
- none = no group
- master = main light to control
- slave = all other lights in group
If you have an active group then size will be added. This is the total
size of all the lights combined.
Additionally offset is added when mode=slave
—
Reply to this email directly, view it on GitHub
<#23 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADB6POOUL56GASMQDFLXORDWKOUR3ANCNFSM5IU5Y3SQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I only see this in the v2 api (meaning pro devices). I am unable to reproduce this on wifi consumer devices. |
In
2.8.3
(maybe earlier?) app sends requests like:/xled/v1/gestalt?filter=prod_infos&filter2=group
and a device responds withwhere
uuid
,mac
,device_name
,hw_id
were redacted by me. Alsoserial
(which seems to be new) - I kept length.Copyright seems to be bumped to this year.
The text was updated successfully, but these errors were encountered: