Jump to content

Bug: Removing then Adding a device causes program breakage


Mark Sanctuary

Recommended Posts

Posted

I had to redo my keypadlinc in the bedroom again because somehow it lost all links and restore devices would not work.

 

Anyways I found while doing this that after getting the device all its scenes unlinked and relinked finished that the programs still were in tact with the keypadlinc references still in them. But any of the programs that had the original keypadlinc reference in them did not function correctly.

 

I had to remove and reinsert the keypadlinc into each program it was a part of to get all the programs working again.

 

I am wondering when a device/scene is removed that all programs should have a cleanup routine done on them to make sure that any stale references are cleaned up.

Posted

Good point Mark, we NULL the device reference when it is deleted, but don't set it back if the device is added back to ISY.

 

The simplest workaround is to just restart your ISY, but if you want to leave it on, you can update all the programs that reference the device instead.

Posted

The hard part is you can't tell a program is NULLed so when the links/scenes are rebuilt and then you check your programs it looks as if they would continue to work as before.

 

Could the NULLed programs be marked in some way so the user knows they need attention or better yet could they re-sync with the programs if the device is brought back into the system?

 

Otherwise it just looks like a bug in the ISY because not all users (especially new users) have the history to understand the problem.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...