ysimonx / node-red-contrib-melcloud

node-red node for mitsubishi with melcloud API
MIT License
15 stars 5 forks source link

mode #6

Closed Gregor-Weissenborn closed 2 years ago

Gregor-Weissenborn commented 2 years ago

Setting the operation mode is not working

ysimon-eurevia commented 2 years ago

Hi @Gregor-Weissenborn : thank you, i will test tonight :)

Gregor-Weissenborn commented 2 years ago

I noticed that it is not mentioned in melcloud-connect.js lines 168 - 211.

ysimonx commented 2 years ago

Hello @Gregor-Weissenborn : I made some tests

While you can change the "mode" with the melcloud-device node, cf

Capture d’écran 2022-01-25 à 21 18 54

I understood that you tried to change the mode value thanks to a input message payload containing mode value

I made some changes, without many tests, can you take a look and tell me if it's ok for you

Thank you

ysimonx commented 2 years ago

mode value should be one of

"auto", "heat", "dry", "fan","cooling"

Gregor-Weissenborn commented 2 years ago

I confirm it as working by now. Thanks a lot! You might add it to the documentation. :-)