cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom Room Control rules to turn off projector after meeting

jsnipes
Newcomer
Newcomer

I've got the controls working on the Zoom controller to turn the projector on and off manually, but I'm trying to create rules to turn the projector off after a meeting has concluded and I can't for the life of me get it to work. I tried using the example JSON as a template to edit my room JSON, but it kept throwing syntax errors.

Here's my JSON (Edited out anything identifying):

 

{
  "about": {
    "app": "Org",
    "version": "V1",
    "url": "website",
    "created": "Wed, 01 Nov 2023 20:29:36 GMT"
  },
  "adapters": [
    {
      "model": "GenericNetworkAdapter",
      "ip": "tcp://ipaddress:port",
      "ports": [
        {
          "id": "projector",
          "name": "Projector Power Control",
          "methods": [
            {
              "id": "power",
              "name": "Power Control",
              "command": "op power.%",
              "params": [
                {
                  "id": "poweron",
                  "name": "Power On",
                  "value": "on"
                },
                {
                  "id": "poweroff",
                  "name": "Power Off",
                  "value": "off"
                }
              ],
              "type": "actions"
            }
          ]
        }
      ]
    }
  ],
  "styles": [
    "1.icon=icon_projector"
  ],
  "rules": {
    "meeting_started": [],
    "meeting_ended": [
      "projector.power.off"
    ],
    "zr_meeting_ring_started": [],
    "zr_meeting_ring_ended": [
      "projector.power.off"
    ],
    "microphone_muted": [],
    "microphone_unmuted": [],
    "video_started": [],
    "video_stopped": [],
    "operation_time_started": [],
    "operation_time_ended": [
      "projector.power.off"
    ]
  }
}

 

1 ACCEPTED SOLUTION

bstrelko
Community Champion | Customer
Community Champion | Customer

If you're running into syntax errors (and not functional / communication errors), I'd suggest starting with Control Concepts' [generously] free ZR Room Controls JSON generator - this should give you clean syntax and just allow you to plug in the necessary values and/or modify after the fact:

 

https://controlconcepts.net/zoom/

 

If you're still having issues after trying the generator, send me a DM and I can review your JSON file.

View solution in original post

2 REPLIES 2

bstrelko
Community Champion | Customer
Community Champion | Customer

If you're running into syntax errors (and not functional / communication errors), I'd suggest starting with Control Concepts' [generously] free ZR Room Controls JSON generator - this should give you clean syntax and just allow you to plug in the necessary values and/or modify after the fact:

 

https://controlconcepts.net/zoom/

 

If you're still having issues after trying the generator, send me a DM and I can review your JSON file.

This was incredible! Thank you so much for this tool. Absolutely solved my issue.