Hc-sr04 sensor - decimal value in log, integer on mqtt

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
moebius
Normal user
Posts: 35
Joined: 22 May 2017, 19:36

Hc-sr04 sensor - decimal value in log, integer on mqtt

#1 Post by moebius » 22 May 2017, 19:52

The esp easy R120 shows the value of the hc-sr04 sensor with 2 decimal numbers in the log, but the transmitted mqtt value (openhab) is only integer.
Can this be solved via a configuration change?

Post Reply

Who is online

Users browsing this forum: No registered users and 68 guests