-
Notifications
You must be signed in to change notification settings - Fork 16
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
Installation #63
Comments
Have a look at lines 6 to 8 of the script. |
ok I understand. Now I have under objects the mihomeall and my 2 devices. These are dmaker.fan.p220 also known as bplds05dm. Which plugin do I need now? Thank you |
Ich ahbe die dmaker.fan.p15 und p18 in das Verzeichnis reinkopiert und mit iob restart alles neugestartet. Wo kann ich den Lüfter jetzt sehen? Unter Objekte oder woanders? Oder gar nicht weil ich für das Modell das Skript selber schreiben muss? Wäre für eine Hilfe dankbar |
Did you find your fan model in the list of supported devices? I think no, the script doesnt know a dmaker.fan.p220, so its normal that is not working. You can copy whatever you want, if its not for your device, it doesnt works. |
So I have to go now for this description right? https://github.com/Pittini/iobroker-nodemihome/blob/main/HowToAddNewDevices.md |
Yes. But you havent found the scriptsettings, so I assume, maybe your skills are not enough. |
We will see, I will take look on this later. |
So I have tried two versions, in both cases objects created, but cannot power on the fan. There is "false" in red. Here are my examples: The filename is always which is uploaded correctly: dmaker.fan.p220.js In the script:
In the file:
Second try: In the script:
In the File:
There are no errors in th the log. Any thoughts? By the way I have two of exact same fans here, maybe this is a problem? |
ok I got it to work 😊 File:
File:
|
Congratulations, well done. Does this fan have only two settings? |
Thanks. This fans has a lot of functions but I need for iobroker only speed and power. |
This fan can also adjust speed level by 1% from 0% to 100%. I would like to add this feature, so I spotted in the urn file this part:
I added this to the script:
And to the definition file:
But it will not work. Please can you help me to fix this? Thank you |
fan:speed-level is not shown. You have to use fan:fan-level OR dm-service:speed-level (I dont know the difference between those two) |
fan-level is only 4 steps. slow - middle - high - turbo speed I tried this now and it looks good now so far:
And in the File:
I have no idea if the syntax is ok. Can you check please? Thank you |
Looks good for me. And if it works, the syntax is ok, every error leads to malfunktions. |
It seems to work, but the numbers are always shown in red color. So I can set every number and the fan is reacting. But when I set on level for example level 2 the numbers in speed level do not change. Maybe there is something missing, something like a backchannel or a refresh for this object. |
Red color is ok, that means there is no ack flag set, what is normal for manual written values. The not synched values behaviour maybe will set the right value at next refresh (10seks if not changed). If not...how is the behaviour in the orig app? |
When set in iobroker for example 27% it goes in the app within 1 second to 27% and so on. When I change the value in the app nothing happens in iobroker. |
I found out for some reason the file dmaker.fan.p220 was deleted. I copied again and now it works. |
Hi, in point 3 you have to fill in the xiaomi credentials in the script settings. My problem is, where are the scriptsettings? Sorry I cannot find these
The text was updated successfully, but these errors were encountered: