2018-10-01, 08:57 PM
Not a bug.
SignalK does not work as you think. It uses only SI units. So there is no need to show the unit. Openplotter does use a file (keyswithmetadata.json) from SignalK which describes some SignalK values + some with the SI unit. You can add sentences to /usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/keyswithmetadata.json if you want to be able to use/see the private units in Diagnostic. But keep in mind the convertion to private unit is only for Diagnostic !!!
Temperatures in SignalK are always in SI unit Kelvin. Your value electrical.solar.Sensor.temperature seems to be wrong (-189,31 °C).
SignalK does not work as you think. It uses only SI units. So there is no need to show the unit. Openplotter does use a file (keyswithmetadata.json) from SignalK which describes some SignalK values + some with the SI unit. You can add sentences to /usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/keyswithmetadata.json if you want to be able to use/see the private units in Diagnostic. But keep in mind the convertion to private unit is only for Diagnostic !!!
Temperatures in SignalK are always in SI unit Kelvin. Your value electrical.solar.Sensor.temperature seems to be wrong (-189,31 °C).