Starling Bridge Plugin Beta

Posted on
Sun Jun 19, 2022 1:41 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Starling Bridge Plugin Beta

one question - how does motion work on the protects? What is the timeout value (controlled by Starling or Indigo) for when Motion is cleared? is it max 5 seconds delay (Starling polling interval default) for when motion is detected?

Posted on
Sun Jun 19, 2022 2:09 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

Ramias wrote:
Looks fixed. Only observation, and probably not fixable the way it is designed, is what the GUI displays for a second or two after changing, before official state is pulled from the Starling -- if I set it from heat to cool in the gui, it will switch back to heat for just a moment until the Nest service recognizes and displays cool. Not a big issue at all.

I'll take a look at that to make sure there isn't something funny going on. But as a principle, the plugin only changes the Indigo states once they have been confirmed by the Starling Home hub.

Ramias wrote:
Will play with it some more and let you know but great work on this and looks very solid.

Thanks. :)

Posted on
Sun Jun 19, 2022 2:13 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

Ramias wrote:
one question - how does motion work on the protects? What is the timeout value (controlled by Starling or Indigo) for when Motion is cleared? is it max 5 seconds delay (Starling polling interval default) for when motion is detected?


The plugin just responds to the input it gets from the Starling Home Hub. So it is the Starling Home Hub that is turning the motion on and off.

I could look at setting a configurable timer in Indigo to turn it off, rarther than taking the off from the message received from the Starling Home Hub.

You could try reducing the polling time to 2 seconds and see what happens?

Posted on
Mon Jun 20, 2022 11:26 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

New updated posted on Github: Update For Fan Running Issue

This update contains:
  • Partial bug fix for Fan Running - still more debugging to be done on this!
  • Add in additional log messages for change of Fan, Humidifier and Hot Water states
  • Add in initial support for Thermostat, Preset Selected field (October 2020 Google Nest Thermostat only). Presets can be viewed but not set at the moment.

Posted on
Tue Jun 21, 2022 7:42 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

Another update available on Github: Further Update for Fan Running :)

This update reflects the fan running state in main thermostat device.

Note that the secondary fan device should be showing the correct on off state?

Posted on
Tue Jun 21, 2022 11:28 am
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Starling Bridge Plugin Beta

The secondary fan devices show current correct state. Will check my system throughout the day and see if they change correctly.

Posted on
Tue Jun 28, 2022 6:40 am
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Starling Bridge Plugin Beta

started noticing this the last several days. hundreds of lines in the log. Not sure what is triggering it.

Code: Select all
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F

Posted on
Fri Jul 01, 2022 8:02 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

Ramias wrote:
started noticing this the last several days. hundreds of lines in the log. Not sure what is triggering it.

Code: Select all
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set heating threshold setpoint to 60°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F
...
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set cooling threshold setpoint to 76°F
   Starling Bridge                 Received "Master Bedroom Thermostat (Upstairs)" set heating threshold setpoint to 58°F
   Starling Bridge                 Received "Kitchen Thermostat (Downstairs)" set cooling threshold setpoint to 76°F


I have been away this week, hence the delay in replying.

It most likely is a bug in the latest version. It shouldn't be reporting changes if the values don't change. Let me look at the code to see if I can spot what is going on.

I presume that it is still doing this?

Posted on
Sun Jul 03, 2022 3:27 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Starling Bridge Plugin Beta

yes it is still doing it. v 2022.0.16

Posted on
Mon Jul 04, 2022 12:00 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

Ramias wrote:
yes it is still doing it. v 2022.0.16

I think I have managed to reproduce it but I will need to do some further debugging to pin down the cause.

I can trigger it if I set the Thermostat into eco mode but the problem may be more general.

I'll keep you posted. :)

Posted on
Mon Jul 04, 2022 1:29 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

New version: Potential Fix For Repeating Temperature Messages

Hopefully this new version will fix the issue :?:

Posted on
Fri Jul 08, 2022 7:49 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Starling Bridge Plugin Beta

Things are looking good with the past few days of the new version.

Posted on
Thu Feb 23, 2023 5:42 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Starling Bridge Plugin Beta

So far, so good. All my Protects are now re-added (migrated to the google account finally)

BTW motion sensor works quite well.

Posted on
Sat Mar 18, 2023 4:54 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Starling Bridge Plugin Beta

Latest upgrade:

Upgrading plugin Starling Bridge to newer version 2022.1.2 (previous version moved to trash)
Loading plugin "Starling Bridge 2022.1.2" using API v3.0
Starting plugin "Starling Bridge 2022.1.2" (pid 27200)
Started plugin "Starling Bridge 2022.1.2"
Starling Bridge Error '24356915' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '329096104' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '390595234' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '429846178' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '630980857' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '667808372' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '709483602' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '975550377' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '1153059418' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '1297045693' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '1596333957' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '1855701199' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '1941214092' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'
Starling Bridge Error '1969095115' in module 'hubHandler.py', method 'handle_devices_command_protect'
Failing statement [line 364]: 'nest_dev_co_id = self.globals[HUBS][hub_id][NEST_DEVICES_BY_INDIGO_DEVICE_ID][nest_dev.id][CO_DEV_ID]'

Posted on
Sat Mar 18, 2023 7:24 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Starling Bridge Plugin Beta

Hi @shapa,

Thanks for the problem report.

Unfortunately, I can't reproduce the problem and in reviewing the code it isn't immediately obvious to me as to how it can happen, although obviously it is! :?

I have therefore created a debug version that gives a few warning / error messages to highlight the order things are happening in.
It is available on Github here: Starling Bridge V2022.1.3 [Debug only]

Can I ask you to install it and then share the output from the Indigo Event Log. You will need to give it at least 30 seconds to create its output.

Thanks. :)

Who is online

Users browsing this forum: No registered users and 1 guest