"set value of config parameter" equivalent command?

Very simple new user question hoping for a simple answer.

In HA automation I can select a node and choose to “set value of config parameter” and change an occupancy light’s timeout setting, but I’m not sure how to do that in Node Red. I’ve searched back and forth with similar key words but only found info pertaining to changing node red parameters.

Can anyone point me to the right direction? Thanks.

I don’t understand this.

I have never heard of the therm “node” in regards of HA automations.
What are you talking about here?

Never seen this. What device/entity/integration has this?

I must have the wrong terminology as I’m new to this.

I have a light switch with an occupancy sensor and I’m trying to change it’s parameter for “Timeout Duration”.

How do I do that in Node Red?

In HA Automation, under Actions, I choose the device, and I can select “set value of config parameter”, but I can’t find a similar thing in Node Red.

Much appreciated

There are many ways to accomplish this task, here are 2 examples.

Thanks for the examples. Although what I need is different as my light switch is not a light that just turn on and stay on. It’s an “occupancy light” that automatically shuts off after X minutes, and my goal here is to change the light’s configuration of “how many minutes to stay on” depending on time of day, or specifically, to do what the “set value of config parameter” does in HA Automation. I found an article that seems to say that this is not yet supported on Node Red, I hope that I’m wrong.

That is exactly what the examples do. Lets take the first

image

State change is your trigger, here is where you would set your occupancy sensor

Next is the trigger(timer) node, here you will tell it how long after the sensor is triggered the light goes off.

Finally the call service node, “actions”, here you will set the light that needs to be turned on and off.

It’s a bit confusing, but in the example there are two different pieces of hardware. One is a motion sensor, and the other one a kitchen light switch. The code works great in that situation.

The product I have is a zwave light switch with a built in occupancy sensor. (link) Without home assistant or node red, it has a built in config value inside the zwave switch that will force the light to turn off. I’m trying to change that built in config value. I can do it in HA Automation, but cannot find a way to change that setting in Node Red.

Ok I don’t have z-wave so I don’t have those service calls available. Inside a call service node click in domain and it should give you a drop down of what is available. Choose zwave and then click the service box and again should be a drop down.

Look for the service to change the parameter, choose the entity and then complete the data sections options should populate below.

Thank you, that’s exactly what I need. I didn’t think to type in zwave in the Domain field, so I never came across the “set_config_parameter” option.

Your time and patience is much appreciated!