> For the complete documentation index, see [llms.txt](https://docs.smart-stuff.nl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smart-stuff.nl/dsmr-api/instellingen/software-update.md).

# Software update

{% hint style="warning" %}
TIP! download RNG- en settingsbestanden voor het updaten. Indien het update proces mislukt heeft u nog een backup.
{% endhint %}

Er zijn verschillende manier om de software te vernieuwen, namelijk via:

1. Url methode
2. MQTT
3. Home Assistant update-entiteit via MQTT
4. Telnet, zie [Telnet toegang](/dsmr-api/geavanceerd/telnet-toegang.md)
5. Flashen, zie [Webinstaller](/dsmr-api/instellingen/webinstaller.md)

{% hint style="info" %}
De software release historie is te vinden op: <https://github.com/mhendriks/P1-Dongel-ESP32/releases>
{% endhint %}

## URL Methode

Er is ook een mogelijkheid om via de webbrowser zonder upload een update te doen. Dit kan door in de browser balk direct achter de hoofd URL `/remote-update?version=4.8.17` in te voeren. Bijvoorbeeld: `http://p1-dongle-pro.local/remote-update?version=4.8.17`

## MQTT

Als er een MQTT broker is geïnstalleerd kan de update ook gestart worden vanuit een andere MQTT client. Post met een MQTT client het volgende:

Topic : /update -> in de standaard configuratie is dat: P1-DONGLE-PRO/update Payload: bijvoorbeeld : `4.8.17`

## Home Assistant

Vanaf firmware **5.9.0** kan MQTT Auto Discovery een update-entiteit met de naam **DSMR Firmware** in Home Assistant aanmaken. Hiermee kan de nieuwste door de dongle gevonden firmwareversie rechtstreeks vanuit Home Assistant worden geïnstalleerd.

MQTT en `ha_disc_enabl` moeten hiervoor zijn ingeschakeld. Zie [MQTT](/dsmr-api/koppelingen/mqtt.md#firmware-update-vanuit-home-assistant) voor de configuratie en gebruikte topics.

## Update locatie

Indien je een eigen ota server hebt kan je de remote update url in de DSMRsettings.json aanpassen naar wens.


---

# 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:

```
GET https://docs.smart-stuff.nl/dsmr-api/instellingen/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.
