Precision of distance sensor (hc-sr04)
Posted: 26 May 2017, 16:38
Hi everyone.
Did i make something wrong?
In my esp i try to read distance with a hc-sr04
In the log the value is rounded with two decimal.
But once this value is sent to domoticz, the value is rounded at the unit.
I try to update manually the device in domoticz and the precision is one decimal.
Why does espeasy round too much the value?
Thank you
Did i make something wrong?
In my esp i try to read distance with a hc-sr04
In the log the value is rounded with two decimal.
But once this value is sent to domoticz, the value is rounded at the unit.
I try to update manually the device in domoticz and the precision is one decimal.
Why does espeasy round too much the value?
Thank you