Repository navigation
Conversation
added 2 commits
July 1, 2026 23:20
Enable Thread/Matter support on Farnsworth for the SONOFF Zigbee 3.0 USB Dongle Plus MG24 (EFR32MG24) as a Thread border router, to connect IKEA TIMMERFLOTTE (Matter-over-Thread temperature/humidity sensor) via Home Assistant. Changes: - modules/nixos/openthread.nix: New module enabling services.openthread-border-router with web UI and firewall ports. Radio device path and backbone interface are placeholders that must be updated after plugging in the dongle (see TODO comments). - modules/nixos/matter-server.nix: New module enabling services.matter-server (python-matter-server) for HA Matter fabric. - modules/nixos/home-assistant.nix: Add matter, otbr, thread to extraComponents for Matter-over-Thread integration. - hosts/farnsworth/features.nix: Import openthread and matter-server modules. Post-merge manual steps: 1. Flash the SONOFF MG24 with Thread RCP firmware (SONOFF Dongle Flasher). The dongle ships with Zigbee EZSP firmware and can only run one protocol at a time. 2. Plug in the dongle and find its path: ls /dev/serial/by-id/ 3. Update radio.device in openthread.nix with the actual by-id path. 4. Find Farnsworth's network interface (ip link) and update backboneInterfaces in openthread.nix. 5. Rebuild and deploy: nh os switch . --hostname farnsworth 6. In Home Assistant, add the Thread and Matter integrations; the OTBR and Matter Server should be auto-discovered. 7. Commission the IKEA TIMMERFLOTTE via HA Matter integration using its QR code.
jared-q15
force-pushed
the
feature/openthread-matter-farnsworth
branch
from
July 1, 2026 21:31
fd5ccc3 to
378fda1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable Thread/Matter support on Farnsworth for the SONOFF Zigbee 3.0 USB Dongle Plus MG24 (EFR32MG24) as a Thread border router, to connect the IKEA TIMMERFLOTTE (Matter-over-Thread temperature/humidity sensor) via Home Assistant.
Changes
modules/nixos/openthread.nixservices.openthread-border-routerwith web UI and firewall ports. Radio device path and backbone interface are placeholders (see TODOs).modules/nixos/matter-server.nixservices.matter-server(python-matter-server) for the HA Matter fabric.modules/nixos/home-assistant.nixmatter,otbr,threadtoextraComponentsfor Matter-over-Thread integration.hosts/farnsworth/features.nixArchitecture
Post-merge manual steps
ls /dev/serial/by-id/radio.deviceinmodules/nixos/openthread.nixwith the actual by-id path.ip link) and updatebackboneInterfacesinmodules/nixos/openthread.nix.nh os switch . --hostname farnsworthReferences