aholstenson / miio

Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
MIT License
1.87k stars 354 forks source link

Add support dmaker.airfresh.a1 (Mi Fresh Air Ventilator A1, MJXFJ-150-A1) #279

Open aleksandrdobrynin opened 4 years ago

aleksandrdobrynin commented 4 years ago

Please add support dmaker.airfresh.a1 (Mi Fresh Air Ventilator A1, MJXFJ-150-A1)

aleksandrdobrynin commented 4 years ago

I managed to get the parameters:

pi@ihome-2:~ $ miio protocol call 192.168.252.64 get_prop
 INFO  Attempting to call get_prop on 192.168.252.64

 INFO  Device found, making call

 INFO  Got result:
[
  3,
  618,
  6,
  150,
  98,
  176,
  60,
  true,
  "auto",
  true,
  true,
  false,
  false,
  false
]
aleksandrdobrynin commented 4 years ago

image How do I know which parameter to send?

aleksandrdobrynin commented 4 years ago

https://www.npmjs.com/package/node-red-contrib-miio-airfresh