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

    GH TriggerCMD Smart Home stopped working

    General Discussion
    2
    8
    202
    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.
    • Ilya AlshineI
      Ilya Alshine
      last edited by

      "TriggerCMD Smart Home" integration suddenly stopped working, keep getting "something went wrong" message. Tried unlinking/resetting numerous times without success. Other integrations, like TriggerCMD, are working fine.

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Ilya Alshine
        last edited by

        @Ilya-Alshine, I just tested it myself and it worked for me.

        Did you try it on multiple devices? If you don't have another Google Home you could use your phone.

        Also, if you can give me a time when you have a failure I could look in the logs.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • Ilya AlshineI
          Ilya Alshine
          last edited by

          Yes, iPhone, iPad, and Android Galaxy tablet. IOS devices say "something went wrong", Android "could not establish connection". Tried many times last night and continued trying this morning.

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @Ilya Alshine
            last edited by Russ

            @Ilya-Alshine, I found the problem. Your account has more than one command on the same computer with the same voice word. That was breaking the Smart Home skill/action because it was creating two virtual switches with the same name.

            I just changed the code so it creates only one virtual switch per computer / voice word combo, so you don't get duplicate switches. Now only the first command on a computer with a given voice word gets a virtual switch. If another command has the same voice word, it doesn't get a virtual switch.

            You should make sure each command has a different voice word so you can run all of them via Alexa or Google Home.

            Thank you for reporting this problem!

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            • Ilya AlshineI
              Ilya Alshine
              last edited by

              Solved it - thanks!

              Quick questions:

              I am using parameters for the first time (to turn off/on X10). So when you allow params, is it just the dual "on" "off" parameters that get set automatically in Google Home corresponding to the switch?

              Do you need to point to an external bat file that specifies that two on/off command lines or can those be included in the config.json ??

              RussR 1 Reply Last reply Reply Quote 0
              • RussR
                Russ @Ilya Alshine
                last edited by Russ

                @Ilya-Alshine, your command needs to run a .bat script that expects an " on" or " off" parameter appended to the command, like this:

                if "%1"=="on" "C:\Program Files (x86)\Kodi\kodi.exe"
                if "%1"=="off" taskkill /im kodi.exe

                Russell VanderMey

                Ilya AlshineI 1 Reply Last reply Reply Quote 0
                • Ilya AlshineI
                  Ilya Alshine @Russ
                  last edited by

                  I understand. Perhaps it makes sense to allow for that to be part of the of triggercmd config.json to avoid using external bat files.

                  RussR 1 Reply Last reply Reply Quote 0
                  • RussR
                    Russ @Ilya Alshine
                    last edited by

                    @Ilya-Alshine, maybe. I'll think about that.

                    Russell VanderMey

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