Author Topic: Logging while Mac is in sleep mode  (Read 3690 times)

Denver

  • Gentle Breeze
  • **
  • Posts: 33
    • EW3940
    • KCASCOTT13
  • Station Details: Davis Vantage Vue, Data Logger, iMac 10.10.5, WeatherCat 1.23 Build 16
Logging while Mac is in sleep mode
« on: November 19, 2013, 04:41:56 PM »
Hi,
I seem to remember reading somewhere that Weathercat has active processes that run on the Mac even when it is in sleep mode.   I just installed Weathercat yesterday, and it was working fine at the end of the day.   This morning I was surprised to see that Weathercat stopped updating last night when the Mac went into sleep mode.   The log output shows the following,

12:09:59 AM 19-Nov-2013:  ***WARNING*** This Mac is going to sleep, WeatherCat will not issue any email alerts.
 8:22:14 AM 19-Nov-2013:  WeatherCat was asleep for 492 minutes and missed 492 updates. Re-initializing.

So the question is how to I configure Weathercat processes to continue even when the Mac is in sleep mode?   One reason that I chose Weathercat is because of this feature...

Thank you,
Denver

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Logging while Mac is in sleep mode
« Reply #1 on: November 19, 2013, 07:28:39 PM »
Hi Denver,
WeatherCat can't run whilst your Mac is asleep. It isn't recommended to allow your computer sleep whilst WeatherCat is running - USB to serial converters may or may not cope with it and later Mac's occasionally wake up to briefly check mail and perform other tasks before going back to sleep again. Either quit WeatherCat before the Mac goes to sleep, shutdown instead of sleep or just let the display sleep.

Denver

  • Gentle Breeze
  • **
  • Posts: 33
    • EW3940
    • KCASCOTT13
  • Station Details: Davis Vantage Vue, Data Logger, iMac 10.10.5, WeatherCat 1.23 Build 16
Re: Logging while Mac is in sleep mode
« Reply #2 on: November 19, 2013, 09:15:13 PM »
Ok, thanks.  Just trying to increase the lifespan of the computer.  I'll sleep the console and see how it works out.

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Logging while Mac is in sleep mode
« Reply #3 on: November 20, 2013, 02:37:25 AM »
Denver,

Do what most of us do; let the Mac run 24/7, but have the display shut off after whatever time you desire.

Steve
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook