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

Get list of scene objects through MQTT #7

Open
nampereira opened this issue Apr 7, 2021 · 1 comment
Open

Get list of scene objects through MQTT #7

nampereira opened this issue Apr 7, 2021 · 1 comment

Comments

@nampereira
Copy link
Contributor

Send a query "object" to e.g.: realm/s/public/scene-name/persist and get back a list of the objects in a scene. Support selector for scene-options.

@hi-liang
Copy link
Member

Working as of 98d8ece

Is currently not limited to ...scene-name/persist

PUBLISH: '{"object_id":"myUniqueIdentifier","action":"getPersist","type":"object","data":{}}'

returns:

{"action":"returnPersist","object_id":"myUniqueIdentifier","data":[{"object_id":"origin","attributes":{"object_type":"box","width":1,"height":1,"depth":1,"position":{"x":0,"y":5,"z":0},"rotation":{"x":0,"y":0,"z":0},"material":{"color":"#7f7f7f"}},"type":"object","updatedAt":"2021-04-22T17:50:19.151Z","createdAt":"2021-04-22T17:49:33.916Z"}]}

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

No branches or pull requests

2 participants