[APP] Reolink

Will this solve the issue with the Home hubs latest FW update that locked the homey’s out?
Well, including a lot of others I guess. :slight_smile:

EDIT:
Tried to log a suggestions but nothing happens when I push submit so i’ll post it here..

I checked the github for reolink for HA which usually suffers from the same stuff we do. :smiley: With this firmware, the hub’s Baichuan nonce reply (the response to the login/nonce request) now contains:

<sigVer>v3</sigVer>
<publicKeyAlgo>X25519</publicKeyAlgo>

reolink_aio (used by Home Assistant) treated sigVer == v3 as proof of a cloud “account device” and threw LoginAccountDeviceError without attempting the login. The hub is a local device, and the same credentials still work over HTTP at the same time.
We suspect the Homey app has the same or a similar check.

Analysis: starkillerOG/reolink_aio#225
HA report: home-assistant/core#187148

The fix that resolved it upstream reolink_aio 0.22.0 (shipped in Home Assistant 2026.11.0 via home-assistant/core#188556).
Release note: “First try cmd_id 1 login before throwing LoginAccountDeviceError.”

In other words, the advertised sigVer is no longer a reason to refuse:

  1. Request the nonce as before.
  2. Always attempt the normal legacy login (cmd_id 1) with the nonce-hashed credentials, even if the reply says sigVer v3.
  3. Only treat the device as an “account device” if that login is actually rejected.

Sketch (Node, as in a Homey app; adapt to your structure):
const nonceReply = await baichuan.getNonce();
try {
await baichuan.legacyLogin(nonceReply.nonce, username, password); // cmd_id 1
} catch (err) {
if (nonceReply.sigVer === 'v3') {
throw new Error('Login rejected: device appears to be a Reolink account device (sigVer v3)');
} throw err;
}
// previously: if (nonceReply.sigVer === 'v3') throw AccountDeviceError — before even trying

Also worth checking 0.22.0 also stopped logging out of Baichuan when logging in over HTTP (“Do not logout of baichuan when login into HTTP”). That matters if the app uses both protocols side by side.