Triggers define the conditions when to run rule actions. A rule can have one or many triggers.
Miner related triggers
Check statistics
Trigger on miner statistics like hashrate, accepted shares, rejected shares and hardware errors
- Consider the current value or a value up to 20 minutes old
- Compare comparations to for example compare if the hashrate is lower than a specified value or if the number of hardware errors are above a specified number
- Compare current hashrate with a percent of the hashrate for the configured Profit Profile
Offline detection
Trigger if a miner goes offline
- Will by default trigger after miner is offline for 30 seconds
- Configurable number of seconds the miner must be offline before triggered
Detect miner tag
Trigger if a miner either has the specified miner tag or doesn't have the specified miner tag
- Learn more about Miner Tags
Detect miner state
Trigger if a miner has a specific state, for example Disconnected or Mining
Detect miner API connection established
Trigger once if the miner API connection is established
- Will not trigger continuously while the API connection is active
Mining uptime
Trigger if the mining process has been running for a specific period of time
- Can either trigger if the mining uptime is below or above a specified number of minutes
- The mining uptime is not the same as the system uptime. If the mining process is restarted, the mining uptime will start from zero while the system uptime will not be reset.
Process failure
Trigger if the miner failed to start one or multiple times
- Only for Managed Miners, not ASIC miners
- Can be used to take actions in case of multiple failures to restart the mining software
Awesome Miner Antminer firmware triggers
Firmware mining profile
Trigger if the miner is using a specific firmware mining profile
- Only applicable for ASIC miners running the Awesome Miner Antminer firmware
Device triggers
Detect dead / sick devices
Trigger if an ASIC hash board or ASIC chip isn't working as expected
- For ASIC miners, where the miner can report a devices as Dead, Sick or Disabled
- Very limited support for GPU mining as most GPU mining software doesn't report details about dead devices
- For Antminers, the number of failed ASIC chips can be detected. This is the number of 'x' in the ASIC status of the Antminer web interface.
- Red chip threshold: Only for Awesome Miner Antminer firmware. If a chip has low hashrate performance and for this reason is indicated with a red color on the ASIC chip tab (or Antminer web interface), the trigger can fire if the number of ASIC chips marked in red is above the defined threshold.
Device temperature
Trigger if the temperature is either too high or too low
- The trigger can be used for ASIC, GPU and CPU mining
- For ASIC mining, the temperature source can be configured to either:
- Main/PCB: This is for example the Antminer PCB temperature
- ASIC Chip: This is the ASIC miner chip temperature
- The trigger condition can either be to trigger immediately or only after the temperature has been above/below the limit for a specific time.
Device count
Trigger if a mining device (ASIC hash board, GPU) is lost
- This trigger can count the number of mining devices reported by the mining software or ASIC miner and compare it to the expected number of devices. This can be used to detect failed devices.
- For Managed Miners, the number of GPU's may be different per miner. The miner can be configured with the expected number of devices in the Managed Miner Properties, Advanced section. The trigger can be configured to compare with the expected number of devices configured on the Managed Miner.
Device hashrate
Trigger if the mining device (ASIC hash board, GPU) hashrate is higher or lower than specified
- To compare with the hashrate of the entire miner, please use the Check Statistics trigger instead
Device power usage
Trigger if the power usage is higher or lower than specified
- The trigger can be configured to either only consider a single device (ASIC hash board, GPU) or the entire miner
Fan speed
Trigger if the fan speed is either higher or lower than specified
Pool and profit triggers
Detect found blocks
Trigger if a block is found during mining
Detect pool
Trigger if a pool either is present on the miner or is missing
Revenue/Profit
Trigger if the revenue or profit of a miner is below or above the specified value
Coin properties
Trigger if a coin property (difficulty, exchange rate, network hashrate) has a specific value
Other triggers
Time
Trigger on a specific time, day or on a regular interval
Ping
Trigger if a ping response was received or not
System uptime
Trigger if the computer has been running for a specific period of time
- Only for Managed Miners, not ASIC miners
- Use the "Mining uptime" trigger for ASIC miners and for checking the uptime of the actual mining software
Computer idle
Trigger if the computer has been idle (no mouse or keyboard input) for a specific period of time
- Only for Managed Miners, not ASIC miners
Check variable
Trigger if a variable, defined for the system or for the specific miner, has a specific value
- Variables can be set either via the "Set variable" rule action or via the Properties of a miner, in the Advanced section
C# script
Develop a custom C# script to define a trigger. For advanced use cases only.
Application events: On notification acknowledged
Trigger if a notification is acknowledged by the user