In development: Xiaomi Water Purifier C1 Sensor

Helllo,

I’m trying write a custom component base on this repo https://github.com/syssi/xiaomi_cooker
Current, i’m got all value with miiocli like this

root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["run_status"]'
Running command raw_command
[0]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["f1_totaltime"]'
Running command raw_command
[8640]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["f1_usedtime"]'
Running command raw_command
[585]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["f2_totaltime"]'
Running command raw_command
[17280]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["f2_usedtime"]'
Running command raw_command
[592]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["tds_in"]'
Running command raw_command
[80]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["tds_out"]'
Running command raw_command
[14]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["rinse"]'
Running command raw_command
[0]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["temperature"]'
Running command raw_command
[28]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["tds_warn_thd"]'
Running command raw_command
[100]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["f3_totaltime"]'
Running command raw_command
[8640]
root@raspberrypi:/home/homeassistant# miiocli device --ip 192.168.31.xxx --token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx raw_command get_prop '["f3_usedtime"]'
Running command raw_command
[592]

Some one can help me how do i complete this component ?
@syssi can you help me

Hi,

You can check the mi water purifier component or my implementation that supports C1 xiaomi water purifier

Good luck

I have a xiaomi 432 purifier

Can i Help you for support that?