ysimonx / node-red-contrib-melcloud

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

set external room temperature #9

Closed 11awe closed 2 years ago

11awe commented 2 years ago

Hi,

thanks for creating this node, made my day realizing the connection of solar power with AC devices.

  1. Is it possible to set an external room temperature value to MEL cloud? I would like to have the AC-control listen to my HomeMatic temperature sensor and not its internal one. They differ up to 2 deg.

  2. Whenever I send a number (1/3/8) with command "mode" the node does not pass through msg.payload. The status does only change by mobile app. Any ideas?

ysimonx commented 2 years ago

Hello @11awe

you should be able to set temperature by sending an msg.device json data with a "function" node

Capture d’écran 2022-03-28 à 23 47 23

msg.device = {

"command": {
    "temperature": 20,
    "mode":"auto"
}

} return msg;

Capture d’écran 2022-03-28 à 23 47 52
11awe commented 1 year ago

Thanks a lot, that works properly. I recommend to add e.g. "mode": "cooling" in your example files because sending a string is not self explaining for rookies like me.

About my second question I think you got me wrong: I want to exchange the RoomTemperature (internal device sensor?) by external HomeMatic temp sensor, because the values differ up to 2°C