OpenMarine

Full Version: Changing Units
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I easily change units from K to C in Signal K instruments if it is not offered as an option. For example environment.cpu.temperature and 1 wire temperature. Yes I'm really new but getting there. I tried signal K filter but got lost. Thanks in advance.
(2020-08-22, 05:55 AM)aywwa Wrote: [ -> ]How do I easily change units from K to C in Signal K ....
Seems to be a bug..... Better post the question at Slack. http://slack-invite.signalk.org
It wasn't a bug. Please find a "how to" in this link https://github.com/SignalK/signalk-serve...umentpanel
Yes that worked. Needed an extra comma at the end of the code for me but otherwise, with a little trial and error, works fine. Thanks so much.
Also worth looking at the kip dashboard, best available imho. Set units for any data.
(2020-08-23, 10:55 AM)aywwa Wrote: [ -> ]Yes that worked. Needed an extra comma at the end of the code for me but otherwise, with a little trial and error, works fine. Thanks so much.

But when I also added environment.inside.28-0000081ba316.temperature that also worked, but removed environment.cpu.temperature. It is present in defaults.json, but doesnt appear and that code part disappears if I validate it also. I had "inside" and "28-0000081ba316" as separate lines, then as one line, same issue. Can I only have one "environment.*.temperature" in defaults.json?, that is only one conversion to Centigrade?
Thanks again.
As an example I also added the other plugin for CPU temp "signalk-raspberry-pi-monitoring" and changed the default.json, according to the enclosed file, so both values/paths are updated with "units". Hope this helps to edit. Dont know if You are familiar with Node Red ? Done a post with more RPi info https://pysselilivet.blogspot.com/2019/0...ntrol.html