I’m trying to get a Xiaomi Fan 1X to work with the miio binding.
As stated in the docs, this device should already be supported, but it is not, at least my fan does not work. Maybe I got a new version (I bought it in 2022). How to seperate the (maybe) different versions for future users?
The fan is recognized in OH as “dmaker.fan.p5”. Sadly, the channels were not working correctly.
I spent two evenings to get things together, this is my state:
I tinkered with the dmaker.fan.p5.json file so most of the values can be read (there were some errors).
Well, I’m still not able to send commands.
I’m trying to understand how to send commands with the binding.
It is possible to send a command to the custom channel like “s_power [True]” to turn the fan on, but how to configure the binding to do that - instead of “on/off”. I checked the file CommandParameterType.java and searched for sth like TRUEFALSE.