• 21.10.2021, 13:51
  • Register
  • Login
  • You are not logged in.


Virtual Sensor Inability to convert l/h to l/m

Saturday, September 18th 2021, 5:20pm

I want to display Liters per Minute on a Overview Page, so I made a Virtual Sensor to convert l/h to l/m.
Though the Virtual Sensors works correctly, the end result is converted back to Liters per Hour. (flow_convert.jpg)


Senior Member

Saturday, September 18th 2021, 9:06pm

So hope that helps
EnigmaG has attached the following image:
  • Unbenannt.png

Saturday, September 18th 2021, 10:24pm

Thank you for the suggestion EnigmaG.

I am aware of setting the entire aquasuite to l/m, which I did for some time, but the limitation then is the granularity of control.
  • My system runs just over 2 l/m
  • I would like to have an RGB color switch at 1.2 l/m (80 l/h)
  • but the 'limit' setting must be a whole integer, which only allows '1' in this instance (60 l/h) integer.jpg
  • when I had the aquasuite set to l/m earlier, I made a Virtual Sensor that multiplied it by 10, but it still could not have the unit 'l/m' attached to it.
  • I do not understand why this limitation is placed on the aquasuite
The same limitation is there for C to F, you cannot have a result with F as the unit.
Though both l/m and F are available when initially assigning a unit to a Virtual Sensor.

Friday, September 24th 2021, 2:22pm

Well color me curious... today the l/h to l/m conversion yields the correct result (lpm_out.jpg)

The °C to °F conversion still does not function properly (f_out_fail.jpg)



Friday, September 24th 2021, 2:54pm

The virtual sensors only support metric units. So you can not use °F or gal as a target unit.

That's by design as these values could also be used by devices as software sensors and needs valid units. Maybe we will add support in the future but currently it's not supported.
If you just want to use these values for overview pages you can use values without a unit.

Friday, September 24th 2021, 3:57pm

Thank you for the comment, if I may ask a question so I may better understand.

Does the virtual sensor only support metric units regardless of the unit setting being metric or imperial? (units.jpg)



Friday, September 24th 2021, 4:25pm

Yes. It always uses metric values.