Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@SvenVD
Last active December 30, 2021 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SvenVD/5c82acbb96dfb697e5e2d2420ab73ad9 to your computer and use it in GitHub Desktop.
Save SvenVD/5c82acbb96dfb697e5e2d2420ab73ad9 to your computer and use it in GitHub Desktop.
display1.yml
#THIS IS A YAML FILE, INDENTATION IS IMPORTANT. ALSO DO NOT USE TABS FOR INDENTATION, BUT USE SPACES
#Note force_coordinates is only available starting from rpisurv version 2.1.9
#Note2 Example is with image urls but you can do the same with camera streams,
#you can also use both image url and camera streams on one screen
#This is an example how to configure example layout 1 on a monitor with resolution 1920x1080
essentials:
screens:
- camera_streams:
- url: "https://images.rpisurv.net/example.png"
imageurl: true
force_coordinates: [600, 0, 1920, 800]
- url: "https://images.rpisurv.net/example.png"
imageurl: true
force_coordinates: [0, 0, 600, 400]
- url: "https://images.rpisurv.net/example.png"
imageurl: true
force_coordinates: [0, 400, 600, 800]
- url: "https://images.rpisurv.net/example.png"
imageurl: true
force_coordinates: [0, 800, 600, 1080]
- url: "https://images.rpisurv.net/example.png"
imageurl: true
force_coordinates: [600, 800, 1260, 1080]
- url: "https://images.rpisurv.net/example.png"
imageurl: true
force_coordinates: [1260, 800, 1920, 1080]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment