Opening shutter Schedule

Hi,
I want to create an opening schedule for my home shutters. I am using light scheduler node for open and close but I am trying to open my shutters at half between 9h and 12h. I am searching a function to change the msg payload to 0.5 between the 2 hours.
Could you help me please.
Thank you

the change node ?
What does your shutter require as input ?

boolean payload: for opening true and for close false

If it’s boolean what do you plan to send for half??

There is other way to open and close it by using 0...1 interval

That might have been the one to mention last time :slight_smile:

As @bakman2 said the change node will do what you want.

ok thank you but my question is how can I change the msg payload to 0.5 for example only between 9h and 12h

Unless you know how to apply quantum mechanics, there is no way.
But if you shutters accept 0.5 then sure a change node

payload -> change node - > shutter.

I would suggest two schedulers

ok thank you but my question is how can I change the msg payload to 0.5 for example only between 9h and 12h

I tried it but the shutters didn't stop to open at half and close

What shutters are they and what api documentation is available ?

Check with a debug node that the payload is what you wanted.

No :confused:
I think with a function or switch node I define 2 hours like between 9h and 11 h the msg payload becomes 0.5.

So when you send 0.5 the shutters go halfway ?
There is a language barrier here I believe.

I used KNX system for that
Yes when I send 0.5 the shutters opened at half.

So just like @dceejay recommended: 2 light schedulers.

Note that you have to change the type from string to number.

1 Like

And how can I fixe the 2 hours?

there are several ways.
Inject 0.5 at your start time
inject a different value at your end time…

Or use a node that will send one value (0.5) at your start time and will then wait for a specified time before sending a different value (there’s one in the pre-installed nodes which you can find)