thomasgermain / vaillant-component

Multimatic integration for Home Assistant (also compatible with sensoAPP)
MIT License
135 stars 24 forks source link

System date/time setting #245

Closed Krzysztonek closed 8 months ago

Krzysztonek commented 8 months ago

Hi, Having no clue how to set date/time for the system using Node-Red, I tried this:

obraz

The orange set date/time node is a function node with the following code:

msg.datetime = new Date();
return msg;

The blue set date/time call-service node has been defined as follows:

obraz Unfortunately, it doesn't work. What am I doing wrongly?

My overall impression is that, the integration itself is very useful, but its documentation is very poor, no examples are introduced. So the only way of working is an intuitive coding. Can anyone give me some examples on how to set the parameters (eg. preset mode, heating program, system on/off, manual mode) of the climate control or the water heater in Node-Red, please?

thomasgermain commented 8 months ago

Hello,

you can find the documentation in home assistant directly in developer-tools/service: image

I think you propably have to format the datetime correctly.

Krzysztonek commented 8 months ago

yes, the datetime parameter in the call-service node was wrongly defined. Now it works fine, I'm able to set the time correctly. Thank you!