Broadlink RM3: "No entries found in map file" despite correct JSONDB configuration

Title: Broadlink RM3: “No entries found in map file” despite correct JSONDB configuration

System Details:

  • openHAB Version: 4.x/5.x (using GraalJS/JavaScript Scripting)

  • Binding: Broadlink Binding

  • Device: Broadlink RM3 Mini (UID: broadlink:rm3:818979879c)

  • OS: Linux (Ubuntu/Debian-based)

The Issue: Whenever I send an IR command (e.g., HeaterOn) to the Broadlink device via a rule or item, the command fails. The Thing immediately changes from ONLINE to OFFLINE with a CONFIGURATION_ERROR.

Log Snippet:

[INFO ] [openhab.event.ItemCommandEvent] - Item 'Heater' received command HeaterOn
[WARN ] [.handler.BroadlinkRemoteModel3Handler] - Cannot find the data to send out for command HeaterOn
[INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'broadlink:rm3:818979879c' changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): No entries found for command in map file, or the file is missing.

What I have verified:

  1. JSONDB File: The file /var/lib/openhab/jsondb/broadlink_ir.json exists and contains the correct keys:
{
  "broadlink:rm3:818979879c:HeaterOn": {
    "class": "org.openhab.binding.broadlink.internal.Model.BroadlinkIRCode",
    "value": { "name": "HeaterOn", "code": "26008403..." }
  }
}
  1. Permissions: File permissions are correct (664) and owned by the openHAB service: -rw-rw-r-- 1 openhab openhab 2347 Dec 23 07:49 /var/lib/openhab/jsondb/broadlink_ir.json

  2. Thing UID: The UID in the JSON file exactly matches the Thing UID in the UI (broadlink:rm3:818979879c).

Troubleshooting Steps Taken:

  • Manual injection of IR codes into broadlink_ir.json while the service was stopped.

  • Full system restarts and clearing the openHAB cache.

  • Verifying org.openhab.addons configuration in the console.

Despite the file being present and correctly formatted, the binding seems unable to “see” or load these entries at runtime. Does anyone know why the Broadlink binding might report a missing map file when the JSONDB entry is valid and accessible?