Page 2 of 3

Re: Starling Bridge Plugin Beta

PostPosted: Sun Jun 19, 2022 1:41 pm
by Ramias
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?

Re: Starling Bridge Plugin Beta

PostPosted: Sun Jun 19, 2022 2:09 pm
by autolog
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. :)

Re: Starling Bridge Plugin Beta

PostPosted: Sun Jun 19, 2022 2:13 pm
by autolog
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?

Re: Starling Bridge Plugin Beta

PostPosted: Mon Jun 20, 2022 11:26 am
by autolog
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.

Re: Starling Bridge Plugin Beta

PostPosted: Tue Jun 21, 2022 7:42 am
by autolog
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?

Re: Starling Bridge Plugin Beta

PostPosted: Tue Jun 21, 2022 11:28 am
by Ramias
The secondary fan devices show current correct state. Will check my system throughout the day and see if they change correctly.

Re: Starling Bridge Plugin Beta

PostPosted: Tue Jun 28, 2022 6:40 am
by Ramias
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

Re: Starling Bridge Plugin Beta

PostPosted: Fri Jul 01, 2022 8:02 am
by autolog
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?

Re: Starling Bridge Plugin Beta

PostPosted: Sun Jul 03, 2022 3:27 pm
by Ramias
yes it is still doing it. v 2022.0.16

Re: Starling Bridge Plugin Beta

PostPosted: Mon Jul 04, 2022 12:00 pm
by autolog
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. :)

Re: Starling Bridge Plugin Beta

PostPosted: Mon Jul 04, 2022 1:29 pm
by autolog
New version: Potential Fix For Repeating Temperature Messages

Hopefully this new version will fix the issue :?:

Re: Starling Bridge Plugin Beta

PostPosted: Fri Jul 08, 2022 7:49 pm
by Ramias
Things are looking good with the past few days of the new version.

Re: Starling Bridge Plugin Beta

PostPosted: Thu Feb 23, 2023 5:42 am
by shapa
So far, so good. All my Protects are now re-added (migrated to the google account finally)

BTW motion sensor works quite well.

Re: Starling Bridge Plugin Beta

PostPosted: Sat Mar 18, 2023 4:54 am
by shapa
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]'

Re: Starling Bridge Plugin Beta

PostPosted: Sat Mar 18, 2023 7:24 am
by autolog
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. :)