Skip to content

feat(ota): optional own firmware list (override index) - #3047

Merged
asgothian merged 1 commit into
ioBroker:masterfrom
Schimi1983:feat/ota-own-list
Nov 17, 2026
Merged

asgothian merged 1 commit into
ioBroker:masterfrom
Schimi1983:feat/ota-own-list

Conversation

@Schimi1983

Copy link
Copy Markdown
Contributor

What
New optional setting on the Settings tab, section "Firmware updates (OTA)": Own firmware list (file or URL, optional).

The value is passed to zigbee-herdsman's setOtaConfiguration(dataFolder, overrideIndex) as override index – the same mechanism as zigbee2mqtt's ota.zigbee_ota_override_index_location. Users can add firmware that is not (yet) in the Koenkk index, or a local copy, without patching the adapter. Entries of the own list are merged into the main index by herdsman.

  • File name without path → resolved in the adapter data folder (e.g. iobroker-data/zigbee_0/my-index.json), absolute paths and URLs work as well.
  • Empty (default) → exactly the current behaviour (undefined is passed, as before).
  • The log line at start shows the list when one is set.

Changes

  • lib/pluginOta.js: pass the setting to setOtaConfiguration, extend the existing info log
  • io-package.json: native.otaOverrideIndex: ""
  • admin/index_m.html / admin/admin.js: field + entry in savedSettings
  • 2 new texts in words.js and all 11 i18n/*.json (inserted after "Settings", so no overlap with Add missing translations for the configuration page #3045)

Tested on my installation (herdsman 10.10.0, converters 26.124.0), only OTA checks, no flashing:

  1. test-missing-index.json → start log shows the list; checkota on a TRADFRI bulb gives ENOENT ... /iobroker-data/zigbee_0/test-missing-index.json → value is used and resolved in the data folder.
  2. https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json as URL → check runs without error.
  3. Field empty again → start log as before.
    Field is loaded/saved by the config page.

Install for testing: https://github.com/Schimi1983/ioBroker.zigbee/tarball/feat/ota-own-list

🤖 Generated with Claude Code

https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6

New setting "Own firmware list (file or URL, optional)" on the Settings
tab. It is passed to zigbee-herdsman's setOtaConfiguration() as override
index, the same as zigbee2mqtt's ota.zigbee_ota_override_index_location.
Relative paths are resolved in the adapter's data folder. Empty (default)
keeps the current behaviour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6
@asgothian
asgothian merged commit e1b439c into ioBroker:master Nov 17, 2026
11 checks passed
@Schimi1983
Schimi1983 deleted the feat/ota-own-list branch November 18, 2026 10:57
asgothian pushed a commit that referenced this pull request Nov 19, 2026
- "Quick start in 5 steps" at the top of docs/en and docs/de readme:
  connect coordinator, install, enter port, test start, pair devices
- table "Common problems and solutions" (port, timeout, inconsistent
  configuration, pairing, unsupported device, reception)
- short description of the "own firmware list" OTA setting (#3047)

Existing sections are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants