monitor: Sensors not formatted
Issue #373
new
Sensors are not formatted according to the user-specified format function, i.e., round, round1, etc.
Sensors are not formatted according to the user-specified format function, i.e., round, round1, etc.
What are the intended formats bool, hex, and compass?
ISTM that the issue is arising from monitor.go:250
Where all formats are given to 2 decimal places. I suggest implementing a method of iotds.Sensor called FormatSensor which returns a string for a given float based on the format in s.Format.