mycontroller-v1-legacy icon indicating copy to clipboard operation
mycontroller-v1-legacy copied to clipboard

Can't set custom unit of measurement

Open seant100 opened this issue 7 years ago • 3 comments

How can i set a custom unit of measurement for a sensor. One example I would like is to have litres / second, litres / minute or litres / hour.

seant100 avatar Mar 23 '17 07:03 seant100

@seant100 If you know java here is the file you have to put entry and create PULL request.

Otherwise please elobrate your requirement bit more.

jkandasa avatar Mar 23 '17 17:03 jkandasa

@jkandasa Attached are 3 screenshots showing what I require

s_water-v_volume s_water-v_flow add-custom-unit

seant100 avatar Mar 24 '17 21:03 seant100

@jkandasa I do see the following in the MySensors documentation V_FLOW 34 Flow of water (in meter) S_WATER V_VOLUME 35 Water volume S_WATER

The description for V_FLOW saying (in meter) cannot be correct as flow is not measured "in meter". Flow is a rate in litres per second, litres per minute, litres per hour etc. These flow rate units are not currently available in MyController.

The description for V_VOLUME is a bit lacking but water volume is in a unit like "litres". This is not a unit available for selection in MyController at the moment..

If adding a custom option is not an option, then perhaps you can expand on the units allowed per sensor variable type.

seant100 avatar Mar 24 '17 21:03 seant100