TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. batteryxsnare
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    batteryxsnare

    @batteryxsnare

    0
    Reputation
    214
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    batteryxsnare Unfollow Follow

    Latest posts made by batteryxsnare

    • RE: Hubitat

      Hi Russ - I'm trying Hubitat now too...any update on this? If not, I'd like to help but not sure what I can do as I'm not an expert on groovy...

      Hubitat took the app and device handler (they call it a driver), but when I try to install it throws the following in the logs:

      app:1612019-08-02 10:26:30.534 pm errorgroovy.lang.MissingMethodException: No signature of method: user_app_vandermeyconsulting_TRIGGERcmd_145.sendNotificationEvent() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl) values: [In apiLogin with creds: [email:jon@xxxxxx, password:xxxxx]] on line 430 (initialize)
      app:1612019-08-02 10:26:30.170 pm debugIn apiLogin with creds: [email:jon@xxxxx, password:xxxxx]

      Any idea what any of that means?

      If this helps, I found this post on porting ST apps to Hubitat but not sure where to start with troubleshooting: https://community.hubitat.com/t/app-and-driver-porting-to-hubitat/812?page=2

      Let me know if there's any way you can point me in the right direction and I can try to help with porting this over...thanks as always!

      posted in General Discussion
      B
      batteryxsnare
    • RE: Migrating agent to another computer?

      Sounds good...since I'm going to have to delete and re-add anyway, should I just go ahead and do that now or wait until you update the smart app? Just dont want to redo twice, let me know!

      Also, I've been meaning to leave a review ...will do that today...

      And one more question - I meant to subscribe but cant remember if I did...can you check? If I'm not subscribed let me know and I'll do that also

      Thanks again!

      posted in General Discussion
      B
      batteryxsnare
    • Migrating agent to another computer?

      I had the agent running on one Windows machine which had to be migrated to another...I installed the agent on the new machine, copied the configuration JSON file, named it the same, etc. and all still works if I test commands in the web interface, but ST automations are no longer working through the SmartApp. Is there anything I can do in ST or the app to keep all the existing automations and just 'point' them to the new agent (which now has the same name as the old), or do I need to re-create all my automations?

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      here it is:

      Checking if the 5c68c8523b309f00167a1439 computer exists.
      This computer exists in your account.
      Tokenfile: C:\Users\Jon Isaacson.TRIGGERcmdData\token.tkn
      ComputerIDfile: C:\Users\Jon Isaacson.TRIGGERcmdData\computerid.cfg
      Logging in with saved token to run foreground tasks.
      Write backup completed.

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 07:13:20 GMT-0800 (Pacific Standard Time)

      Initiated command removals
      Initiated command adds
      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }
      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 07:16:41 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }
      Opening GUI editor
      Downloading example commands
      Write backup completed.
      Initiated command adds
      Initiated command removals
      Write backup completed.
      Initiated command removals
      Initiated command adds
      Added TriggerCMD RifleSafe
      { trigger: 'TriggerCMD RifleSafe',
      id: '5c6acd71592b050016ee4fa1' }
      Running trigger: TriggerCMD RifleSafe Command: c:\ivbind\IvSendEvent -l 192.168.88.173 -n 100 10.69.1.111 -a Vibration
      Reported: Command Ran
      Write backup completed.
      Initiated command adds
      Initiated command removals
      Deleted Notepad
      Write backup completed.
      Initiated command adds
      Initiated command removals
      Deleted Calculator
      Write backup completed.
      Initiated command removals
      Initiated command adds
      Added TriggerCMD PistolSafe

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 08:25:52 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 10:10:06 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 15:40:35 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 16:01:19 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 17:57:38 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.2.1)
      Connected at: Mon Feb 18 2019 21:19:16 GMT-0800 (Pacific Standard Time)

      { message: 'Subscribed to 5c68c8523b309f00167a1439!' }

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      Only AV on the machine is Windows Defender...disabled real-time protection, uninstalled/re-installed background service but still not starting on reboot. Oh well, guess I'll just set the machine to auto-login and run foreground commands since they do seem to be working now.

      Thanks for your help

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      Yes, the background command is still not listed, and the background service was running.

      I rebooted the PC and on reboot, the service didnt start on it's own but I manually started it and background command still isnt listed.

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      Well, now I've installed the background service and started it, but the sample reboot command which is a background command still listed in the web interface...is that expected?

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      I tried changing my command to a foreground command but that didn't show up either.

      I tried deleting the user data folder but I've done that again, restarted the agent, and put the token in. I left the default sample commands there (notepad and calculator foreground and the reboot pc command background command). I see the computer listed in the web interface with the two foreground commands, but the background command doesn't show up. Is that expected?

      If so, should I just use foreground commands?

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      @russ when I checked it wasn't started...I tried uninstalling and re-installing but it still wasn't started after installation...that said, it has no problem starting when I manually start it. Once I manually start it, it starts back up fine automatically with reboots. Still no commands in the web interface though...

      posted in General Discussion
      B
      batteryxsnare
    • RE: Windows agent not updating triggers on triggercmd.com, ST smartapp?

      @russ I did create them as background because admittedly I didnt read the documentation and assumed that would allow them to run with a service (which i also assumed was installed) instead of in the foreground. So, I right-clicked the agent trayicon, clicked install background service, and verified it was running- but still no triggers showing in the cloud.

      Notepad, calc, etc. showed up when I deleted the user files and reinstalled but I deleted them since I dont need them.

      posted in General Discussion
      B
      batteryxsnare