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

[Request]: Angle and zoom level predefined #109

Closed
raffistef opened this issue Oct 3, 2022 · 4 comments · Fixed by #188
Closed

[Request]: Angle and zoom level predefined #109

raffistef opened this issue Oct 3, 2022 · 4 comments · Fixed by #188
Labels
type/feature-request New feature or request

Comments

@raffistef
Copy link

It would be very great to be able to load the 3D view with a predined angle and zoom level defined by a variable in grafana.

@raffistef raffistef added the type/feature-request New feature or request label Oct 3, 2022
@hwandersman
Copy link
Collaborator

There are new features coming Nov 17th that will allow you to define multiple camera views in a scene and select one as the default in a Grafana SceneViewer panel.

@raffistef
Copy link
Author

Thank you for your answer. It will be the release v1.2.2?

@hwandersman
Copy link
Collaborator

This is in the 1.3.0 release. We support predefining cameras: https://docs.aws.amazon.com/iot-twinmaker/latest/guide/scenes-camera.html

You can set a default camera in the settings of the Scene Panel via a template variable with the name of the camera you defined in your scene.

@raffistef
Copy link
Author

Thank you for your answer.

I am trying to set a default camera in the settings of the Scene Panel via a template variable but it doesn't load the view with a specific camera.

By the way, as you can see on my screenshots, in the entity variable name configuration, I can see the value of the variables
entity_variable
But in the active camera variable name configuration, I cannot see the value of the variables!
action_camera

I am pretty sure that it worked in the previous version of the pluging (v1.2.1).
Io you know if there is a bug from the v1.3.0 or I am wrong in the configuration?

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants