-
Notifications
You must be signed in to change notification settings - Fork 113
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 dmaker.fan.1c support #62
Comments
@richahl Did you manage to fix it? |
No not yet, I'm looking into if I can use mqtt instead like this https://github.com/roth-m/mqttmiot-airpurifier3 Update: I've now managed to control the fan by using mqtt and a modified version of the script I mentioned. |
Hi, I've been also wanting to buy a 1C fan. Could you please share your modified script so that I can use it in Home Assistant? |
Same here, can't make it work with the 1C that I just bought. |
I have uploaded the script here: https://github.com/richahl/mqttmiot-dmaker1c I then use the MQTT Fan device in Home Assistant to control it. |
how is this setup in your configuration.yaml ? |
My setup is below
|
Any other solution than having to setup mqtt? |
Any updates on this? |
It seems like support for 1C has been added to a Homebridge plugin for integrating Xiaomi Fan devices. I suppose it could help with adding 1C support to python-miio/xiaomi_fan. Also, thanks for the link to the lovely custom component, @bfbones. I was looking for something like it. |
Probably a noob question, but how to get the script running? I added it to my python_scripts folder in Custom_components but that seems not to work... I changed the variables in the script, but doubt if it's correct...
|
Your settings seems correct, what happens when you run the script, any error messages? |
Probably another noob question: |
Same for me! I'm also interested in more detailed steps to get the script running. |
2020-08-14 10:58:14 ERROR (SyncWorker_4) [homeassistant.components.python_script.mqttmiot.py] Error executing script: import not found Edit: Edit2:
Edit3: |
If someone would be interested, I've created for myself a fork repo and I've added support for 1C fan - https://github.com/damianpasek/xiaomi_fan. You can just copy content of When everything will be working fine I can prepare pull requests to |
It seems to work great, thanks a lot! Only the frontend resource: Xiaomi
Fan Lovelace Card could do with some adjustments because some features are
not present on this model and only cause erros
…On Mon, Aug 17, 2020 at 10:05 PM Damian Pasek ***@***.***> wrote:
If someone would be interested, I've created for myself a fork repo and
I've added support for 1C fan - https://github.com/damianpasek/xiaomi_fan.
You can just copy content of custom_components folder and it should be
working. I was not testing everything yet so you are installing it on your
own risk but for me it seems to be working fine (or at least features which
I'm using).
When everything will be working fine I can prepare pull requests to
python-miio library and to this repo to officially add support for this
fan 🙂
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDTAM72273DHHL4P22GPVLSBGERFANCNFSM4NSMFMSA>
.
|
Hard to troubleshoot, I don't get any sensors. In the logging I see a lot of "empty" stuff: And the main HA log reports that the component is not ready: |
Works great! Thank you 👍 |
Great job! Works perfectly! |
Great work!! |
@asifma can you share all your scripts/settings with us? thanks! |
@olskar I would be happy if you could handle issues of the fork at the fork? :-P |
not work anymore |
@matteos1 I got No 'version' key in the manifest file for custom integration 'xiaomi_miio_fan'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'xiaomi_miio_fan' can you please fix |
If I am not wrong, it should be coming soon 👍 rytilahti/python-miio#1012 |
I would hope so too |
I am also receiving this error in my log file... please help |
I've merged the dmaker.fan.1c support but a bugfix release of Home Assistat containing |
I can't get the new Xiaomi Mi Smart Standing Fan 1C to work with current config and haven't been able to get properties from it yet.
mirobo --ip 192.168.1.23 --token e2300f54d47ec358XXf6586a8f92d6e7 raw-command get_prop "['$PROP']"
Sending cmd get_prop with params ['']
Error: {'code': -9999, 'message': 'user ack timeout'}
miiocli device --ip 192.168.1.23 --token e2300f54d47ec358XXf6586a8f92d6e7 info
Model: dmaker.fan.1c
Hardware version: esp8266
Firmware version: 2.0.4
The text was updated successfully, but these errors were encountered: