# Argon ONE scripts

## Power button and fan control

1. Connect to the internet.
2. Open terminal inRaspbian (on raspberry or using SSH)
3. Type the code below in the terminal to initiate installation **Argon ONE PI 4** script

```
curl https://download.argon40.com/argon1.sh | bash
```

The proces above will automatically install the configuration that will activate the **Argon ONE Pi 4** power button with the following functions:

| ARGON ONE Pi 4 STATE | ACTION               | FUNCTION                    |
| -------------------- | -------------------- | --------------------------- |
| OFF                  | Short Press          | Turn ON                     |
| ON                   | Long Press (> = 3 s) | Soft shutdown and power cut |
| ON                   | Short press (< 3 s)  | Nothing                     |
| ON                   | Double tap           | Reboot                      |
| ON                   | Long press (> = 5 s) | Forced Shutdown             |

## Fan speed

Upon installation of the Argon ONE Pi 4 script by default the settings of the case cooling system are as follows

| CPU TEMP | FAN POWER |
| -------- | --------- |
| 55°C     | 10%       |
| 60°C     | 55%       |
| 65°C     | 100%      |

However, you may change or configure the fan to your desired settings by clicking the **Argon ONE Pi 4** config icon on your desktop.&#x20;

Or via terminal by typing and following the specified format:

```
argonone-config
```

## Uninstalling Argon script

To uninstall the Argon ONE Pi 4 script you enter the following script:

```
argonone-uninstall
```

Always reboot after changing any configuration or uninstallation for the revised settings to take affect.

## Build-in infrared receiver

{% hint style="warning" %}
We didn't enable this feature for our node build.
{% endhint %}

The latest version has a programmable infrared receiver installed that can turn ON and OFF the device using the proprietary Argon 40 remote.

To configure the infrared receiver ON/OFF signal of **Argon ONE V2 and M.2** type the following command in the terminal:

```
argonone-ir
```

Then follow the instructions indicated.

**Tip creators using @LNTXBot**👇

```
/tip 100 @stocktoflow
/tip 100 @maartemmobiel
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.buidlbuidl.com/bitcoin-node-depoloyment/argon-one-case-scripts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
