TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Leron Tolmachev
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Leron Tolmachev

    @Leron Tolmachev

    0
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Leron Tolmachev Unfollow Follow

    Latest posts made by Leron Tolmachev

    • RE: Triggers appearing in view runs but not actually triggering.

      @Russ I currently do not have the parameters enabled, but before creating this post, I did try out exactly what you'd suggested (I enabled parameters and set the off-command to be identical to the command), but the behavior was the same, the "view runs" logged the command being sent from HA, but the "Runs" count didn't increment.

      Feel free to let me know if we should just give up on troubleshooting this. I'm sure you have more important things to do and I now know that I can disable the offline component as a functional workaround.

      Otherwise, I'm happy to keep digging and will perform any troubleshooting steps/provide any logs or screenshots you request

      posted in Mac
      Leron TolmachevL
      Leron Tolmachev
    • RE: Triggers appearing in view runs but not actually triggering.

      @Russ I had done it before, but just in case I made a mistake when copy/pasting I just deleted the old token, generated a new one and configured it in the TRIGGERcmd agent for Mac.

      My log shows the following (with individual IDs omitted) when I attempted to flip the switch in HA (which didn't put the mac to sleep)

        |>    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: Thu May 29 2025 14:56:10 GMT-0700 (Pacific Daylight Time)
      
      
      
      { message: 'Subscribed to [alphanumeric_id_omitted]!' }
      Opening Home Assisant Config
      Configuration saved:
      Connected to Local Home Assistant WebSocket API
      Local Home Assistant Authentication successful!
      Computer name for Local Home Assistant listener: Leron-SL
      triggercmd.com data:
      {
        trigger: 'sleep-leron-work-laptop',
        id: '[string_of_digits_omitted]',
        sender: 'Home Assistant'
      }
      Ignored duplicate trigger
      
      
      posted in Mac
      Leron TolmachevL
      Leron Tolmachev
    • RE: Triggers appearing in view runs but not actually triggering.

      @Russ I unchecked the enable box and then quit & re-launched the agent like you suggested. I then tried triggering the switch in Home Assistant and it successfully turned off the device.

      As for the online vs offline functionality, my HA instance is accessible from http://homeassistant.local:8123

      If it matters, my Macbook is connected to the internet via an Ethernet cable and only falls back on the Wireless network if that cable gets unplugged.

      Any guesses as to how to make the command work directly from HA via that offline option? It sounds realiy nice for not needing to rely on the external network

      posted in Mac
      Leron TolmachevL
      Leron Tolmachev
    • RE: Triggers appearing in view runs but not actually triggering.

      @Russ Gotcha, sorry if I misinterpreted your ask. The button you indicated from the website does work, both when used on the Macbook itself and when pressed on my smartphone.

      posted in Mac
      Leron TolmachevL
      Leron Tolmachev
    • RE: Triggers appearing in view runs but not actually triggering.

      @Russ, yes I've installed the TriggerCMD agent version 1.0.45, the Icon is present in my menu bar (kinda wish it were monochrome to match the others but that's a very small gripe), and when I click the green ▶️ button the mac goes to sleep as expected, but for some reason i can't get the same behavior to occur when triggering via HA

      81424522-a3dd-40e6-9a4e-4322b4ffe0d3-image.png

      posted in Mac
      Leron TolmachevL
      Leron Tolmachev
    • Triggers appearing in view runs but not actually triggering.

      I've installed TRIGGERcmd on my Macbook and have created the following command:

      [
       {
        "trigger": "sleep-leron-work-laptop",
        "command": "pmset sleepnow",
        "offCommand": "",
        "ground": "foreground",
        "voice": "",
        "voiceReply": "",
        "allowParams": "false"
       }
      ]
      

      When I flip the switch inside of Home Assistant, the "view runs" log updates to show "Trigger sent from Home Assistant" but nothing happens after that and the "Runs" count doesn't increase from zero.

      Can someone explain how I bridge the final gap between the website identifying that the trigger was sent from HA and turn that into the trigger actually running on my Macbook?

      posted in Mac
      Leron TolmachevL
      Leron Tolmachev