Files
streamdeck-plugin-wol/awake/src/plugin.ts
T

13 lines
481 B
TypeScript
Raw Normal View History

2025-12-28 03:24:26 +01:00
import streamDeck, { LogLevel } from "@elgato/streamdeck";
import { IncrementCounter } from "./actions/increment-counter";
// We can enable "trace" logging so that all messages between the Stream Deck, and the plugin are recorded. When storing sensitive information
streamDeck.logger.setLevel(LogLevel.TRACE);
// Register the increment action.
streamDeck.actions.registerAction(new IncrementCounter());
// Finally, connect to the Stream Deck.
streamDeck.connect();