The schema defines the following properties:
Settings related to authenticaion and streaming to Twitch.
Properties of the twitch
object:
Options related to the Twitch chat.
Properties of the chat
object:
OAuth token for chat authentication.
OAuth refresh token used in case of token expiration.
Username to use for the chat bot.
Twitch channel that the bot will join.
Default lifetime for a message in milliseconds.
Options related to the Twitch stream.
Properties of the stream
object:
Stream key provided by Twitch for stream authentication.
Framerate in frames per second to use for the stream.
Twitch server to use for the stream connection. The default value is probably fine, but you may want a closer server to reduce latency.
File name of the video device you are streaming from
ffmpeg encoding preset
Target bitrate for ffmpeg stream output
Resolution of camera input
Any desired ffmpeg video filters
List of devices to pair with and control
The object is an array with all elements of the type object
.
The array object has the following properties:
Name of the hub. This is can be discovered and set in the Powered Up mobile app or using our tpu-rename-hub
script.
Port letter the device is attached to
Word list that will cause chat messages to apply to this device
The object is an array with all elements of the type string
.
Actions to apply to this device from chat messages
The object is an array with all elements of the type object
.
The array object has the following properties:
Words that will trigger this action from a chat message
The object is an array with all elements of the type string
.
node-poweredup method to call on this device
Default value to pass as the first argument to the method
Value multiplier. This defaults to 1.
Lifetime in milliseconds for this action
If true, the value for the method call will be summed with the current average