Received sleep notification from system

Posted on
Wed Jul 31, 2013 7:55 pm
ctakim offline
Posts: 7
Joined: Jul 15, 2013

Received sleep notification from system

I've just started to program Indigo 6.0 but I'm a newbie to this software. I have it controlling my Insteon light switches and it seemed be working well for a few days but now the control of my exterior lights seems to not be going off and on as scheduled in the evenings. For some reason my system seems to be going to sleep. The event log shows the following:
Jul 31, 2013 3:25:22 PM
Received sleep notification from system
Closed connection to PowerLinc 2413U

This might be a stupid question but when the system wakes it seems to work fine. Is this because the energy saver program on my iMac is putting the computer to sleep? Or is this an Insteon/Indigo issue?

TIA,
ctakim

Posted on
Wed Jul 31, 2013 9:41 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Received sleep notification from system

It's the energy saver on your Mac - you should set it so that the computer never sleeps though allowing the display to sleep is fine.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jun 11, 2015 10:59 pm
gauchers offline
Posts: 2
Joined: Jun 11, 2015

Re: Received sleep notification from system

I've been having this problem ever since upgrading to Yosemite on my Mac mini 2013. I've tried adjusting all the relevant energy preferences & have tried 3rd party apps like amphetamine and juggler - all to no avail. Anybody having a similar problem? It's becoming quite an annoyance to say the least...

Posted on
Fri Jun 12, 2015 10:51 am
haavarda offline
User avatar
Posts: 702
Joined: Aug 18, 2012
Location: Norway

Re: Received sleep notification from system

Also be aware that if you are using an apple tv nearby, you can put the mac to sleep via the apple tv remote. It took be a bit fault finding to figure that out :D

Håvard

Håvard

Posted on
Fri Jun 12, 2015 1:40 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Received sleep notification from system

There was (at some point) an OS release that was still going to sleep regardless of the setting to never sleep. Seems like there's a utility out there that seemed to help but I can't remember the name. Anyone?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 12, 2015 2:06 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Received sleep notification from system

This is the one I use :)
Caffeine.png
Caffeine.png (33.56 KiB) Viewed 7219 times


Link is here: Caffeine :)

Posted on
Fri Jun 12, 2015 4:41 pm
tadg offline
Posts: 29
Joined: Feb 13, 2008
Location: San Diego, CA

Re: Received sleep notification from system

You can use the OS X built in shell command 'caffeinate' it will keep the system or display awake, for a set time, or until an utility or process exits. I use it all the time to make sure encodes and backups finish before the system sleeps.

It doesn't actually solve the underlying problem, but you can run
Code: Select all
caffeinate -i -w <pid of indigo service>
as a stopgap.

CAFFEINATE(8) BSD System Manager's Manual CAFFEINATE(8)

NAME
caffeinate -- prevent the system from sleeping on behalf of a utility

SYNOPSIS
caffeinate [-disu] [-t timeout] [-w pid] [utility arguments...]

DESCRIPTION
caffeinate creates assertions to alter system sleep behavior. If no
assertion flags are specified, caffeinate creates an assertion to prevent
idle sleep. If a utility is specified, caffeinate creates the assertions
on the utility's behalf, and those assertions will persist for the dura-
tion of the utility's execution. Otherwise, caffeinate creates the asser-
tions directly, and those assertions will persist until caffeinate exits.

Available options:

-d Create an assertion to prevent the display from sleeping.

-i Create an assertion to prevent the system from idle sleeping.

-m Create an assertion to prevent the disk from idle sleeping.

-s Create an assertion to prevent the system from sleeping. This
assertion is valid only when system is running on AC power.

-u Create an assertion to declare that user is active. If the dis-
play is off, this option turns the display on and prevents the
display from going into idle sleep. If a timeout is not specified
with '-t' option, then this assertion is taken with a default of
5 second timeout.

-t Specifies the timeout value in seconds for which this assertion
has to be valid. The assertion is dropped after the specified
timeout. Timeout value is not used when an utility is invoked
with this command.

-w Waits for the process with the specified pid to exit. Once the
the process exits, the assertion is also released. This option
is ignored when used with utility option.

EXAMPLE
caffeinate -i make
caffeinate forks a process, execs "make" in it, and holds an assertion
that prevents idle sleep as long as that process is running.

Posted on
Mon Jun 15, 2015 3:09 pm
gauchers offline
Posts: 2
Joined: Jun 11, 2015

Re: Received sleep notification from system

Thanks for the replies. I have tried the Caffeine app recently as well with no success. I will try the command line tonight. Any other suggestions? I'll try anything!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests