stephen776 / ZoomOnAir

handle zoom meeting webhooks

Home Page:zoom-on-air.stephen776.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZoomOnAir

A zoom webhook handler that toggles Wyze smart lights/plugs on and off when you enter and exit meetings. This code is intended to be deployed as a serverless function on Vercel

Setup notes

You can fork this repo and point your own vercel app at the forked code.

Wyze Setup

This only works with Wyze smart Plugs or Bulbs. The code looks for any plug/bulb that have names prefixed with zoom_. You can have as many plugs/bulbs named with the prefix as you'd like. All of them will be toggled according to the zoom events.

Zoom Setup

In Zoom, you will need to have Developer permissions for your account. Set up a "Webhook Only" app here. Configure the "Event notification endpoint URL" with the url to your vercel app (see following step). Select the following for the "Event Types":

  • Participant/Host joined meeting
  • Participant/Host left meeting

Note the "Verification Token" to be used in vercel setup below.

Vercel Setup

Point vercel at your forked repo. Note the app URL to be used for Zoom setup. Configure the following environment variables as Secrets:

  • ZOOM_WEBHOOK_TOKEN (The token generated by zoom webhook app)
  • ZOOM_PARTICIPANT (The email address you use for your zoom account)
  • WYZE_USERNAME (Username for your Wyze account)
  • WYZE_PASSWORD (The password for your Wyze account)

About

handle zoom meeting webhooks

zoom-on-air.stephen776.vercel.app


Languages

Language:TypeScript 100.0%