mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-07 16:50:30 +03:00
Add allowed users configuration
This commit is contained in:
@@ -43,6 +43,7 @@ module.exports = {
|
|||||||
name: 'Свет в коридоре',
|
name: 'Свет в коридоре',
|
||||||
room: 'Коридор',
|
room: 'Коридор',
|
||||||
type: 'devices.types.light',
|
type: 'devices.types.light',
|
||||||
|
allowedUsers: ['2'],
|
||||||
mqtt: [
|
mqtt: [
|
||||||
{
|
{
|
||||||
instance: 'on',
|
instance: 'on',
|
||||||
@@ -63,6 +64,7 @@ module.exports = {
|
|||||||
name: 'Основной свет',
|
name: 'Основной свет',
|
||||||
room: 'Гостиная',
|
room: 'Гостиная',
|
||||||
type: 'devices.types.light',
|
type: 'devices.types.light',
|
||||||
|
allowedUsers: ['2'],
|
||||||
mqtt: [
|
mqtt: [
|
||||||
{
|
{
|
||||||
instance: 'on',
|
instance: 'on',
|
||||||
@@ -89,6 +91,7 @@ module.exports = {
|
|||||||
name: 'В гостиной',
|
name: 'В гостиной',
|
||||||
room: 'Гостиная',
|
room: 'Гостиная',
|
||||||
type: 'devices.types.sensor',
|
type: 'devices.types.sensor',
|
||||||
|
allowedUsers: ['2'],
|
||||||
mqtt: [
|
mqtt: [
|
||||||
{
|
{
|
||||||
instance: 'temperature',
|
instance: 'temperature',
|
||||||
@@ -124,6 +127,7 @@ module.exports = {
|
|||||||
name: 'Розетка для цветка',
|
name: 'Розетка для цветка',
|
||||||
room: 'Гостиная',
|
room: 'Гостиная',
|
||||||
type: 'devices.types.socket',
|
type: 'devices.types.socket',
|
||||||
|
allowedUsers: ['2'],
|
||||||
mqtt: [
|
mqtt: [
|
||||||
{
|
{
|
||||||
instance: 'on',
|
instance: 'on',
|
||||||
|
Reference in New Issue
Block a user