mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-07 14:53:38 +00:00
set status to "ok" when data is received
devices won't draw unless status is "ok"
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user