Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global find/replace
I'm moving from an Insteon PLM to using an ISY99 for my insteon control. I was hoping I could just use the same drivername with the ISY and all would be good. Unfortunately, thats not the case.

Now what used to be Insteon.* is Insteon.*_Status. For example : Insteon.FamilyRoom is now Insteon.FamilyRoom_Status

I have a screen that has a ton of boolean images on it. I can't use XLat on the template because each set of images relies on a different field.

Any ideas? Should I create a Variable driver called Insteon with all the same field names I have now. Then I would create a driver called ISY instead of Insteon. Lastly, I'd need to set triggers on all the ISY *_Status fields to update the appropriate Variable driver field? This seems like a pain but still so much better than going through 5 images for each of 26 buttons/fields. I really don't want to click and update a total of 130 controls.

A global search/replace has been requested a few times. Dunno if it moved up the list when I wasn't lookin'.
well, guess I'll go with my hack. Seems much easier than having to manuall find and replace all the instances where the name changed.

Now I just need to find out how to use the eventing system to have a single handler take care of all changes for the INSTEON drive, then get the field name that was changed, and update the new driver. But i don't know how to get (1) the name of the field that was changed or (2) the new value of the field. Advice?

// Pseudo code
ISY.%(LVar:FieldName)_Status = %(LVar:NewValue).

Possibly Related Threads…
Thread Author Replies Views Last Post
  Global Cache GC-100 - How to add IR Code??? Deane Johnson 7 2,725 11-25-2019, 09:26 AM
Last Post: Deane Johnson
  Time to replace my mSata HDD. ellisr63 4 2,016 11-23-2018, 11:47 AM
Last Post: ellisr63
  global actions and lighting groups jkmonroe 11 7,600 06-02-2017, 08:27 PM
Last Post: Dean Roddey
  Global-Cache-iTach-Wi-Fi-WF2IR with CQC Deane Johnson 18 8,435 12-20-2014, 06:09 PM
Last Post: znelbok
  IR code / Global Cache question ControlFreak 11 8,482 11-09-2014, 09:27 PM
Last Post: MikeA
  IP2SL Global Cache maxxsinner 7 4,624 06-08-2014, 02:16 PM
Last Post: Dean Roddey
  Replace FailOnErr with False standon 3 2,465 11-21-2011, 12:58 PM
Last Post: Dean Roddey
  "Find" existing install? AnthonyZ 15 5,158 10-31-2010, 07:45 PM
Last Post: Dean Roddey
  Global Cache GC-100-18 help... AnthonyZ 33 9,069 06-03-2009, 10:07 AM
Last Post: Dean Roddey
  variable (Local & Global) replace function question znelbok 8 3,918 02-08-2009, 06:38 AM
Last Post: wuench

Forum Jump:

Users browsing this thread: 1 Guest(s)