Announcement

Collapse
No announcement yet.

Change ETDeviceName Variable

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

    Change ETDeviceName Variable

    Basically I want to change the the text in the variable. I am creating push notifcation and using $$GLOBALVAR:ETDeviceName: is now $$GLOBALVAR:ETDeviceStatus:!
    The text comes out as Room then device name. I dont need the room so I would like to strip that off.
    The notication looks like
    Garage Mike's Door

    I would like to strip garage and update a variable with Mikes Door and use that in the push notifcation. Can i great and event and use regex?
    Thanks
    Mike

    #2
    themlruts - Use the updated version of the plugin -- found in the Manage Plugin beta section. It now uses separate global variables for the device location information and the name variable is now only the name.

    Comment


      #3
      Click image for larger version

Name:	garage.PNG
Views:	124
Size:	134.9 KB
ID:	1262518
      I just installed the beta. Its working great. I just want to make sure this event looks correct. It works but I want to make sure its best practice.

      Comment


        #4
        Originally posted by themlruts View Post
        Click image for larger version

Name:	garage.PNG
Views:	124
Size:	134.9 KB
ID:	1262518
        I just installed the beta. Its working great. I just want to make sure this event looks correct. It works but I want to make sure its best practice.
        Looks fine to me!

        Comment

        Working...
        X