Очень похоже на удлинитель с 6-ю гнездами, который уже есть в модуле.
Всякие таймеры, это фича MiHome. В самом удлинителе этих параметров нет.
Модератор: immortal
Очень похоже на удлинитель с 6-ю гнездами, который уже есть в модуле.
Значит АПИ-команды отличаются. Нужно выяснять. Отпишу, как будет инфа. Нужно будет потестить.
Спасибо.
Вкл/выкл должно работать, если выбрать в модуле другую модель удлинителя. С текущим потреблением нужно разобраться. А остальные - это софтовая обработка в Михом. В МДМ своими силами делается, не модулем.
Тоже чисто софтовые фичи. Легко реализуется средствами МДМ. В модуль пихать это не целесообразно.
Ок.
Такая же проблема лечением удалением и добавлением шайбы не помогает ? Кто то еще сталкивался ? Раньше все обучалось без проблем ( 2 -3 обновления назад)ProLabs писал(а): ↑Вс фев 03, 2019 7:56 pmДоброго дня.
Подскажите плиз куда копать с MI IR Remote 360 --> Устройство корректно подхватилось модулем (прочитало токен и прочие данные), статус online, порт udp 54321 открыт на сервере, но при попытке считать ir код с кнопки пульта (Кнопка "Обучить") - высвечивает следующее сообщение: "17:52:02 Проблема с получением данных от устройства." При этом сама шайба IR 360 моргает синим светодиом (якобы считывает нажатие кнопки на пульте) Прочесал тему и в Базе знаний не нашел из-за чего может возникать данная ошибка считывания кнопок пульта.
Скриншоты? Логи?
Код: Выделить всё
10:58:03 Background search process is started
10:58:03 Starting periodic search for devices in the network (every 120 seconds)
10:56:03 Background search process is started
10:56:03 Starting periodic search for devices in the network (every 120 seconds)
10:54:03 Background search process is started
10:54:03 Starting periodic search for devices in the network (every 120 seconds)
10:54:03 Extended debug - no
Broadband discovery mode
Debug status [1]
Socked created
10:54:03 miIO-Lib debug - yes
10:54:03 DebMes debug - yes
10:54:03 Cycle debug - yes
10:54:03 Socket read timeout - 2 seconds
10:54:03 Discover period - 120 seconds
10:54:03 Bind IP - 192.168.0.110
10:54:03 Init miIO
10:54:03 Running cycle_xiaomimiio.php
Код: Выделить всё
18:58:15 0.82091600 Periodic search for devices in the network is finished
18:58:15 0.81991600 Current count of offline devices 0
18:58:15 0.81891500 Update the ip address and the token for the device 192.168.0.101
18:58:15 0.81891500 Update the ip address and the token for the device 192.168.0.104
18:58:15 0.81791500 Update the ip address and the token for the device 192.168.0.112
18:58:15 0.81691500 Update the ip address and the token for the device 192.168.0.114
18:58:15 0.81591500 Update the ip address and the token for the device 192.168.0.115
18:58:15 0.81491500 Update the ip address and the token for the device 192.168.0.100
18:58:15 0.81491500 Current count of devices 6
18:58:15 0.81391500 Reply = {"devices":["{\"devicetype\":\"04ad\",\"serial\":\"409b\",\"token\":\"d88f754475ddb9d5380588c190ec70d1\",\"ip\":\"192.168.0.100\"}","{\"devicetype\":\"03f0\",\"serial\":\"3dbb\",\"token\":\"d04128e0119e81b456a101c8e77a88c4\",\"ip\":\"192.168.0.115\"}","{\"devicetype\":\"053f\",\"serial\":\"3bc5\",\"token\":\"8a068f14ef145800c1d2a38816072ecc\",\"ip\":\"192.168.0.114\"}","{\"devicetype\":\"0349\",\"serial\":\"18bc\",\"token\":\"f89190b3fd4d027b0808d8115c63c6a9\",\"ip\":\"192.168.0.112\"}","{\"devicetype\":\"034b\",\"serial\":\"87fd\",\"token\":\"b0626e05cb41eb5a9306b83cc422c353\",\"ip\":\"192.168.0.104\"}","{\"devicetype\":\"03ed\",\"serial\":\"f50a\",\"token\":\"a43fed23ede046286f1a38b0d2199860\",\"ip\":\"192.168.0.101\"}"]}
18:58:15 0.81391500 End miIO-discover command
18:58:04 0.88429000 Run miIO-discover command
18:58:04 0.88229000 Starting periodic search for devices in the network
18:56:15 0.20501700 Periodic search for devices in the network is finished
18:56:15 0.20401700 Current count of offline devices 0
18:56:15 0.20401700 Update the ip address and the token for the device 192.168.0.112
18:56:15 0.20301700 Update the ip address and the token for the device 192.168.0.114
18:56:15 0.20201700 Update the ip address and the token for the device 192.168.0.115
18:56:15 0.20101700 Update the ip address and the token for the device 192.168.0.104
18:56:15 0.20001600 Update the ip address and the token for the device 192.168.0.101
18:56:15 0.19901600 Update the ip address and the token for the device 192.168.0.100
18:56:15 0.19901600 Current count of devices 6
18:56:15 0.19801600 Reply = {"devices":["{\"devicetype\":\"04ad\",\"serial\":\"409b\",\"token\":\"d88f754475ddb9d5380588c190ec70d1\",\"ip\":\"192.168.0.100\"}","{\"devicetype\":\"03ed\",\"serial\":\"f50a\",\"token\":\"a43fed23ede046286f1a38b0d2199860\",\"ip\":\"192.168.0.101\"}","{\"devicetype\":\"034b\",\"serial\":\"87fd\",\"token\":\"b0626e05cb41eb5a9306b83cc422c353\",\"ip\":\"192.168.0.104\"}","{\"devicetype\":\"03f0\",\"serial\":\"3dbb\",\"token\":\"d04128e0119e81b456a101c8e77a88c4\",\"ip\":\"192.168.0.115\"}","{\"devicetype\":\"053f\",\"serial\":\"3bc5\",\"token\":\"8a068f14ef145800c1d2a38816072ecc\",\"ip\":\"192.168.0.114\"}","{\"devicetype\":\"0349\",\"serial\":\"18bc\",\"token\":\"f89190b3fd4d027b0808d8115c63c6a9\",\"ip\":\"192.168.0.112\"}"]}
18:56:15 0.19801600 End miIO-discover command
18:56:04 0.62741200 Run miIO-discover command
18:56:04 0.62541200 Starting periodic search for devices in the network
18:54:14 0.94313800 Periodic search for devices in the network is finished
18:54:14 0.94313800 Current count of offline devices 0
18:54:14 0.94213800 Update the ip address and the token for the device 192.168.0.112
18:54:14 0.94113800 Update the ip address and the token for the device 192.168.0.115
18:54:14 0.93813800 Update the ip address and the token for the device 192.168.0.114
18:54:14 0.93713800 Update the ip address and the token for the device 192.168.0.104
18:54:14 0.93613800 Update the ip address and the token for the device 192.168.0.101
18:54:14 0.93513800 Update the ip address and the token for the device 192.168.0.100
18:54:14 0.93513800 Current count of devices 6
18:54:14 0.93413800 Reply = {"devices":["{\"devicetype\":\"04ad\",\"serial\":\"409b\",\"token\":\"d88f754475ddb9d5380588c190ec70d1\",\"ip\":\"192.168.0.100\"}","{\"devicetype\":\"03ed\",\"serial\":\"f50a\",\"token\":\"a43fed23ede046286f1a38b0d2199860\",\"ip\":\"192.168.0.101\"}","{\"devicetype\":\"034b\",\"serial\":\"87fd\",\"token\":\"b0626e05cb41eb5a9306b83cc422c353\",\"ip\":\"192.168.0.104\"}","{\"devicetype\":\"053f\",\"serial\":\"3bc5\",\"token\":\"8a068f14ef145800c1d2a38816072ecc\",\"ip\":\"192.168.0.114\"}","{\"devicetype\":\"03f0\",\"serial\":\"3dbb\",\"token\":\"d04128e0119e81b456a101c8e77a88c4\",\"ip\":\"192.168.0.115\"}","{\"devicetype\":\"0349\",\"serial\":\"18bc\",\"token\":\"f89190b3fd4d027b0808d8115c63c6a9\",\"ip\":\"192.168.0.112\"}"]}
18:54:14 0.93413800 End miIO-discover command
18:54:04 0.36253300 Run miIO-discover command
18:54:04 0.36053300 Starting periodic search for devices in the network
18:52:15 0.21529000 Periodic search for devices in the network is finished
18:52:15 0.21429000 Current count of offline devices 0
18:52:15 0.21429000 Update the ip address and the token for the device 192.168.0.115
18:52:15 0.21329000 Update the ip address and the token for the device 192.168.0.114
18:52:15 0.21229000 Update the ip address and the token for the device 192.168.0.112
18:52:15 0.21129000 Update the ip address and the token for the device 192.168.0.104
18:52:15 0.21029000 Update the ip address and the token for the device 192.168.0.101
18:52:15 0.21029000 Update the ip address and the token for the device 192.168.0.100
18:52:15 0.20929000 Current count of devices 6
18:52:15 0.20829000 Reply = {"devices":["{\"devicetype\":\"04ad\",\"serial\":\"409b\",\"token\":\"d88f754475ddb9d5380588c190ec70d1\",\"ip\":\"192.168.0.100\"}","{\"devicetype\":\"03ed\",\"serial\":\"f50a\",\"token\":\"a43fed23ede046286f1a38b0d2199860\",\"ip\":\"192.168.0.101\"}","{\"devicetype\":\"034b\",\"serial\":\"87fd\",\"token\":\"b0626e05cb41eb5a9306b83cc422c353\",\"ip\":\"192.168.0.104\"}","{\"devicetype\":\"0349\",\"serial\":\"18bc\",\"token\":\"f89190b3fd4d027b0808d8115c63c6a9\",\"ip\":\"192.168.0.112\"}","{\"devicetype\":\"053f\",\"serial\":\"3bc5\",\"token\":\"8a068f14ef145800c1d2a38816072ecc\",\"ip\":\"192.168.0.114\"}","{\"devicetype\":\"03f0\",\"serial\":\"3dbb\",\"token\":\"d04128e0119e81b456a101c8e77a88c4\",\"ip\":\"192.168.0.115\"}"]}