[SOLVED] Humidity ratio, Signal K - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4) +--- Thread: [SOLVED] Humidity ratio, Signal K (/showthread.php?tid=655) |
[SOLVED] Humidity ratio, Signal K - Saqqara - 2017-08-01 I have been in contact with the developer of the Wilhelm Signalk app for iOS about its inability to display humidity properly; he says that according to SignalK standards the number should be a "ratio" and 46% humidity should be .464643630981 What Openplotter sends is SignalK is 46.4643630981. It's possible he's the one who is mistaken. Thoughts? (Seems like in a recent past version of openplotter I also saw numbers like 464643630981 without the decimal. ) I like his app a lot, but it is expensive. Greg RE: Humidity ratio, Signal K - JD1 - 2017-08-01 He can choose to say the humidity is 0.46 or he can say 46%, he can't say it's 0.46% ..... hopefully he will use the commonly accepted terminology and say 46% RE: Humidity ratio, Signal K - Saqqara - 2017-08-01 Because he is expecting it to be .65 he is multiplying x100 and then when displaying it on an "analog" gauge in Wilhelm SK app with range from 0 to 100 it is always pegged at 100. I am not familiar with this usage of the term "ratio" but a percentage is generally stored in a database as a fractional number not an integer; .6500 and not 65.00. Clearly for display on an instrument view it should say 65.00%; the question is what should SignalK be passing for this kind of number, so that various apps know what to do with it. RE: Humidity ratio, Signal K - e-sailing - 2017-08-01 (2017-08-01, 01:18 AM)Saqqara Wrote: I have been in contact with the developer of the Wilhelm Signalk app for iOS about its inability to display humidity properly; he says that according to SignalK standards the number should be a "ratio" and 46% humidity should be .464643630981 What Openplotter sends is SignalK is 46.4643630981. I think he is right. It's a bug. In diagostics SignalK input -> Unit Setting -> Sort SK Unit -> scroll down to SK Unit ratio electronical.batteries.*.capacity.stateOfCharge Description says: State of charge, 1 = 100% To be compatible to SignalK, we have to change to 1 for 100%. We will also add a convert option ratio to % for private Unit. There will be many bug reports when we change it!!! RE: Humidity ratio, Signal K - Sailoog - 2017-08-06 e-sailing has fixed this on signal k and openplotter code on 0.14.3. It may not work until a major update to update signal k code too. Marking this as solved, thanks! |