-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Lomediqi Fresh air system #601
Comments
Hi, what is not working with the device currently? Did you already try to add it to the plugin? |
My apologies I recently press discover devices in the plugin and it's been found and working in homekit. However I do wish for a fresh air level option alongside the fan speed option, as the device has 2 fans that operate independently (the top one is for room air intake and bottom one for fresh air intake). I will post the pic of the Xiaomi Home controls below |
Hi, you would need to use propertyControl to expose the missing functionality. |
You just have to enter the property name in the required field. |
Not in a generic way because the property is marked as a value list with a couple possible values, currently you can only show things like this with multiple switches. |
It would be greatly appreciated if you could find the time to implement such function. It is one of the main selling point of the unit as opposed to much pricier alternatives. Thank you |
It requires a special property handling currently for this particular device which would require some work. Maybe it could be emulated using a fan or lightbulb but that would still require some code adjustments. The main problem here is that HomeKit does not support such ui control which allows to select between multiply options hence we need to do some tricks in order to make it work... |
You can also limit the values only to those switches which you use the most, so if you just use two values then you can create two propertyControl for the same property and you can specify the value it should set, that way only two switches will appear. |
Device model
bjdm.airfresh.test01
Device name
Lomediqi Intelligent Fresh air purifier
Does the device require a MiCloud connection?
Do not know (released in 2019 I think according to this page https://home.miot-spec.com/s/bjdm.airfresh.test01)
Anything special about the device?
The text was updated successfully, but these errors were encountered: