fix(pkg/server): logging and save values into postgres

This commit is contained in:
2020-01-18 14:55:43 +01:00
parent 6f45c2957a
commit 671a3eb748
8 changed files with 158 additions and 34 deletions

View File

@ -86,7 +86,7 @@ func PrintSensors(cnf *config.Configuration, w io.Writer) error {
}
if sensor.I2CAddress != nil {
fmt.Fprintf(tw, "%v\t", string(*sensor.I2CAddress))
fmt.Fprintf(tw, "%#v\t", *sensor.I2CAddress)
} else {
fmt.Fprintf(tw, "\t")
}