From 91eaf86b836aa6633317ba58dd24dd2cdebe59fb Mon Sep 17 00:00:00 2001 From: Evgenii Abramov Date: Tue, 30 Mar 2021 23:41:07 +0300 Subject: [PATCH] Add allowed users configuration --- config.orig.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.orig.js b/config.orig.js index 141e15c..9078fc4 100644 --- a/config.orig.js +++ b/config.orig.js @@ -43,6 +43,7 @@ module.exports = { name: 'Свет в коридоре', room: 'Коридор', type: 'devices.types.light', + allowedUsers: ['2'], mqtt: [ { instance: 'on', @@ -63,6 +64,7 @@ module.exports = { name: 'Основной свет', room: 'Гостиная', type: 'devices.types.light', + allowedUsers: ['2'], mqtt: [ { instance: 'on', @@ -89,6 +91,7 @@ module.exports = { name: 'В гостиной', room: 'Гостиная', type: 'devices.types.sensor', + allowedUsers: ['2'], mqtt: [ { instance: 'temperature', @@ -124,6 +127,7 @@ module.exports = { name: 'Розетка для цветка', room: 'Гостиная', type: 'devices.types.socket', + allowedUsers: ['2'], mqtt: [ { instance: 'on',