Announcement

Collapse
No announcement yet.

Changing name of groups

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing name of groups

    Hi,
    I am just getting started on this plugin and I am creating groups of devices. Is there a way to change the name of them after I create a group?
    HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

    Plug-Ins Enabled:
    Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
    weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

  • #2
    No there is no easy way to rename a group. You could edit EasyTrigger.ini and rename the group in there but that would screw up any event already using this group.
    I can't change that because the group name is what is written to the database when creating events using this feature.

    Comment


    • #3
      Originally posted by spud View Post
      No there is no easy way to rename a group. You could edit EasyTrigger.ini and rename the group in there but that would screw up any event already using this group.
      I can't change that because the group name is what is written to the database when creating events using this feature.
      I recently tried to delete an event that was used in another event, and Homeseer performed a check that prevented me from deleting the event until I removed it from the other event. Is there anyway that EasyTrigger could integrate this type of check in a renaming process? Or perhaps allow for a copy function that creates a duplicate group with a new name?

      Comment


      • #4
        spud
        Would be great if you would change the method... I'm sure you know, best to never use hardcoded names/variables. I suggest assign a RefID (ETgrpNNNN & ETschNNNN) as the database key. In the INI, map the RefID to the user given name. A one-time converter code could run through the events and change the Names to RefIDs?

        Even if the user had to do the initial manual mapping, and you wrote the converter code, way better in the long run to convert to RefID. Plus my suggestion allows much better Naming... we could use spaces, dashes, etc since the names are no longer keys in the database.

        thx

        Comment


        • #5
          Originally posted by Ltek View Post
          spud
          Would be great if you would change the method... I'm sure you know, best to never use hardcoded names/variables. I suggest assign a RefID (ETgrpNNNN & ETschNNNN) as the database key. In the INI, map the RefID to the user given name. A one-time converter code could run through the events and change the Names to RefIDs?

          Even if the user had to do the initial manual mapping, and you wrote the converter code, way better in the long run to convert to RefID. Plus my suggestion allows much better Naming... we could use spaces, dashes, etc since the names are no longer keys in the database.

          thx
          +1
          HS 3.0.0.528: 1984 Devices 1111 Events
          Z-Wave 3.0.1.256: 114 Nodes on one Z-Net

          Comment

          Working...
          X