merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
390 stars 61 forks source link

Please add viomi.hood.a10 #232

Closed chung0002000 closed 2 years ago

chung0002000 commented 2 years ago

Device model viomi.hood.a10

Device name Viomi Hood Free 3

Does the device require a MiCloud connection? Do not know

Anything special about the device? Please also add the light if possible.

merdok commented 2 years ago

Hello,

this device does not fit any category but you can actually get it easily to work with propertyControl, here is how it should look like:

          "customAccessory": true,
          "propertyControl": [
            {
              "action": "2.1",
              "name": "Power"
            },
            {
              "property": "2.2",
              "name": "Fan level"
            },
            {
              "property": "3.1",
              "name": "Light"
            }
          ]

Let me know if it works for you.

chung0002000 commented 2 years ago

Thanks for your reply. It's work, but can make the Fan level in one switch?

merdok commented 2 years ago

The fan has 3 options, so you need at least 3 switches to control all fan modes. Do you need only two?

chung0002000 commented 2 years ago

Sorry for your confusion. I mean is it possible to make a slider switch?

merdok commented 2 years ago

Unfortunately not possible currently for custom accessories.

chung0002000 commented 2 years ago

Got it. Thanks for you support.