Hello,
hmm i think i run in a Problem. Ok, i have 4 Sensors they publish her values via Mqtt. I use the simple mqtt pluginf from @amiller.
Now i have to write:
IF
$sensor_a.power <= $minimumBatteryLevel or
$sensor_b.power <= $minimumBatteryLevel or
$sensor_c.power <= $minimumBatteryLevel or
$sensor_b.power <= $minimumBatteryLevel
THEN
send ...
The variable $minimumBatteryLevel set to 2.5V.
First problem i have to check **every **Sensor, if i got a new Sensor … i have to change this rule. Or i (don’t want) write 4 rules for every sensor.
The best Solution/Idea for this:
IF
$*.power <= $minimumBatteryLevel
THEN
send "Sensor $1 has low battery power!"
If this possible?