Xiaomi stand fan X1

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
bubi
Posts: 2
Joined: Saturday 22 June 2019 18:20
Target OS: Linux
Domoticz version:
Contact:

Xiaomi stand fan X1

Post by bubi »

Hi,

I bought a xiaomi fan x1 with wifi, but i cant find how to add it to domoticz, im find only plugin for homeasistant... bellow

https://github.com/syssi/xiaomi_fan/
https://github.com/wzpan/dingdang-smart-mi-fan

Image

maybe someone has already tried to add devices :roll:
rutek024
Posts: 2
Joined: Wednesday 26 June 2019 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi stand fan X1

Post by rutek024 »

I join the topic, I am also looking for a solution to connect this fan to domoticz.
rutek024
Posts: 2
Joined: Wednesday 26 June 2019 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi stand fan X1

Post by rutek024 »

I connect this pedestal fan using python-miio library:
https://github.com/rytilahti/python-miio

delay_off Set delay off minutes.
info Get miIO protocol information from the device.
off Power off.
on Power on.
raw_command Send a raw command to the device.
set_angle Set the oscillation angle.
set_buzzer Set buzzer on/off.
set_child_lock Set child lock on/off.
set_led Turn led on/off.
set_mode Set mode.
set_oscillate Set oscillate on/off.
set_rotate Rotate the fan by -5/+5 degrees left/right.
set_speed Set speed.
status Retrieve properties.

miiocli fanp5 --ip x.x.x.x --token xxxx status
bubi
Posts: 2
Joined: Saturday 22 June 2019 18:20
Target OS: Linux
Domoticz version:
Contact:

Re: Xiaomi stand fan X1

Post by bubi »

Code: Select all

miiocli fanp5 --ip 192.168.xx.x --token xxxxxxxxxxxxxxxxxxxxxxx status
Power: off
Operation mode: OperationMode.Normal
Speed: 100
Oscillate: True
Angle: 30
LED: True
Buzzer: False
Child lock: False
Power-off time: 0
Thanks, but how can i addition to domoticz? i cannot find solution :/
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest