Skip to content
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

Open
DaddyTommy69 opened this issue Jun 9, 2024 · 11 comments
Open

Add support for Lomediqi Fresh air system #601

DaddyTommy69 opened this issue Jun 9, 2024 · 11 comments
Labels
new device Request new device support

Comments

@DaddyTommy69
Copy link

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?

  • Please support adjusting fresh air level (ranges from 0-20%-40%-60%-80%-100%) and C02 sensor in addition to the standard air purifier controls
  • There are 2 versions of the device (one with ioniser and one without). I believe both goes by the model of bjdm.airfresh.test01
@DaddyTommy69 DaddyTommy69 added the new device Request new device support label Jun 9, 2024
@merdok
Copy link
Owner

merdok commented Jun 9, 2024

Hi, what is not working with the device currently? Did you already try to add it to the plugin?

@DaddyTommy69
Copy link
Author

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

@DaddyTommy69
Copy link
Author

DaddyTommy69 commented Jun 10, 2024

Controls for the top fan (room air intake)
Screenshot_20240610_140706_Mi Home

Controls for the bottom fan (fresh air intake)
Screenshot_20240610_140700_Mi Home

@merdok
Copy link
Owner

merdok commented Jun 10, 2024

Hi, you would need to use propertyControl to expose the missing functionality.

@DaddyTommy69
Copy link
Author

I managed to find what I want to control but not sure how to input them. Please point me in the right direction
Untitled

@merdok
Copy link
Owner

merdok commented Jun 10, 2024

You just have to enter the property name in the required field.

@DaddyTommy69
Copy link
Author

It is showing up as individual switches for 0-1-2-3-4-5 level. Is it possible to turn it into the blue slider for fans

20240610_154448

@merdok
Copy link
Owner

merdok commented Jun 10, 2024

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.

@DaddyTommy69
Copy link
Author

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

@merdok
Copy link
Owner

merdok commented Jun 10, 2024

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...

@merdok
Copy link
Owner

merdok commented Jun 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device Request new device support
Projects
None yet
Development

No branches or pull requests

2 participants