Scene Error

Coolcaper
Posts: 299
Joined: Fri Aug 30, 2013 9:37 pm
Location: Australia

Scene Error

Post by Coolcaper »

I am trying to execute the Christmas scene with the Garden Mini Poles which are similar to these:
https://consumer.sylvania.com/our-produ ... /index.jsp

I am getting this:

Action Group Front Garden Poles Xmas Scene
Sylvania Lightify Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 865, in startScene
IndexError: index 4 out of list range

Tried it with the Color bulbs as well and same result.
User avatar
rbdubz3
Posts: 230
Joined: Sun Sep 18, 2016 9:33 am
Location: San Diego, CA

Re: Scene Error

Post by rbdubz3 »

Coolcaper - guess I need to hire a QA team for my stuff.. Or figure out an easy way to clean all of my settings so I can test my plugin as a brand new install

I think I have found the issue - but may try to fix it a bit more cleanly.. Can you try the following interim hack:
  • * Open the 'Edit Scenes' dialog and select 'Christmas'
    * switch Scene Type to 'Circadian'
    * add some values into the Circadian settings if they are empty
    * Click 'Save Scene' to save the settings
    * switch Scene Type back to 'Match Color/Temp' (existing color/temp settings from before should be retained)
    * Click 'Save Scene' to save the settings
I automate because I am lazy :D - My Plugins: viewforum.php?f=309
Coolcaper
Posts: 299
Joined: Fri Aug 30, 2013 9:37 pm
Location: Australia

Re: Scene Error

Post by Coolcaper »

No dramas mate. Quite late here now. Will try it out later today and let you know. Thanks for trying to sort it out.


Sent from my iPhone using Tapatalk
Coolcaper
Posts: 299
Joined: Fri Aug 30, 2013 9:37 pm
Location: Australia

Re: Scene Error

Post by Coolcaper »

rbdubz3 wrote:Coolcaper - guess I need to hire a QA team for my stuff.. Or figure out an easy way to clean all of my settings so I can test my plugin as a brand new install

I think I have found the issue - but may try to fix it a bit more cleanly.. Can you try the following interim hack:
  • * Open the 'Edit Scenes' dialog and select 'Christmas'
    * switch Scene Type to 'Circadian'
    * add some values into the Circadian settings if they are empty
    * Click 'Save Scene' to save the settings
    * switch Scene Type back to 'Match Color/Temp' (existing color/temp settings from before should be retained)
    * Click 'Save Scene' to save the settings
Thats seems to have fixed it! Thanks
User avatar
rbdubz3
Posts: 230
Joined: Sun Sep 18, 2016 9:33 am
Location: San Diego, CA

Re: Scene Error

Post by rbdubz3 »

fixed this bug in the latest version 1.0.3
I automate because I am lazy :D - My Plugins: viewforum.php?f=309
Coolcaper
Posts: 299
Joined: Fri Aug 30, 2013 9:37 pm
Location: Australia

Re: Scene Error

Post by Coolcaper »

Thanks for the update but it seems the bug is still present:

Code: Select all

Action Group                    Front Garden Poles Xmas Scene
   Sylvania Lightify Error         Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 769, in startScene
IndexError: index 0 out of list range
Also when I restart the plugin I get:

Code: Select all

Starting plugin "Sylvania Lightify 1.0.3" (pid 13152)
   Started plugin "Sylvania Lightify 1.0.3"
   Sylvania Lightify               Startup - SylvaniaLightify Plugin, version=1.0.3
   Sylvania Lightify               Initializing Lightify Hub, IP Address=10.0.1.42
   LightifyDirect                  Initializing python lightifydirect, version=1.0.3
   LightifyDirect                  ...Lightify Connecting...
   Sylvania Lightify               pluginPrefs lacks scenesList.  Adding.
   Sylvania Lightify Error         Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 247, in startup
IndexError: string index out of range

   Sylvania Lightify               Starting device: Front Garden Poles, lightifyHubIpAddr=10.0.1.42
   Sylvania Lightify               Starting device: Porch Lights, lightifyHubIpAddr=10.0.1.42
   Sylvania Lightify               Starting device: Side Entrance Lights, lightifyHubIpAddr=10.0.1.42
   Sylvania Lightify               Starting device: Side Yard Lights, lightifyHubIpAddr=10.0.1.42
   Sylvania Lightify               Starting device: Verandah Lights, lightifyHubIpAddr=10.0.1.42
   Sylvania Lightify               Starting concurrent thread
User avatar
rbdubz3
Posts: 230
Joined: Sun Sep 18, 2016 9:33 am
Location: San Diego, CA

Re: Scene Error

Post by rbdubz3 »

sorry 'bout that coolcaper .. try out version 1.0.5 ..

So in v1.0.3 I attempted to modify the persistence of scenes to support future updates more seamlessly. However, I missed on some corner cases in converting from old persistence to new. If I am still missing something that is causing issues, I will probably request that we clean out your preferences for the plugin and start fresh (you'll need to re-create any customizations to your scenes).. Apologies for the inconvenience
I automate because I am lazy :D - My Plugins: viewforum.php?f=309
Coolcaper
Posts: 299
Joined: Fri Aug 30, 2013 9:37 pm
Location: Australia

Re: Scene Error

Post by Coolcaper »

Seems to be working fine. Will update if any issues. Thanks for your work on this.
Post Reply

Return to “Sylvania Lightify”