Здравствуйте.
Как предать в плагин telegram свое значение не img а video?
this.info("telegram","OWNER", { txt: 'Движение!!!', img: '/tmp/output.mp4'});
Сообщения trash
-
RE: Плагин Telegram
-
RE: Разработка intraHouse V5
Здравствуйте, при переходе на новую версию, лицензия сохраняется или надо покупать новую?
-
RE: Приложение для Android и iPhone
Здравствуйте. Планируется в приложение добавить функционал просмотра камер?
-
RE: Приложение для Android и iPhone
Разрешения приложению выданы, но не работает
-
RE: Приложение для Android и iPhone
@dev плагин установлен.
При нажатии не активируется.
-
RE: Приложение для Android и iPhone
Здравствуйте.
В приложении IH Smart Home, Android 10, Samsung 10e.
Не работает голосовое управление. -
RE: Плагин MQTT
@intrapro
LOG:
10.01 22:28:39.378 IH: command [ { dn: 'DIMM1', prop: 'set', val: '99' } ]
10.01 22:28:39.380 IH: send { type: 'act',
data:
[ { id: 1,
chan: 1,
desc: 'AO',
topic: 'zigbee2mqtt/lampROBOT/set',
value: 252.45,
startscene: '',
nofb: true,
act: 'set',
message: '{"state": "ON", "brightness": ${value}}',
calc_outfn: [Function: anonymous],
command: 'set' } ] }
10.01 22:28:39.390 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": ${value}}' } ]
set { DIMM1: { aval: '{"state": "ON", "brightness": ${value}}', err: 0 } }
10.01 22:28:39.394 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 252.45}' } ]
set { DIMM1: { aval: 99, err: 0 } }
10.01 22:28:39.399 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": ${value}}' } ]
set { DIMM1: { aval: '{"state": "ON", "brightness": ${value}}', err: 0 } }
10.01 22:28:39.455 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 252.45}' } ]
set { DIMM1: { aval: 99, err: 0 } }
10.01 22:28:46.789 IH: command [ { dn: 'DIMM1', prop: 'set', val: '100' } ]
10.01 22:28:46.790 IH: send { type: 'act',
data:
[ { id: 1,
chan: 1,
desc: 'AO',
topic: 'zigbee2mqtt/lampROBOT/set',
value: 254.99999999999997,
startscene: '',
nofb: true,
act: 'set',
message: '{"state": "ON", "brightness": ${value}}',
calc_outfn: [Function: anonymous],
command: 'set' } ] }
10.01 22:28:46.799 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": ${value}}' } ]
set { DIMM1: { aval: '{"state": "ON", "brightness": ${value}}', err: 0 } }
10.01 22:28:46.803 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 254.99999999999997}' } ]
set { DIMM1: { aval: 100, err: 0 } }
10.01 22:28:46.818 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": ${value}}' } ]
set { DIMM1: { aval: '{"state": "ON", "brightness": ${value}}', err: 0 } }
10.01 22:28:46.823 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 254.99999999999997}' } ]
set { DIMM1: { aval: 100, err: 0 } }
10.01 22:28:49.299 IH: command [ { dn: 'DIMM1', prop: 'on', val: '100' } ]
10.01 22:28:49.300 IH: send { type: 'act',
data:
[ { id: 1,
chan: 1,
desc: 'AO',
topic: 'zigbee2mqtt/lampROBOT/set',
value: '100',
startscene: '',
nofb: true,
act: 'on',
message: '{"state": "ON", "brightness": 255}',
command: 'on' } ] }
10.01 22:28:49.307 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 255}' } ]
set { DIMM1: { aval: 100, err: 0 } }
10.01 22:28:49.314 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 255}' } ]
set { DIMM1: { aval: 100, err: 0 } }
10.01 22:28:49.316 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 255}' } ]
set { DIMM1: { aval: 100, err: 0 } }
10.01 22:28:49.320 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "ON", "brightness": 255}' } ]
set { DIMM1: { aval: 100, err: 0 } }
10.01 22:28:50.230 IH: command [ { dn: 'DIMM1', prop: 'off' } ]
10.01 22:28:50.231 IH: send { type: 'act',
data:
[ { id: 1,
chan: 1,
desc: 'AO',
topic: 'zigbee2mqtt/lampROBOT/set',
value: 0,
startscene: '',
nofb: true,
act: 'off',
message: '{"state": "OFF"}',
command: 'off' } ] }
10.01 22:28:50.240 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "OFF"}' } ]
set { DIMM1: { aval: NaN, err: 0 } }
10.01 22:28:50.244 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "OFF"}' } ]
set { DIMM1: { aval: NaN, err: 0 } }
10.01 22:28:50.248 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "OFF"}' } ]
set { DIMM1: { aval: NaN, err: 0 } }
10.01 22:28:50.252 IH: get [ { id: 1,
topic: 'zigbee2mqtt/lampROBOT/set',
value: '{"state": "OFF"}' } ]
set { DIMM1: { aval: NaN, err: 0 } }
-
RE: Плагин MQTT
Как можно избавится от повторного отправления в топик, при подстановке значения "value"?
Невозможно нормально диммировать лампочку из икеи.
10.01.2020 19:05:57
{"state": "ON", "brightness": 254}
10.01.2020 19:05:57(-0.01 seconds)
{"state": "ON", "brightness": ${value}}
10.01.2020 19:05:56(-1.2 seconds)
{"state": "ON", "brightness": 198}
10.01.2020 19:05:56(-0.01 seconds)
{"state": "ON", "brightness": ${value}}