From e79dbf5c65404803628b5ebbdc78e0a68ff771c4 Mon Sep 17 00:00:00 2001 From: sparks-alec Date: Mon, 28 Oct 2024 04:15:33 -0400 Subject: [PATCH] set status to "ok" when data is received devices won't draw unless status is "ok" --- plugins/livestream-studio/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/livestream-studio/main.js b/plugins/livestream-studio/main.js index fa6eb1a..5778165 100644 --- a/plugins/livestream-studio/main.js +++ b/plugins/livestream-studio/main.js @@ -82,6 +82,8 @@ exports.update = function update(device, _document, updateType, data) { exports.data = function data(_device, msg) { const device = _device; + this.deviceInfoUpdate(device, 'status', 'ok'); + const packets = msg.toString().split('\n'); packets.forEach((packet) => {