Warning
Experimental workaround only
This add-on is experimental and is intended only as a temporary workaround / test tool while the underlying issue is investigated.
Using periodic pinging and re-interviewing generates additional traffic on the Thread network. On larger or busier networks, or when used against multiple devices, this may introduce extra load, reduce stability, and create side effects of its own.
It may also have a negative impact on battery-powered devices, as increased activity can reduce battery life.
Because of this, it should be used carefully, only on specific problem devices, and not as a broad or permanent solution for an entire Matter / Thread deployment.
The real goal is still to identify and fix the root cause, rather than rely on repeated reads, pinging, or re-interviews long term.
A small custom Home Assistant add-on that connects to the Matter Server WebSocket, discovers commissioned Matter nodes, and can periodically ping and re-interview selected devices.
This was built mainly to help test and work around reliability issues with some sleepy IKEA Matter over Thread devices such as:
- BILRESA scroll wheel
- TIMMERFLOTTE temperature / humidity sensor
- other IKEA Matter devices that show up cleanly in Matter Server discovery
The add-on runs on a schedule and can:
- discover commissioned Matter nodes from Home Assistant Matter Server
- filter devices by text match, such as
BILRESAorTIMMERFLOTTE - or target exact Matter node IDs
- ping each selected node
- retry if a ping fails
- request a re-interview of the node
- verify whether the Last Interview timestamp advanced
- write clear, human-readable logs so you can see what matched and what was acted on
Some battery-powered Matter devices can appear to stay online but stop updating reliably until they are refreshed. This add-on gives you an easy way to test whether periodic pinging and re-interviewing improves stability.
It is intended as a practical workaround / test tool, not a permanent fix for every Matter issue.
- clean structured logging
- timestamps on all log lines
- discovery logs with readable device names
- bridge devices excluded from text matching
- explicit Matched / Not Matched filter decisions
- ping retry handling
- interview verification using Last Interview Before and Last Interview After
- works well for mixed IKEA device filters such as:
match: BILRESA,TIMMERFLOTTE- Home Assistant OS or a Home Assistant installation with add-on support
- the official Matter Server add-on already installed and working
- a commissioned Matter fabric with devices already paired into Home Assistant
- Open the Home Assistant
addonsshare. - Create a folder for the add-on, for example:
addons/matter_node_pinger/
- Place the add-on files in that folder:
config.yaml
Dockerfile
run.sh
pinger.py
README.md
- In Home Assistant, go to:
Settings → Add-ons → Add-on Store
- Open the menu and click:
Check for updates
- The add-on should appear under Local add-ons.
- Install it.
If you use the Samba add-on, open the addons share from your PC and copy the add-on folder there.
Example Windows path:
\\homeassistant.local\addons
or
\\<home-assistant-ip>\addons
Start with discovery mode first:
ws_url: ws://core-matter-server:5580/ws
match: BILRESA
node_ids: ""
interval_seconds: 120
ping_attempts: 3
delay_seconds: 0.5
list_only: true-
ws_url
Matter Server WebSocket URL. -
match
Comma-separated device text filter.
Example:BILRESA,TIMMERFLOTTE -
node_ids
Exact Matter node IDs to target.
Example:"29,41" -
interval_seconds
How often the add-on runs. -
ping_attempts
Number of ping attempts per request. -
delay_seconds
Delay between ping and interview. -
list_only
Iftrue, the add-on only discovers and logs devices.
Iffalse, it will actively ping and interview the selected nodes.
Use:
list_only: trueThen start the add-on and check the logs.
You should see readable discovery lines like:
[DISCOVERY] Node 29: IKEA of Sweden | BILRESA scroll wheel | button | P2.0 | 1.9.11 | E2490
[FILTER] Node 29: MATCHED — matched filter term(s) ['BILRESA']
This helps you confirm:
- which devices were found
- which devices matched your filter
- which devices would be targeted
You can select devices in two ways.
Example:
match: BILRESA,TIMMERFLOTTE
node_ids: ""This is useful when you want the add-on to automatically target devices whose names contain those terms.
Example:
match: ""
node_ids: "29,41"This is the safest option when you already know the exact node IDs.
ws_url: ws://core-matter-server:5580/ws
match: BILRESA
node_ids: ""
interval_seconds: 120
ping_attempts: 3
delay_seconds: 0.5
list_only: falsews_url: ws://core-matter-server:5580/ws
match: BILRESA,TIMMERFLOTTE
node_ids: ""
interval_seconds: 120
ping_attempts: 3
delay_seconds: 0.5
list_only: falsews_url: ws://core-matter-server:5580/ws
match: ""
node_ids: "29,41"
interval_seconds: 120
ping_attempts: 3
delay_seconds: 0.5
list_only: falseThe logs are split into clear sections such as:
STARTUPCYCLECONNECTIONDISCOVERYFILTERTARGETSACTIONVERIFYSLEEP
Shows a clean, readable summary of each end device.
Example:
[DISCOVERY] Node 41: IKEA of Sweden | BILRESA scroll wheel | button | P2.0 | 1.8.7 | E2490
Shows whether a device matched your filter.
Example:
[FILTER] Node 41: MATCHED — matched filter term(s) ['BILRESA']
or
[FILTER] Node 42: NOT MATCHED — no filter terms matched
Shows ping and interview activity.
Example:
[ACTION] Node 29: Ping starting
[ACTION] Node 29: Ping result = {"fdd6:...": true}
[ACTION] Node 29: Interview starting
[ACTION] Node 29: Interview result = Completed (no response details returned)
After an interview, the add-on can compare the Last Interview timestamp before and after so you can see whether Matter Server actually refreshed its record.
Example:
[VERIFY] Node 29: Last Interview Before = 2026-03-24T23:03:40.000000
[VERIFY] Node 29: Last Interview After = 2026-03-24T23:03:51.000000
[VERIFY] Node 29: Interview Verified = Yes
Bridge nodes are still discovered internally, but:
- they are omitted from the detailed discovery logs
- they are ignored by text matching
This helps prevent a bridge from being accidentally targeted just because its payload contains metadata for bridged child devices.
If a ping fails or times out, the add-on can retry and log that cleanly.
This is useful for sleepy or occasionally slow Thread devices.
If you modify pinger.py, run.sh, or other add-on files:
- bump the version in
config.yaml - go to Settings → Add-ons → Add-on Store
- click Check for updates
- rebuild / restart the add-on
- make sure the folder is in the
addonsshare - make sure
config.yamlis valid - click Check for updates
- refresh the browser
Check the Supervisor logs and confirm your Dockerfile and architecture values are correct for your Home Assistant installation.
Run with:
list_only: trueThen check the DISCOVERY and FILTER logs to confirm the exact names and match basis being used.
That is expected. interview_node is a side-effect action and may not return a detailed payload. The important part is whether:
- the command completes successfully
- the node remains reachable
- the Last Interview timestamp advances afterward
Try:
- lowering
interval_seconds - using exact
node_idsinstead ofmatch - watching the Verify log lines to see whether interviews are actually refreshing the node
- checking general Thread / Matter stability separately
- ANSI colours may not always display in the Home Assistant log viewer, depending on how logs are rendered.
- Even if colours do not render, the log labels remain readable and structured.
- This project is intended as a practical utility for testing and improving Matter device reliability in Home Assistant.
matter_node_pinger/
├── config.yaml
├── Dockerfile
├── run.sh
├── pinger.py
└── README.md
Add your preferred license here.