Skip to content

feat(adapter): add optional STAT_STATUS processing to generate Mac datapoint#513

Open
baetzst wants to merge 2 commits intoioBroker:masterfrom
baetzst:feature/mac-datapoint
Open

feat(adapter): add optional STAT_STATUS processing to generate Mac datapoint#513
baetzst wants to merge 2 commits intoioBroker:masterfrom
baetzst:feature/mac-datapoint

Conversation

@baetzst
Copy link

@baetzst baetzst commented Jan 15, 2026

🆕 Processing of stat/STATUS* to generate the MAC datapoint

Description

This pull request extends the Sonoff adapter with optional processing of stat/STATUS* MQTT topics. The primary purpose of this change is the generation of the MAC address datapoint, as all Tasmota devices publish the MAC address exclusively via stat/<topic>/STATUS5.

Changes in detail

  • New configuration option

    • Added STAT_STATUS checkbox to the admin UI
    • Enables processing of stat/<topic>/STATUS*
  • MQTT processing

    • Extended topic detection to support stat/STATUS\d*
    • Parsing of STATUS payloads (StatusNET)
  • Datapoints

    • Added new Mac datapoint
    • Automatically created when StatusNET.Mac is received
  • Tests

    • Added integration test for stat/.../STATUS5
    • Extended test configuration with STAT_STATUS

Motivation

The MAC address is a key identifier for Tasmota devices. Since it is not published via tele or stat/RESULT topics, but exclusively via stat/STATUS5, additional STATUS processing is required.

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.

1 participant