jayqizone / homebridge-mi-heatercooler Goto Github PK
View Code? Open in Web Editor NEWMi / Aqara AC partner plugin for Homebridge
License: MIT License
Mi / Aqara AC partner plugin for Homebridge
License: MIT License
I have a discussion group on HomeBridge, would you like to join in the discussion?
Hello,
My Mitsubishi AC can’t operated with Mi AC partner. Can you provide which brand to setup in template.json?
Hi
Nice work on the homebridge plugin. This is the only one I managed to get to control my AC. It works brilliantly when I use the Home app. However I am having some issues when I try to use Siri to control the temperature. Regardless of what temperature I set, it always sets to 4%. Would you mind having look? Also I can't seem to get the sensor ID.
When I send the command
miio control 192.168.42.200 get_device_prop '["lumi.0","device_list"]'
I get this
INFO Attempting to invoke get_device_prop on 192.168.42.200
ERROR The method get_device_prop is not available
Please find screenshots in the links: https://imgur.com/a/kxr4gMM
输入这段代码后报错
miio --control 192.168.5.66 --method get_device_prop --params '["lumi.0", "device_list"]'
报错
ERROR Can't connect to device, token could not be found
0|homebridge | [2019-3-13 21:33:49] [空调] { Error: (null) 0|homebridge | at Object.reject (/usr/lib/node_modules/homebridge-mi-heatercooler/node_modules/miio/lib/device.js:217:13) 0|homebridge | at Device._onMessage (/usr/lib/node_modules/homebridge-mi-heatercooler/node_modules/miio/lib/device.js:108:8) 0|homebridge | at emitTwo (events.js:126:13) 0|homebridge | at Socket.emit (events.js:214:7) 0|homebridge | at UDP.onMessage (dgram.js:659:8) code: -1 }
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","10"],"id":6301}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","10"],"id":6302}
<- 192.168.124.4 data= N/A
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","10"],"id":6303}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6304}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6305}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6306}
<- 192.168.124.4 data= N/A
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6307}
<- 192.168.124.4 data= {"result":["ok"],"id":6308}
<- 192.168.124.4 data= {"result":["010500970000297001","011031160100002970","9"],"id":6309}
<- 192.168.124.4 data= {"result":["010500970000297001","011031160100002970","10"],"id":6310}
<- 192.168.124.4 data= {"result":["010500970000297001","011031160100002970","10"],"id":6311}
<- 192.168.124.4 data= N/A
<- 192.168.124.4 data= {"result":["ok"],"id":6312}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6313}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6314}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","9"],"id":6315}
<- 192.168.124.4 data= {"result":["010500970000297001","010031160100002970","7"],"id":6316}
sensorId
humidity-temperature sensor (bound to your AC partner) id. runmiio --control yourACPartnerIP --method get_device_prop --params '["lumi.0", "device_list"]'
to get it (without 'lumi.' prefix)
miio --control 192.168.1.19 --method get_device_prop --params '["lumi.0", "device_list"]'
Not enough non-option arguments: got 0, need at least 1
miio control 192.168.1.19 get_device_prop --params '["lumi.0", "device_list"]'
INFO Attempting to invoke get_device_prop on 192.168.1.19
ERROR The method get_device_prop is not available
如题,困扰了我很久最后还是向你求助了,就是想不明白抓到的包的规律,可以帮我看看怎么添加到模板中吗
以下是我抓到的空调码
海信14模板
auto: "0100004838123111010083060401000080000000200000A500010000300839"
close::"01000048380131120100830604020000800000000000008600010000200829"
cool:
30:"010000483811311e0100830604C20000800000002000006600010000300839",
29:"010000483811311d1100830600B2000080000000200000120002000030083A",
28 "010000483811311c1100830600A2000080000000200000020002000030083A",
27:"010000483811311b110083060092000080000000200000320002000030083A",
26:"010000483811311a110083060082000080000000200000220002000030083A",
25:"0100004838113119110083060072000080000000200000D20002000030083A",
24:"0100004838113118110083060062000080000000200000C20002000030083A",
23:"0100004838113117110083060052000080000000200000F20002000030083A",
22:"0100004838113116110083060042000080000000200000E20002000030083A",
21:"0100004838113115110083060032000080000000200000920002000030083A",
20:"0100004838113114110083060022000080000000200000820002000030083A",
19:"0100004838113113110083060012000080000000200000B20002000030083A",
18 "0100004838113112110083060002000080000000200000A20002000030083A",
heat
30"010000483810311e0100830604C00000800000002000006400010000300839"
29"010000483810311d1100830600B0000080000000200000100002000030083A"
28"010000483810311c1100830600A0000080000000200000000002000030083A"
27"010000483810311b110083060090000080000000200000300002000030083A"
26"010000483810311a110083060080000080000000200000200002000030083A"
25"0100004838103119110083060070000080000000200000D00002000030083A"
24"0100004838103118110083060060000080000000200000C00002000030083A"
23"0100004838103117110083060050000080000000200000F00002000030083A"
22"0100004838103116110083060040000080000000200000E00002000030083A"
21"0100004838103115110083060030000080000000200000900002000030083A"
20"0100004838103114110083060020000080000000200000800002000030083A"
19"0100004838103113110083060010000080000000200000B00002000030083A"
18"0100004838103112110083060000000080000000200000A00002000030083A"
制冷26度下抓的包 扫风打开 "010000483811201a110083068182000080004000000000C30007000030083F"
扫风关闭 "010000483811201a110083068182000080004000000000C30007000030083F"
风速自动 "010000483811311a1100830600820000800000002000002200110000300829"
低速 "010000483811011a1100830603820000800000002000002100110000300829"
中速 "010000483811111a1100830602820000800000002000002000110000300829"
高速 "010000483811211a1100830601820000800000002000002300110000300829"
hi, i have a haier ac AS35S2SF2FA with built in wifi. if i use miio --discover to get it
the device will not be shown. can anyone help me?
Hello,
I still can't add this plugin to homebridge
i got this error
[2018-8-14 17:37:52] [AC Partner] { Error: Call to device timed out
at Timeout.retry [as _onTimeout] (/usr/local/lib/node_modules/miio/lib/device.js:229:18)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5) code: 'timeout' }
from Ras i can ping this device success
I’m using Mitsubishi Heavy Industries AC with a Aqara AC partner with gateway function square shape.
I found that without enableLED set to True, and turning off the LED every time, the AC won’t work. But when the LED is set to off, the control works fine. Please help. Thanks.
Привет.
Установил плагин, добавил в cofig:
{
"accessory": "MiHeaterCooler",
"name": "Кондиционер",
"address": "192.168.1.230",
"token": "3d*db4ece466d5bd64702c52",
"enableLED": true,
"ratedPower": 735
},
кондиционер включается и реагирует на команды в том случае, если выключатель Электропитание "лампочка" стоит в положении "выкл", Когда в положении "вкл" кондиционер не реагирует на команды, как в программе "дом" так и в "EVE". Думаю, что в плагине можно поправить параметры электропитания "лампочка", но я не знаю где именно. Кто подскажет где искать?
我知道我的空调使用的是海尔29号红外码,可以便捷的设置吗?
[AcPartner] { Error: Method get_model_and_state
is not supported
at Object.reject (/homebridge/node_modules/miio/lib/device.js:217:13)
at Device._onMessage (/homebridge/node_modules/miio/lib/device.js:108:8)
at Socket.emit (events.js:182:13)
at UDP.onMessage (dgram.js:628:8) code: -10000 }
[11/25/2018, 12:59:18 AM] [homebridge-config-ui-x] Unauthorised WebSocket Connection Closed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.