Author Topic: Logging somehow station sensor errors?  (Read 3165 times)

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6663
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Logging somehow station sensor errors?
« on: November 29, 2014, 11:19:22 PM »
Howdy Stu and WeatherCat fans,

I've succeeded in getting the Davis troubleshooting gang on the WXForum completely stumped about my miseries with my station.  However, they wanted something that I now see WeatherCat doesn't seem able to provide.  They wanted some sort of a log of when the sensor errors started and which sensors were marked as not working (and if possible why.)

I realized that for all the things that WeatherCat logs, it doesn't log sensor errors.  Stu could you scratch your head and someday think of a way to do that?

While I'm asking, how does WeatherCat detect a sensor error for a Davis station.  Does the communication protocol include a specific hardware indication of a sensor that is not working?  It would help me if I understood what WeatherCat was uncovering.

Thanks Stu for all the hard work!!  [tup]

Cheers, Edouard  [cheers1]

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2962
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Logging somehow station sensor errors?
« Reply #1 on: November 30, 2014, 08:34:09 AM »
Hi Edouard,
A sensor error is when either a value is unavailable (typically indicated in the station's protocol with a sentinel value - 0xFFFF for example) or the value is outside the range specified by the manufacturer - i.e. a barometric pressure of say 300mB.

Switch on 'Copy Log Entries To Console Log' in the WeatherCat's Advanced preferences. Whenever a sensor isn't available at sample time, WeatherCat will log a message similar to 'External Temperature not ready, retrying...'. Then scroll through the console log to see the times a sensor was invalid. (Applications->Utilities->Console.app, enter WeatherCat into the search box)


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6663
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
I'll look again. (Re: Logging somehow station sensor errors? )
« Reply #2 on: November 30, 2014, 09:43:27 PM »
Howdy Stu and WeatherCat station troubleshooters,

A sensor error is when either a value is unavailable (typically indicated in the station's protocol with a sentinel value - 0xFFFF for example) or the value is outside the range specified by the manufacturer - i.e. a barometric pressure of say 300mB.

Thanks, that's exactly what I wanted to know.  I had a suspicion that Davis had some sort of communication protocol that included a way to indicate a sensor that wasn't working correctly.  I just explained that to the folks on WXForum.

Switch on 'Copy Log Entries To Console Log' in the WeatherCat's Advanced preferences. Whenever a sensor isn't available at sample time, WeatherCat will log a message similar to 'External Temperature not ready, retrying...'. Then scroll through the console log to see the times a sensor was invalid. (Applications->Utilities->Console.app, enter WeatherCat into the search box)

Hmm, . . . . I do leave that option checked on.  I must have goofed and searched the wrong system.log file.  I was seeing the sensor errors as reported by my AppleScripts to display on webpages but I never found the actually WeatherCat entries.  It has to be my mistake.

Thanks Stu!

Cheers, Edouard  [cheers1]