Announcement

Collapse
No announcement yet.

Documentation Question

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

    Documentation Question

    Hello and happy Easter.

    I'm trying to configure an event with multiple device commands, and I can't make "send a string of commands" work. What is the format of the command strings? I'm assuming the same names in the single command dropdown list with some delimiter, but what's the delimiter?

    I must not have it right, as I can't collapse the command when I'm done.

    #2
    Right now it requires a very specific format until I can figure out the best way to build a ui.

    You can find more information here:
    https://forums.homeseer.com/showthread.php?p=1356301

    Note that currently all commands must be from the same device. I will be adjusting it in the near future to support sending commands to more than one device.

    Sent from my Pixel 2 XL using Tapatalk

    Comment


      #3
      Thanks for the prompt response! I'll give it a shot.

      Comment


        #4
        I'm running plugin version 3.0.3.1. Using the format you documented, the following commands won't work in the "Send a string of commands".

        Code:
        [{Command:"Exit",Wait:2000}{Command:"DirectionDown"}]
        But I can enter this and it's accepted:

        Code:
        [{Command:"Exit",Wait:2000}]
        The whole thing I want to add is this, which also isn't accepted:

        Code:
        [{Command:"Exit",Wait:2000}{Command:"DirectionDown",Repeat:3,RepeatDelay:750,Wait:1000}{Command:"Select"}]
        These are commands from a FireTV device. I have a working event with individual commands working fine.

        Maybe I'm missing something and new eyes are necessary.

        Comment


          #5
          Between each {} pair make sure to put a comma.

          [{Command:"Exit",Wait:2000},{Command:"DirectionDown",Repeat:3 ,RepeatDelay:750,Wait:1000},{Command:"Select"}]

          Sent from my Pixel 2 XL using Tapatalk

          Comment


            #6
            OK, but I'm sure you're aware, the examples in the link you pointed out earlier in the thread don't have commas in between the commands.

            The command is accepted when I enter it that way, but does nothing when executed.

            I have 3 lines in the event.

            Start an activity
            Wait 5 seconds
            Send a string of commands

            The activity execution works, but the string of commands doesn't seem to do anything. I enabled debugging in the plugin and this is what resulted when I executed the event:

            2018-04-01 17:44:54,253 DEBUG [4] HSPI - Settings changed. Saving settings
            2018-04-01 17:44:58,373 DEBUG [14] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:44:58,373 DEBUG [44] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:44:58,396 DEBUG [20] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Heartbeat success for hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b
            2018-04-01 17:44:58,396 DEBUG [15] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: Heartbeat success for hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9
            2018-04-01 17:45:11,935 DEBUG [44] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:11,956 DEBUG [46] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: Heartbeat success for hub 8821a245-8f9d-496d-16c8-0d676feaeb70
            2018-04-01 17:45:13,314 DEBUG [38] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:13,761 DEBUG [44] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b had its sleep timer updated from -1 to -1
            2018-04-01 17:45:13,761 DEBUG [14] HSPI - Hub with ID 8bd8232f-abe8-4e2e-aba9-7b51ad08201b has started activity 20702919
            2018-04-01 17:45:19,649 DEBUG [36] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b had its sleep timer updated from -1 to -1
            2018-04-01 17:45:19,649 DEBUG [38] HSPI - Hub with ID 8bd8232f-abe8-4e2e-aba9-7b51ad08201b is starting activity 20702919
            2018-04-01 17:45:20,198 DEBUG [20] HSPI - Hub with ID 8bd8232f-abe8-4e2e-aba9-7b51ad08201b had it's activity updated to 20702919
            2018-04-01 17:45:20,261 DEBUG [44] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b had its sleep timer updated from -1 to -1
            2018-04-01 17:45:28,373 DEBUG [14] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:28,373 DEBUG [36] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:28,394 DEBUG [20] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Heartbeat success for hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b
            2018-04-01 17:45:28,395 DEBUG [15] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: Heartbeat success for hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9
            2018-04-01 17:45:41,936 DEBUG [36] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:41,959 DEBUG [46] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: Heartbeat success for hub 8821a245-8f9d-496d-16c8-0d676feaeb70
            2018-04-01 17:45:58,373 DEBUG [38] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:58,373 DEBUG [44] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:45:58,395 DEBUG [15] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: Heartbeat success for hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9
            2018-04-01 17:45:58,395 DEBUG [20] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Heartbeat success for hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b
            2018-04-01 17:46:11,937 DEBUG [38] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:46:11,963 DEBUG [46] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: Heartbeat success for hub 8821a245-8f9d-496d-16c8-0d676feaeb70
            2018-04-01 17:46:28,374 DEBUG [36] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:46:28,374 DEBUG [14] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:46:28,396 DEBUG [15] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: Heartbeat success for hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9
            2018-04-01 17:46:28,398 DEBUG [20] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Heartbeat success for hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b
            2018-04-01 17:46:41,950 DEBUG [36] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:46:41,971 DEBUG [46] HSPI - Debug Message for Hub 8821a245-8f9d-496d-16c8-0d676feaeb70: Heartbeat success for hub 8821a245-8f9d-496d-16c8-0d676feaeb70
            2018-04-01 17:46:58,374 DEBUG [38] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:46:58,374 DEBUG [44] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: RequestResponse: Heartbeat Enabled?: True
            2018-04-01 17:46:58,394 DEBUG [20] HSPI - Debug Message for Hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b: Heartbeat success for hub 8bd8232f-abe8-4e2e-aba9-7b51ad08201b
            2018-04-01 17:46:58,395 DEBUG [15] HSPI - Debug Message for Hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9: Heartbeat success for hub d62c35e6-5e2e-43c7-96d0-6b74ac8d3cd9

            Comment


              #7
              Hmm... I wonder if something stripped them out. I will fix the plug-in and the examples tonight.

              Sent from my Pixel 2 XL using Tapatalk

              Comment


                #8
                I fixed the documentation. I have no excuse for that, I just completely flubbed it..LOL.

                As for the plugin, I will release 3.0.3.4 tonight which fixes this.

                Comment


                  #9
                  That's great, thanks for the fast response.


                  Sent from my Pixel 2 using Tapatalk

                  Comment


                    #10
                    Originally posted by mterry63 View Post
                    That's great, thanks for the fast response.


                    Sent from my Pixel 2 using Tapatalk
                    I tried my best to get it out last night .I actually have all the work done, but I have to package it up. Unfortunately, our 4 y/o who is not wanting to go to bed drew my attention away from finishing up the release. I'll put it out tonight.

                    Comment


                      #11
                      No worries, I have a workaround with the single command per line event. Thanks for the prompt support.

                      Comment


                        #12
                        This is fixed and in 3.0.3.4.

                        See details here: https://forums.homeseer.com/showthread.php?p=1358977

                        *Note that this version is in the beta section of the updater.

                        Comment

                        Working...
                        X