TRIGGERcmd
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    X10 devices with Alexa TRIGGERcmd Smart Home skill

    Alexa
    4
    11
    1325
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Russ
      Russ last edited by Russ

      Bubba did a great job explaining the process in his videos, but here's a summary of the process for X10 users:

      1. Plug one of these into your PC’s USB port.
      2. Install and run this software (do not change the port from 6003 to 8086).
      3. Setup an X10 switch as A3.
      4. Create a TRIGGERcmd account
      5. Install the TRIGGERcmd agent (bottom of the page)
      6. Install curl for Windows
      7. Create a batch file with these contents:
      if "%1"=="on" curl http://127.0.0.1:8086/?x10command=DEVICE~sendplc~%%22A3%%20on%%22
      if "%1"=="off" curl http://127.0.0.1:8086/?x10command=DEVICE~sendplc~%%22A3%%20off%%22
      
      1. Use the TRIGGERcmd agent software to create a TRIGGERcmd command that runs the batch file,
        a. Enable parameters (for on and off parameter).
        b. Fill in the Voice field with “kitchen lights” or something similar depending on what the A3 switch is for.
      2. Link the Alexa TRIGGERcmd Smart Home skill to your TRIGGERcmd account.
      3. Use the Alexa Web app to Discover devices.
      4. Say, “Alexa, turn on kitchen lights.”
      5. Say, “Alexa, turn off kitchen lights.”

      Also, here's a video on the new Alexa TRIGGERcmd Smart Home skill.

      Russell VanderMey

      karnold69 1 Reply Last reply Reply Quote 0
      • J
        johnnyx10 last edited by

        I was unable to get this to work with batch files with your syntax and tried other variations but x10 commander never sent the command. I ended up using the on command line and the off command line in the TRIGGERcmd GUI to issue the CURL commands and using~sendrf~ in the syntax for the X10 CM19a. But the overall syntax worked. I also used the actual IP address of the WINPro PC that is running Windows 10.

        Russ 1 Reply Last reply Reply Quote 0
        • Russ
          Russ @johnnyx10 last edited by

          @johnnyx10, I'm glad the Off Command field worked. I figured X10 switches would be a good use case for that.

          Russell VanderMey

          tuicemen 1 Reply Last reply Reply Quote 0
          • tuicemen
            tuicemen @Russ last edited by

            I realize this is an old thread but it needs to be pointed out that this is not the only way to control X10 from TRIGGERcmd.
            The software "X10commander" is a third party software built using the X10 SDK sample program AHCMD which uses the x10 driver (dll). You can directly call this Windows sample program with TRIGGERcmd or use 1 of many other programs that use AHCMD, the x10 driver or their own drivers.

            I have nothing against X10commander so please don't take my comments as such. Originaly AHCMD was only in the AHP SDK but later included with the ActiveHomePro (AHP)x10 software. It was only intended to use for simple single command sends and to help debug AHP. Pushing to many commands in a row to AHCMD can cause it to behave erratic or even lock up. If you intend to use AHCMD please besure to use the one that came with AHP 3.318 as it will be the most stable.

            1 Reply Last reply Reply Quote 2
            • Moved from Instructions by  tuicemen tuicemen 
            • karnold69
              karnold69 @Russ last edited by karnold69

              @russ

              Does this work with a Firecracker? It would be my preference to use that if so. That seems to be the main device X10 Commander works with. Thanks.

              Ken Arnold

              tuicemen 1 Reply Last reply Reply Quote 0
              • tuicemen
                tuicemen @karnold69 last edited by

                @karnold69 the last AHSDK was updated to work with all x10 computer interfaces. Though I would consider a different x10 computer module unless that's all you had.

                1 Reply Last reply Reply Quote 0
                • karnold69
                  karnold69 last edited by

                  @johnnyx10 Could you please post the commands you used? And where do the .bat files go? I'm guessing the file name for the .bat files goes in the "Select Trigger" field? If not, what goes in that field? Thanks!

                  Russ 1 Reply Last reply Reply Quote 0
                  • Russ
                    Russ @karnold69 last edited by

                    @karnold69, to run .bat files, save them in a folder, like c:\scripts then put the full path to it in the Command field.

                    d630bfd1-a7f8-402b-ba58-b6ef31d0a764-image.png

                    Russell VanderMey

                    karnold69 2 Replies Last reply Reply Quote 0
                    • karnold69
                      karnold69 @Russ last edited by

                      @russ You're awesome! Got it working and subscribed. So happy to have voice control back since Insteon died! Luckily my Insteon wall switches were all programmed with X10 codes. Just had to rebuy new plug in modules and in line modules.

                      1 Reply Last reply Reply Quote 0
                      • karnold69
                        karnold69 @Russ last edited by

                        @russ Do you know of a .bat file parameter to turn a light on dim?

                        Russ 1 Reply Last reply Reply Quote 0
                        • Russ
                          Russ @karnold69 last edited by

                          @karnold69, do you know the command to change the brightness? If so, you can use the percent from 0 to 100 that Alexa or Google Assistant will send when you change the brightness with you voice. The number will be the parameter instead of on or off.

                          Russell VanderMey

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post