Skip to content

A starting place for a new JavaScript Stream Deck plugin.

License

Notifications You must be signed in to change notification settings

TheBoatyMcBoatFace/com.boaty.govee

 
 

Repository files navigation

StreamDeck+ Govee Plugin

A plugin to control Govee lighgts via Gials

Actions

Possible Events can be found in Elgato's Docs

Action Controls
touchTap Cycle Colors
dialPress On Off
dialRotate Brightness

Stream Deck Plugin Template

The Stream Deck Plugin Template is a template to let you get started quickly when writing a JavaScript plugin for Stream Deck. Stream Deck Plugin Template requires Stream Deck 6.0 or later.

Description

Stream Deck Plugin Template is a complete plugin that shows you how to

  • load and save settings using Stream Deck's persistent store
  • setup and communicate with the Property Inspector
  • pass messages directly from Property Inspector to the plugin (and vice versa)
  • localize your Property Inspector's UI to another language

Features

  • code written in Javascript
  • cross-platform (macOS, Windows)
  • localization support
  • styled Property Inspector included
  • Property Inspector contains all required boilerplate code to let you instantly work on your plugin's code.

Quick Start Guide

A short guide to help you get started quickly.

Clone the repo

git clone https://github.com/elgatosf/streamdeck-plugin-template

Replace Name

Rename the folder as well as any references.

com.boaty.govee with my.domain.plugin-name

Get the latest library

Be sure .gitmodules has been updated to match your new folder name my.domain.plugin-name and then pull the latest libraries.

git submodule init && git submodule update

Start Coding

You can get started in app.js!

const myAction = new Action("com.boaty.govee.action");

/**
 * The first event fired when Stream Deck starts
 */
$SD.onConnected(
  ({ actionInfo, appInfo, connection, messageType, port, uuid }) => {
    console.log("Stream Deck connected!");
  }
);

myAction.onKeyUp(({ action, context, device, event, payload }) => {
  console.log("Your key code goes here!");
});

myAction.onDialRotate(({ action, context, device, event, payload }) => {
  console.log("Your dial code goes here!");
});

About

A starting place for a new JavaScript Stream Deck plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.3%
  • JavaScript 38.7%