homebridge-mi-aqara icon indicating copy to clipboard operation
homebridge-mi-aqara copied to clipboard

Aqara cube virtual switch

Open andrejkovo opened this issue 5 years ago • 3 comments

Can someone explain me what does it do and how can you hide them. Thanks

andrejkovo avatar Nov 21 '18 15:11 andrejkovo

Add this to your config.json. What it does, I really don't know.

"defaultValue": { "158d000xxxxxxx": { "MagicSquare_Switch_VirtualFlip90": { "disable": true }, "MagicSquare_Switch_VirtualFlip180": { "disable": true }, "MagicSquare_Switch_VirtualMove": { "disable": true }, "MagicSquare_Switch_VirtualTapTwice": { "disable": true }, "MagicSquare_Switch_VirtualShakeAir": { "disable": true }

meesjan avatar Nov 27 '18 21:11 meesjan

Thanks now its hidden. But i really like to know what does it do. If the button will trigger that switch on/off it will be great for automations.

andrejkovo avatar Nov 27 '18 21:11 andrejkovo

@meesjan is right. The following can also be done.

"defaultValue": {
    "158d000xxxxxxx": {
        "Global": {
            "disable": true 
        }
    }
}

The virtual switch trun on/off equate to cube actions accordingly.

YinHangCode avatar Jan 11 '19 03:01 YinHangCode