fppd

fppd/condition/preview

Preview a single If/Conditional Check leaf's current raw value - the same lookup evaluate() uses internally (Variable/Expression/Setting/Time/MQTT/ GPIO Pin/Sensor/Sun), before any comparator/Value is applied. Backs the If condition editor's "Show Current Value" button, so picking the right Value to compare against isn't guesswork.

get/api/fppd/condition/preview

Query parameters

sourcestring

One of the If Check "Source" dropdown values (e.g. "Variable", "GPIO Pin").

namestring

The Name/Expression field for that source.

Response

{"found": true, "value": "..."} or {"found": false} if the source/name doesn't currently resolve.

Changes