NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
420 stars 52 forks source link

[Setup Help]: Humidifier function change #431

Closed zjp0225 closed 3 years ago

zjp0225 commented 3 years ago

Your Current NRCHKB Plugin Version

No response

Operating System

No response

What is your idea?

05837b1a4ee3a1f4c9553fd89c6ecef

Dear ALL: The humidifier has four function buttons: automatic, heating, dehumidification and off. Can you customize them, such as changing to automatic, dehumidification and off.

Any more details?

If this is specific to some hardware or specific software version, please explain here.

Additional comments?

Additional comments here, if any.

Any code or functions to add?

No response

crxporter commented 3 years ago

Yes this is possible! You will need to use characteristic properties when you create your device. The JSON will look something like this:

{
"CurrentHumidifierDehumidifierState": {
"validValues": [0,2]
},
"TargetHumidifierDehumidifierState": {
"ValidValues": [0,1]
}

see our wiki page for more information about what each value means. The valid values will adjust what is available and showing in the home app.

Wiki link: https://nrchkb.github.io/wiki/service/humidifier-dehumidifier/

Shaquu commented 3 years ago

Closing as I feel questions has been responded to. If required, please open a new issue or contact us on Discord.