History log of /openbmc/phosphor-fan-presence/control/json/actions/count_state_floor.hpp (Results 1 – 2 of 2)
Revision Date Author Comments
# 7fa4d16e 04-Jan-2024 Matt Spinler <spinler@us.ibm.com>

control: Add optional delay to count_state_floor

Add an optional delay field to the count_state_floor action that takes a
value in seconds. When set to a nonzero value, the action will then
require

control: Add optional delay to count_state_floor

Add an optional delay field to the count_state_floor action that takes a
value in seconds. When set to a nonzero value, the action will then
require the count condition to be satisfied for that amount of time
before setting the floor. This can be used to prevent the floor from
jumping when there is just short change to a property value, for example
if a sensor set to not functional for a short amount of time.

For example:

{
"name": "count_state_floor",
"count": 1,
"state": false,
"delay": 5,
"floor": 18000
}

This says that the floor won't be set to 18000 until at least 1 group
member has its property value set to false for a continuous 5 seconds.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I67409ce651d9592b1cabb3f7cb36ba998c3ef545

show more ...


# 65dfe1ea 26-Oct-2021 Matt Spinler <spinler@us.ibm.com>

control: Add count state floor action

This action is similar to the count_state_target action except it sets
the fan floor instead of fan target.

It sets the zone to a configure

control: Add count state floor action

This action is similar to the count_state_target action except it sets
the fan floor instead of fan target.

It sets the zone to a configured floor with a hold when a number of
members within the group are at a configured state. Once the number of
members at the given state falls below the configured count, the floor
hold is released.

Example JSON is:

{
"name": "count_state_floor",
"count": 1,
"state": false,
"floor": 5000
}

This will set the floor hold to 5000 when at least 1 member of the
configured group has a value of false.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ie67314ad0221264a7a3ee634728e8216cb0a16cd

show more ...