Skip to content
Home Assistant TestFlight
Sonoff MINIR4M
SONOFF

Sonoff MINIR4M

Lights · Lighting

WorksLocal

1 report: 1 says it works.

Reported with 1 integration: Sonoff.

What people report

IntegrationIn Home AssistantIn Apple HomeWhat they saidSource
SonoffWorks LocalFirmware 1.3.1 local command whitespace bug fixed
Saved copy
The problem MINIR4M (uiid 138) on firmware 1.3.1 discards any zeroconf command whose decrypted JSON payload contains whitespace. The device still decrypts the request and still answers `{"error":0}` with a normal sequence, the relay simply does not move. Nothing surfaces as an error, so the entity looks perfectly healthy in Home Assistant while local control does nothing. `json.dumps()` defaults to `separators=(", ", ": ")`, so every command `encrypt()` builds carries spaces. eWeLink's own hub builds the same payload with JavaScript's `JSON.stringify()`, which is compact, which appears to …

Excerpt saved from GitHub on 2026-10-23.

PR #1884 · 2026-09

Each row is one report from a GitHub thread, an integration’s docs, or r/homeassistant. Check the date and the linked source before you buy.

In ReReHome

Once Home Assistant’s HomeKit Bridge shares it, this device reaches Apple Home as a HomeKit accessory behind your Home Assistant bridge, so ReReHome shows and controls it like any other.

This model is also in the ReReHome accessory catalog as Sonoff Wifi Smart Switch MINIR4M.

Identifiers

BrandSONOFF
ModelMINIR4M
CategoryLights