jghaanstra / com.xiaomi-miio

Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices
GNU General Public License v3.0
456 stars 85 forks source link

Add more flow cards(set hunidity%, turn on/off light/sound etc.) in Homey for Smart Mi Antibacterial Humidifier JSQ5 #252

Closed JGH88 closed 10 months ago

jghaanstra commented 11 months ago

Please be specific, no description and using words as etc. will not help you get what you want.

JGH88 commented 11 months ago

Sorry, it is a request to add more flowcards/functions in to Homey. I have a Mi Smart Antibacterial Humidifer (deerma.humidifier.jsq5) which is missing some of its functions in Homey. It is not possible to set a specific humidity, turn off the light or sound. It is functions which works in Home Assistant, so I guess it can be added to Homey. Best regards JasonDen 8. dec. 2023 kl. 14.20 skrev Jelger Haanstra @.***>: Please be specific, no description and using words as etc. will not help you get what you want.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jghaanstra commented 11 months ago
JGH88 commented 11 months ago

Thank you for your reply. I have misunderstood something. My request is to be able to disable notification sounds(alarm) and light. When the device turns on after power has been disconnected, the light and sound is activated again. Is it possible to create a flowcard which does this? Flowcard - “Turn off LED indicator light”Flowcard - “Turn off notification sound(alarm)”I just tested and realised that the translation to the Danish Homey is incorrect. The translation says adjust/dim/brighten light to xx%. What happens when I adjust/dim/brighten is I that it changes the humidity. So this works and I can actually set a specific % between 40 and 70. I thought this was changing the brightness of the indication light. Den 11. dec. 2023 kl. 19.35 skrev Jelger Haanstra @.***>:

You can turn on/off the light and sound from the device settings in Homey. You can set the humidity using the dim capability to the predefined values [30, 40, 50, 60, 70, 80]. What more are you expecting?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jghaanstra commented 11 months ago

I'll see what I can do when I find some time and motivation.

JGH88 commented 11 months ago

Thank you. I would appreciate it. I have sent you a donation to show my appreciation for the current work you have done.

man. 11. dec. 2023 kl. 22.11 skrev Jelger Haanstra @.***

:

I'll see what I can do when I find some time and motivation.

— Reply to this email directly, view it on GitHub https://github.com/jghaanstra/com.xiaomi-miio/issues/252#issuecomment-1850894858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJAXBADQ27TMWOK5I5MIEWLYI5ZJ5AVCNFSM6AAAAABAMT732WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJQHA4TIOBVHA . You are receiving this because you authored the thread.Message ID: @.***>

jghaanstra commented 11 months ago

Thanx, that helps a bit ... ;-)

I added the notification sound and led light cards yesterday. Unfortunately due to they way the target humidity is implemented I can not change the action card translation.

jghaanstra commented 11 months ago

The toggle notification sound and LED light has been added in the app version is is now published to the test channel and is waiting app store approval. Please test it.

https://homey.app/a/com.xiaomi-miio/test/

JGH88 commented 11 months ago

Thank you :-) I just tested it but it doesn't work.

  1. "Set notification sound off" runs, but it doesnt turn off the sound.
  2. "Set LED off" fails with following error " Cannot read properties of undefined (reading 'light')"
  3. "Turn off humidifier" doesn´t turn it off now.

Den fre. 15. dec. 2023 kl. 14.36 skrev Jelger Haanstra < @.***>:

The toggle notification sound and LED light has been added in the app version is is now published to the test channel and is waiting app store approval. Please test it.

https://homey.app/a/com.xiaomi-miio/test/

— Reply to this email directly, view it on GitHub https://github.com/jghaanstra/com.xiaomi-miio/issues/252#issuecomment-1857893892, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJAXBAF47M3G4TIHJGDS3P3YJRG7JAVCNFSM6AAAAABAMT732WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJXHA4TGOBZGI . You are receiving this because you authored the thread.Message ID: @.***>

jghaanstra commented 11 months ago

1 & 2 are going to be trail and error without having the actual device to test with. I will change some things in the next release but I'm not sure it will fix it.

3 Should be fixed with the next release.

JGH88 commented 11 months ago

Ok.Just let me know and I will test it immediately. :-)BR JasonDen 17. dec. 2023 kl. 18.19 skrev Jelger Haanstra @.***>:

and 2. are going to be trail and error without having the actual device to test with. I will change some things in the next release but I'm not sure it will fix it.

Should be fixed with the next release.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jghaanstra commented 10 months ago

Possible fixes are available in release 3.2.21 which is now pending approval in the app store. Please test it.

https://homey.app/a/com.xiaomi-miio/test/

JGH88 commented 10 months ago

Hi JghaanstraSound and light works. Only thing that isn’t working anymore is the set humidity %(“light”) as a flow card?Best regards JasonDen 17. jan. 2024 kl. 16.40 skrev Jelger Haanstra @.***>: Possible fixes are available in release 3.2.21 which is not pending approval in the app store. Please test it. https://homey.app/a/com.xiaomi-miio/test/

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jghaanstra commented 10 months ago

Please open up a new issue with more information. I'm closing this issue.