-
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 support for deerma.humidifier.mjjsq #40
Comments
The device isn't supported right now. |
Hello. Do you have the opportunity to add support for this model of device? I really need this. |
maybe this will help add support deerma.humidifier.mjjsq in HA: rytilahti/python-miio#533 and: https://www.bountysource.com/issues/77742487-support-for-mi-smart-humidifier-deerma-humidifier-mjjsq |
If you provide extensive testing we could give it a try! Do you own a linux host with pip3 installed? |
I have very little knowledge of Linux (and in Pyton, etc.). I have a linux host (Synology NAS). But I do not know what it is pip3 and how to install it. What is it needed pip3 ? |
You must be able to install python packages. The package manager is called "pip". On some distributions the python3 version is valled pip3. Please install
The package provides a command line tool called
|
As soon as you are able to talk to your device I will provide some commands / miIO requests. I'm interested in the responses of these requests provided by your device. |
I have a screenshot from the MiHome application with information about the device (model, token, software version, etc.) First I have to install the Python3 package on my Synology server. Yes? |
Sorry. I cannot help here. Please make sure you've access to the mentioned command line tool. It could work on windows, too. Python >=3.6 is required. You could use a ubuntu VM, too. On ubuntu you've to install python + pip by:
|
I'm now reading about installing Python On Windows 10, and if I can install pip3, I will write to you later. |
It doesn't matter. Take x64. |
I was able to install Python 3.8 on a laptop. But when installing the python-miio, I get the following error:
I have now updated Visual Studio. How do I update the pip? What command is for Windows? |
now: `C:\Users\albina>python -m pip install --upgrade pip C:\Users\albina>pip3 install python-miio |
Looks good to me. |
now - device OFF state: device ON state: What's my error? |
Are you sure your token is still valid? Did you reset the device in the meantime? The "info" command should respond everytime if the device is available (pingable). |
You should disable your firewall. May be the UDP traffic is blocked? |
Yes, token is still valid. But: `C:\Users\albina>ping 192.168.1.204 Packet exchange from 192.168.1.204 to with 32 bytes of data: Ping statistics for 192.168.1.204: Both device (laptpop and deerma) connect to router Mikrotik (WiFi). |
ip 192.168.1.200 - laptpop. |
Yes, now I disable my firewall:
|
Perfect! |
Now what? Is it possible to add this humidifier to HA? |
I need the output/responses of the follow commands. I need this informations to extend python-miio and to extend this HA component.
|
error: Error: Unknown command (get_prop)` |
Ups. I missed a parameter. Please try the updated commands: I need the output/responses of the follow commands. I need this informations to extend python-miio and to extend this HA component.
|
Yes, I already understood. I got it:
Device turn OFF I turned it on again
not selecting HumidifierGears in MiHome app
It's all. |
It looks like it not possible to query all properties at once. Could you execute all commands again? Please replace this command
I want to make sure every command works fine and updates the internal state of the device. |
Hello. Thank you for your help. I will execute all the commands again, but a little later. I'm not near the laptop right now. I will let you know. Thanks. |
Take your time. |
Should I complete to run list all commands? And after each command, check with this list of commands?
|
port 8124 closed. I can’t open the port remotely (router settings). Only from the local network. I can only check in the evening. |
in UI, in dev-panel:
|
Perfect. Please add
to your configuration.yaml. A sensor called "sensor.airhumidifier_temperature" and "sensor.airhumidifier_humidity" will be available after a restart. |
Yes! Now there are two sensors: temperature and humidity. |
Is it possible to add the target_humidity sensor in the same way?
Thanks. |
Yes. Please read the manual of the sensor template. |
Yes, it's working. |
Now:
|
awsome O_O, it's working perfectlyyyyy. thank you so much. wish you best <3 |
I test buzzer, led - its work fine. How to test mode and target humidity? |
How to test set_target_humidity ? |
call in service at hass |
Example:
I got error. Maybe I'm not doing the right command? |
The value should be "target_humidity: 55". |
got error:
|
may be needed P.S. Not, the same error:
|
Hello, Sebastian.
Is the value as it should be, in double quotes?
If not, then I get an error, as in my post above. |
How do you call the service? |
In Services I choose: may be value should be, in double quotes? |
not, I get an error. maybe I'm doing something wrong? |
screenshot call the service: |
The correct parameter is |
Please update the custom component. Humidity values between 0 and 99 are allowed now. |
Ok. you updated it?
|
Yes, now it works! And service |
Yes. I've updated the README, too. |
Ok. Thanks. |
Hello, Sebastian. Happy New Year.
When Automation is triggered, the following error appears in the log:
This message appears after the Automation has been starting. Thanks. |
Hello. Please, add support for deerma.humidifier.mjjsq
I have such a humidifier (deerma.humidifier.mjjsq). https://ru.aliexpress.com/item/4000056420604.html?spm=a2g0s.9042311.0.0.71e033ed6TUs5o
But I could not add it to the hass.io.
I get the following error:
2019-11-28 22:19:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for xiaomi_miio which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-11-28 22:19:43 ERROR (MainThread) [custom_components.fan.fan] Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_airpurifier/issues and provide the following data: **deerma.humidifier.mjjsq**
How do I add it to hass.io? Thanks.
The text was updated successfully, but these errors were encountered: