Skip to content

Upgrading to Firmware 4.0.0

cjkas edited this page Nov 1, 2026 · 3 revisions

ESPSomfy RTS firmware 4.0.0 changed how the device talks to Home Assistant. It serves everything on port 80, and the integration talks to it over one socket there (protocol 2). The HTTP API on port 8081 and the socket on port 8080, which earlier versions of this integration used, are gone.

Firmware Integration
4.0.0 and later 3.0.1 and later
before 4.0.0 any; 3.0.1 and later work too

In this order

  1. Update the integration to 3.0.1 or later in HACS, and restart Home Assistant. It keeps working with your current firmware.
  2. Update the firmware to 4.0.0. From 3.x this is done over USB, with a backup and restore: see From 3.x to 4.0.0 in the ESPSomfy RTS wiki.
  3. Home Assistant reconnects on its own. The device keeps its id, so its entities, names and automations stay as they were.

Updated the firmware first? The device's entities show as unavailable until you update the integration and restart Home Assistant.

What changes

Login

"Secure Config Only" is gone. A device that used it becomes Secured, and every connection needs the PIN or password. If Home Assistant didn't have them, it asks for them under Settings → Devices & Services after the upgrade.

Firmware updates

The firmware entity can't install updates any more: the device no longer downloads them itself.

From version 3.0.4 of the integration, Home Assistant checks GitHub for the latest release every 6 hours, and the entity shows when it has a higher version number than the one installed, with its release notes. Pre-releases aren't offered, and what follows the number is ignored: v4.0.0 isn't offered on v4.0.0.beta.

To update, download the release from GitHub and upload it on the device's web page, as described in Updating ESPSomfy RTS.

Scripts and other integrations

If you also control the device from scripts, Node-RED or rest_command, they move from port 8081 to port 80, and only /shadeCommand, /groupCommand and /tiltCommand remain. See Integrations in the ESPSomfy RTS wiki. MQTT is unchanged.

Coming from rstrouse's integration

This integration started as a fork of rstrouse/ESPSomfy-RTS-HA, which doesn't support firmware 4.0.0. Both install as espsomfy_rts, so only one can be installed at a time:

  1. In HACS, remove rstrouse's ESPSomfy RTS, and remove its custom repository.
  2. Add https://github.com/cjkas/ESPSomfy-RTS-HA as a custom repository of type Integration, and install it.
  3. Restart Home Assistant.

Your configured devices stay configured: Home Assistant keeps them while the integration is swapped.

Clone this wiki locally