home-assistant.io/source/_integrations/triggercmd.markdown
2024-09-25 20:44:17 +02:00

1.4 KiB

title description ha_category ha_release ha_iot_class ha_config_flow ha_codeowners ha_domain ha_platforms ha_integration_type
TRIGGERcmd How to integrate TRIGGERcmd with Home Assistant.
Automation
Switch
2024.10 Cloud Polling true
@rvmey
triggercmd
switch
hub

The TRIGGERcmd {% term integration %} allows you to run commands on computers via TRIGGERcmd with Home Assistant.

Prerequisites

To use TRIGGERcmd, you need the following:

  • A TRIGGERcmd account
  • A computer with the TRIGGERcmd agent running on it
  • For instructions on installing and using TRIGGERcmd itself, refer to the TRIGGERcmd Quick Start Guide.
  • After adding the TRIGGERcmd integration, you will be prompted for your user token. This can be found at the bottom of your TRIGGERcmd profile page or the instructions page. {% include integrations/config_flow.md %}

Using TRIGGERcmd with Home Assistant

All of your TRIGGERcmd commands should show up as switch devices. You can change the rooms of your devices, or select Finish to leave them without rooms.

Using the switch will trigger the respective command. If you have Allow parameters enabled, your command will run with an "on" or "off" parameter, depending on whether you flip the switch in Home Assistant on or off.