Having not found any LED information searching here, I am looking for any information on using the LEDs when creating a dashboard in Emoncms (being fed from an Emonpi and IotaWatt system). It seems the LED colors trigger at some unexpected wattage values (like 0.01W will turn the LED green, while 2.0W will leave the LED black) so I wondered if there are instructions somewhere on the best way to incorporate the LEDs?
One issue I have to work around is that when my heat pump is not operating, I can see a fractional wattage value on the sensor, ranging from 0.01 to 0.04 watts. These values if fed directly to an LED will turn it green, even though I would prefer it to be red. The heat pump draws approx. 2230 watts when running, so I would like to make the LED green if the sensor goes above, say, 0.5 watts and stay red if below 0.5 watts. I’ve been playing with experimental values and calculations but there doesn’t seem to be a simple way to achieve my goal.
I’ve learned the LEDs change to 6 different colors (if you include black) over a range of 0 to 5 watts. Anything over 5 watts stays black. So getting the heat pump to do a “simple” red for off and green for on LED is going to require some clever calculations I’ve not yet figured out, using the very limited modifiers available on the Inputs page. If there are explanations or guidelines for each of those process modifiers, that would be helpful. Some of them I don’t understand.
Any help will be appreciated.