oyve / signalk-barometer-trend

SignalK plugin to calculate the trend of barometric pressure
https://npmjs.com/signalk-barometer-trend
Apache License 2.0
3 stars 1 forks source link

Adding info to the server log ? #16

Open MatsA opened 3 years ago

MatsA commented 3 years ago

Hi and thanks for a nice plugin !

It seems that the plugin wrights to the server log every minute with the info "Handle ..... ". Check extract below. Wonder if it is by purpose ?

Thanks, Mats

Sep 15 22:41:08 Handle: {"path":"environment.outside.temperature","value":304.75} Sep 15 22:42:02 Handle: {"path":"navigation.position","value":{"longitude":12.3302848,"latitude":56.1333176}} Sep 15 22:42:03 Handle: {"path":"environment.outside.pressure","value":101631} Sep 15 22:42:05 Handle: {"path":"navigation.gnss.antennaAltitude","value":37.829147} Sep 15 22:42:10 Handle: {"path":"environment.outside.temperature","value":304.68} Sep 15 22:43:02 Handle: {"path":"navigation.position","value":{"longitude":12.3388707,"latitude":56.1346935}} Sep 15 22:43:03 Handle: {"path":"environment.outside.pressure","value":101624} Sep 15 22:43:05 Handle: {"path":"navigation.gnss.antennaAltitude","value":38.104515} Sep 15 22:43:12 Handle: {"path":"environment.outside.temperature","value":304.45} Sep 15 22:44:02 Handle: {"path":"navigation.position","value":{"longitude":12.3478816,"latitude":56.1350129}} Sep 15 22:44:03 Handle: {"path":"environment.outside.pressure","value":101590} Sep 15 22:44:05 Handle: {"path":"navigation.gnss.antennaAltitude","value":-2147.483649} Sep 15 22:44:12 Handle: {"path":"environment.outside.temperature","value":303.85} Sep 15 22:45:02 Handle: {"path":"navigation.position","value":{"longitude":12.3568833,"latitude":56.135349999999995}} Sep 15 22:45:03 Handle: {"path":"environment.outside.pressure","value":101584} Sep 15 22:45:06 Handle: {"path":"navigation.gnss.antennaAltitude","value":39.020587} Sep 15 22:45:12 Handle: {"path":"environment.outside.temperature","value":303.45}

oyve commented 3 years ago

Hi @MatsA , glad to hear you like it!

Thanks for pointing out. If you like to disable it now, I have disabled it in the #dev branch. You can install it to your Signalk, by:

cd $HOME/.signalk npm i https://github.com/oyve/signalk-barometer-trend.git#dev

I'll make sure to include it in a future release, and that you will get through the standard Signalk App Store