> For the complete documentation index, see [llms.txt](https://docs.ruuvi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ruuvi.com/ruuvi-gateway-firmware/gateway-html-pages/software-update.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ruuvi.com/ruuvi-gateway-firmware/gateway-html-pages/software-update.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
