# Software update

In this step, Ruuvi Gateway checks for software updates.

<figure><img src="/files/jg7Zji3cD2jHDNHRBvqL" alt=""><figcaption></figcaption></figure>

If a newer version is available, the gateway will offer to update the firmware:

<figure><img src="/files/eYak6NhTxPrl5dcQiLs9" alt=""><figcaption></figcaption></figure>

You can set up your own server for firmware updates, and you can configure it's address in the "**Advanced settings**" section:

<figure><img src="/files/XB4lwHQ8BU6MFXiFxwwq" alt=""><figcaption></figcaption></figure>

You can also install earlier or beta versions of the software by providing the URL to the required firmware. If you have built your own firmware, you can run HTTP server and provide the URL to your firmware binaries (See [GW Install custom firmware](/ruuvi-gateway-firmware/gw-install-custom-firmware.md)).

<figure><img src="/files/s3V1DRcHNru7JFrj5vbw" alt=""><figcaption></figcaption></figure>

Here is an example of the software update process:

<figure><img src="/files/9Co3MORts16KziMtWnLp" alt=""><figcaption></figcaption></figure>

After the software update is completed, Ruuvi Gateway will be restarted in a few seconds, and the following page will be displayed:

<figure><img src="/files/FEJpJJ0XdYwoA3kSg9Ro" alt=""><figcaption></figcaption></figure>


---

# 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.ruuvi.com/ruuvi-gateway-firmware/gateway-html-pages/software-update.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.
