Unscheduled sleep in Big Sur

Posted on
Thu Nov 26, 2020 10:17 pm
pgershon offline
Posts: 509
Joined: Jul 10, 2004

Unscheduled sleep in Big Sur

I was away for 30 hours or so, although I accessed my Mac with screen sharing a few times (did not go to Indigo). About 8 hours after my last access, I found in the Indogo log:

Nov 26, 2020 at 5:57:15 PM
Received INSTEON "Thermostat-Living Room" temperature changed to 64.0

Nov 26, 2020 at 5:58:22 PM
Received INSTEON "Thermostat-Living Room" temperature changed to 65.0

Nov 26, 2020 at 6:02:09 PM
Received sleep notification from system
Closed connection to PowerLinc 2413U

From there on, all commands were null because my 2413U was offline. I attempted to turn on my lights with the iPhone client and, while it seemed to work from the iPhone, none of the lights went on. When I got to the Mac, it was not sleeping. But I went to Indogo and I watched as the 2413U came back awake without my doing anything except accessing the Indigo client. From the log:

Sent (offline) "Back Porch Lights Main" on to 100
Nov 26, 2020 at 10:45:17 PM
Received awake notification from system
NuVo Grand Concerto Just added: Z11 to zonedev

It would be great if the system did not randomly go to sleep or if the iPhone client would wake it up. This seems to be a new problem with Bog Sur, although something similar happened once or twice in the past 3 years with previous operating systems.

Posted on
Mon Nov 30, 2020 1:04 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Unscheduled sleep in Big Sur

Indigo goes to sleep when macOS sends it the message that it's about to go to sleep - we don't randomly do it. Sleep issues have plagued macOS for years, so you might want to check the web for articles about forcing macOS stay awake.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Apr 01, 2023 9:19 am
pgershon offline
Posts: 509
Joined: Jul 10, 2004

Re: Unscheduled sleep in Big Sur (updated for 13.3 / 2022.2)

This error, which seeped to happen once a year or less, just happened three times in last six days since I upgraded to 2022.2 (twice in a 12 hour period). A bit different this time since iMac gets a sleep and then an awaken command. The first time sleep and awaken were 5 mons apart, the second time within the same minute. In both cases machine was pretty much idle, other than monitoring devices in the background. I am without even a hunch as the the cause. Logs below:

Code: Select all
Apr 1, 2023 at 1:07:08 AM
   TP-Link Devices                 1 timeouts - Normal polling resuming for device Master Bath Mirror
   TP-Link Devices                 1 timeouts - Normal polling resuming for device Master Bath Mirror

Apr 1, 2023 at 1:09:54 AM
   Received sleep notification from system
   Closed connection to PowerLinc 2413U
   ShellyMQTT                      Stopping "Upper Hill Lights MQTT"...
   MQTT Connector                  MQTT Broker Connector: Stopping Device
   TP-Link Devices                 Polling stopped for Basement Bathroom Overhead@192.168.1.240.
   MQTT Connector                  MQTT Broker Connector: Disconnecting
   TP-Link Devices                 Polling stopped for Basement Exercise Room Back@192.168.1.233.
   TP-Link Devices                 Polling stopped for Basement Exercise Room1@192.168.1.217.
   TP-Link Devices                 Polling stopped for Basement Exercise Room2@192.168.1.215.
   TP-Link Devices                 Polling stopped for Basement Lower Stairs@192.168.1.216.
   TP-Link Devices                 Polling stopped for basement Lower Stairs Pair1@192.168.1.229.
   TP-Link Devices                 Polling stopped for basement Outside Light@192.168.1.230.
   TP-Link Devices                 Polling stopped for Basement Playroom Back @192.168.1.232.
   TP-Link Devices                 Polling stopped for Basement Playroom Back pair@192.168.1.231.
   TP-Link Devices                 Polling stopped for Basement Playroom Front@192.168.1.226.
   TP-Link Devices                 Polling stopped for Basement Under Great Room@192.168.1.234.
   TP-Link Devices                 Polling stopped for Basement Water Pump Room@192.168.1.235.
   TP-Link Devices                 Polling stopped for Basement Wine Room@192.168.1.238.
   TP-Link Devices                 Polling stopped for Entry Chandelier@192.168.1.204.
   TP-Link Devices                 Polling stopped for Entry Chandelier on/off@192.168.1.206.
   TP-Link Devices                 Polling stopped for Foyer Sconce@192.168.1.205.
   TP-Link Devices                 Polling stopped for Foyer Sconce on/off@192.168.1.201.
   TP-Link Devices                 Polling stopped for guest bedroom back@192.168.1.237.
   TP-Link Devices                 Polling stopped for guest bedroom front@192.168.1.236.
   TP-Link Devices                 Polling stopped for Kitchen Foyer@192.168.1.222.
   TP-Link Devices                 Polling stopped for kitchen Hanging@192.168.1.219.
   TP-Link Devices                 Polling stopped for kitchen Hanging - S1 on/off@192.168.1.225.
   TP-Link Devices                 Polling stopped for Kitchen Hanging - S2 on/off@192.168.1.207.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #1@192.168.1.220.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #1 - S1 on/off@192.168.1.223.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #1 - S2 on/off@192.168.1.208.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #2@192.168.1.221.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #2 - S1 on/off@192.168.1.224.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #2 - S2 on/off@192.168.1.209.
   TP-Link Devices                 Polling stopped for Living Room Hall - S2 on/off@192.168.1.210.
   TP-Link Devices                 Polling stopped for Master Bath Mirror@192.168.1.202.
   TP-Link Devices                 Polling stopped for Master Bath Overhead@192.168.1.203.
   TP-Link Devices                 Polling stopped for Office Lights@192.168.1.212.
   TP-Link Devices                 Polling stopped for Pool House Outside@192.168.1.213.
   TP-Link Devices                 Polling stopped for Step Sconces@192.168.1.214.
   TP-Link Devices                 Polling stopped for Step Sconces on/off@192.168.1.211.
   TP-Link Devices                 Polling stopped for TV Room Left BOTTOM Outlet@192.168.1.239.
   TP-Link Devices                 Polling stopped for TV Room Lights@192.168.1.227.
   TP-Link Devices                 Polling stopped for TV Room Sconce@192.168.1.228.
   Received awake notification from system
   MQTT Connector                  MQTT Broker Connector: Starting Device
   NuVo Grand Concerto             Just added: Z11 to zonedev
   TP-Link Devices Error           (plugin_base.py:_device_enum_and_start_comm:1271): exception in device_start_comm(Basement Bath Fan): 'key deviceId not found in dict'
   NuVo Grand Concerto             Just added: Z03 to zonedev
   TP-Link Devices Error           (plugin_base.py:_device_enum_and_start_comm:1271): exception in device_start_comm(Basement Bath Shower): 'key deviceId not found in dict'
   NuVo Grand Concerto             Just added: Z13 to zonedev


Code: Select all
Mar 31, 2023 at 1:20:34 PM
   Received INSTEON                "Thermostat-Entry Foyer" temperature changed to 68.0

Mar 31, 2023 at 1:24:30 PM
   Received INSTEON                "Thermostat-TV Room" on (button 2)
   Received sleep notification from system
   Closed connection to PowerLinc 2413U
   ShellyMQTT                      Stopping "Upper Hill Lights MQTT"...
   MQTT Connector                  MQTT Broker Connector: Stopping Device
   TP-Link Devices                 Polling stopped for Basement Bathroom Overhead@192.168.1.240.
   TP-Link Devices                 Polling stopped for Basement Exercise Room Back@192.168.1.233.
   TP-Link Devices                 Polling stopped for Basement Exercise Room1@192.168.1.217.
   TP-Link Devices                 Polling stopped for Basement Exercise Room2@192.168.1.215.
   TP-Link Devices                 Polling stopped for Basement Lower Stairs@192.168.1.216.
   TP-Link Devices                 Polling stopped for basement Lower Stairs Pair1@192.168.1.229.
   TP-Link Devices                 Polling stopped for basement Outside Light@192.168.1.230.
   TP-Link Devices                 Polling stopped for Basement Playroom Back @192.168.1.232.
   MQTT Connector                  MQTT Broker Connector: Disconnecting
   TP-Link Devices                 Polling stopped for Basement Playroom Back pair@192.168.1.231.
   TP-Link Devices                 Polling stopped for Basement Playroom Front@192.168.1.226.
   TP-Link Devices                 Polling stopped for Basement Under Great Room@192.168.1.234.
   TP-Link Devices                 Polling stopped for Basement Water Pump Room@192.168.1.235.
   TP-Link Devices                 Polling stopped for Basement Wine Room@192.168.1.238.
   TP-Link Devices                 Polling stopped for Entry Chandelier@192.168.1.204.
   TP-Link Devices                 Polling stopped for Entry Chandelier on/off@192.168.1.206.
   TP-Link Devices                 Polling stopped for Foyer Sconce@192.168.1.205.
   TP-Link Devices                 Polling stopped for Foyer Sconce on/off@192.168.1.201.
   TP-Link Devices                 Polling stopped for guest bedroom back@192.168.1.237.
   TP-Link Devices                 Polling stopped for guest bedroom front@192.168.1.236.
   TP-Link Devices                 Polling stopped for Kitchen Foyer@192.168.1.222.
   TP-Link Devices                 Polling stopped for kitchen Hanging@192.168.1.219.
   TP-Link Devices                 Polling stopped for kitchen Hanging - S1 on/off@192.168.1.225.
   TP-Link Devices                 Polling stopped for Kitchen Hanging - S2 on/off@192.168.1.207.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #1@192.168.1.220.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #1 - S1 on/off@192.168.1.223.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #1 - S2 on/off@192.168.1.208.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #2@192.168.1.221.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #2 - S1 on/off@192.168.1.224.
   TP-Link Devices                 Polling stopped for Kitchen Overhead #2 - S2 on/off@192.168.1.209.
   TP-Link Devices                 Polling stopped for Living Room Hall - S2 on/off@192.168.1.210.
   TP-Link Devices                 Polling stopped for Master Bath Mirror@192.168.1.202.
   TP-Link Devices                 Polling stopped for Master Bath Overhead@192.168.1.203.
   TP-Link Devices                 Polling stopped for Office Lights@192.168.1.212.
   TP-Link Devices                 Polling stopped for Pool House Outside@192.168.1.213.
   TP-Link Devices                 Polling stopped for Step Sconces@192.168.1.214.
   TP-Link Devices                 Polling stopped for Step Sconces on/off@192.168.1.211.
   TP-Link Devices                 Polling stopped for TV Room Left BOTTOM Outlet@192.168.1.239.
   TP-Link Devices                 Polling stopped for TV Room Lights@192.168.1.227.
   TP-Link Devices                 Polling stopped for TV Room Sconce@192.168.1.228.

Mar 31, 2023 at 1:25:04 PM
   Squeezebox Plugin               Squeezeplayer not running
   Squeezebox Plugin               Reached stop concurrent thread command.
   Squeezebox Plugin Error         plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   LinkPlay_Device Error           Error in plugin execution:

Traceback (most recent call last):
  File "plugin.py", line 108, in runConcurrentThread
    self.updateMusicProperties()
  File "plugin.py", line 58, in updateMusicProperties
    status = requests.get("http://"+theIP+"/httpapi.asp?command=getPlayerStatus")
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/api.py", line 71, in get
    return request('get', url, params=params, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/api.py", line 57, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/sessions.py", line 477, in request
    resp = self.send(prep, **send_kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/sessions.py", line 587, in send
    r = adapter.send(request, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/adapters.py", line 481, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='192.168.1.136', port=80): Max retries exceeded with url: /httpapi.asp?command=getPlayerStatus (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fecd809d450>: Failed to establish a new connection: [Errno 50] Network is down',))

   LinkPlay_Device Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Mar 31, 2023 at 1:29:34 PM
   Squeezebox Plugin               Squeezeplayer not running
   Squeezebox Plugin               Reached stop concurrent thread command.
   Squeezebox Plugin Error         plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   LinkPlay_Device Error           Error in plugin execution:

Traceback (most recent call last):
  File "plugin.py", line 108, in runConcurrentThread
    self.updateMusicProperties()
  File "plugin.py", line 58, in updateMusicProperties
    status = requests.get("http://"+theIP+"/httpapi.asp?command=getPlayerStatus")
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/api.py", line 71, in get
    return request('get', url, params=params, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/api.py", line 57, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/sessions.py", line 477, in request
    resp = self.send(prep, **send_kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/sessions.py", line 587, in send
    r = adapter.send(request, **kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/adapters.py", line 481, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='192.168.1.136', port=80): Max retries exceeded with url: /httpapi.asp?command=getPlayerStatus (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fece00b1590>: Failed to establish a new connection: [Errno 50] Network is down',))

   LinkPlay_Device Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   DSC Alarm Error                 Connection RX Error: read failed: [Errno 54] Connection reset by peer
   DSC Alarm Error                 Tried to send data but socket seems to have closed.  Trying to re-initialize.
   DSC Alarm                       Initializing communication at address: 192.168.1.11:4025
   DSC Alarm                       Communication established
   DSC Alarm                       Connected to Envisalink.
   Received awake notification from system
   MQTT Connector                  MQTT Broker Connector: Starting Device
   NuVo Grand Concerto             Just added: Z11 to zonedev

Posted on
Sat Apr 01, 2023 11:26 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Unscheduled sleep in Big Sur


Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests