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

Group key numbers #6

Closed
Rodeveer opened this issue Jun 16, 2019 · 4 comments
Closed

Group key numbers #6

Rodeveer opened this issue Jun 16, 2019 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@Rodeveer
Copy link

I had a question regarding the numbers that are as key mentioned in the retrieval of the groups.
For instance I've got the following list already:

{
    5850: "status"
    5851: "brightness"
    9001: "name"
    9002: "???"
    9003: "group_id"
    9018: { // items in group
        15002: {…} // 15002 is what then? Sub group? No endpoint for that
    }
    9039: "???"
    9108: "???"
}

Maybe you can clearify some data? It's sad that there's no proper documentation for this yet.

@glenndehaan glenndehaan self-assigned this Jun 17, 2019
@glenndehaan glenndehaan added the question Further information is requested label Jun 17, 2019
@glenndehaan
Copy link
Owner

I will try to see how groups work tonight. Didn't use them before but let's see...

@Rodeveer
Copy link
Author

I'm really curious what you think and what ur opinion is about naming.
Currently i'm working on a Lumen framework with ReactJS as front. Quite interesting I have to say :)

@glenndehaan
Copy link
Owner

Sorry for the late reaction but I have pushed an update to the documentation: https://github.com/glenndehaan/ikea-tradfri-coap-docs#codes

This should contain some answers. But here is some small context below:

{
    5850 // On/Off status
    5851 // Brightness
    9001 // Name
    9002 // Creation date (unix epoch)
    9003 // Instance/group ID
    9018: { // Accessory Link's in group (Remotes. Please note per group IKEA only allows one 'master' remote)
        15002 // Default Remote ID
    }
    9039 // Scene ID
    9108 // Internal ID (Maybe? Didn't find any use for it.)
}

@Rodeveer
Copy link
Author

Also sorry for my late response! Really nice documentation, we hate to write it, love it when its there! Good job 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants