Koenkk / Koenkk/zigbee2mqtt

[TS011F (TS011F_plug_1_1) / Zbeacon]

Open Beginner friendly
#32,463 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

Hello,

Image Image

I have a TS011F plug that is recognized with manufacturerName "Zbeacon".
The power monitoring for current (rmsCurrent) is wrong — it is 1000 times too high. For example, it currently shows 336 A instead of 0.336 A when the power load is at 80 W (under 241 V).

Device details from database.db:
"modelId":"TS011F"
"manufacturerName":"Zbeacon"

In "haElectricalMeasurement" the plug reports "acCurrentDivisor":1 but it actually requires a divisor of 1000 to show the correct current value in Amperes.

Could you please add a proper scaling factor/converter for this specific Zbeacon variant so it divides the current value by 1000?

Thank you!

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.12.1 (unknown)

Adapter firmware version

{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20240710,"transportrev":2}

Adapter

ZStack3x0

Setup

os: #1 SMP PREEMPT_DYNAMIC Wed May 6 08:28:31 UTC 2026 - 6.12.85-haos - x64
node: v22.23.0
ha: true

Device database.db entry

No response

Debug log

No response

Notes
Device

definition: TS011F_plug_1_1 - Zbeacon (v0.0.0)
software_build_id: 1.0.5
date_code: undefined
endpoints:

{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b0031d80baf","type":"endpoint"}},{"cluster":"haElectricalMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b0031d80baf","type":"endpoint"}},{"cluster":"seMetering","target":{"endpoint":1,"ieee_address":"0x00124b0031d80baf","type":"endpoint"}}],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genTime","57344","seMetering","haElectricalMeasurement","touchlink","6280"],"output":["genOta"]},"configured_reportings":[{"attribute":"currentSummDelivered","cluster":"seMetering","maximum_report_interval":3600,"minimum_report_interval":5,"reportable_change":257},{"attribute":"rmsVoltage","cluster":"haElectricalMeasurement","maximum_report_interval":3600,"minimum_report_interval":5,"reportable_change":5},{"attribute":"rmsCurrent","cluster":"haElectricalMeasurement","maximum_report_interval":3600,"minimum_report_interval":5,"reportable_change":50}],"scenes":[]}}
Health

time: Thu Jul 02 2026 08:49:17 GMT+0200 (czas środkowoeuropejski letni)
os.load_average: 0.08, 0.07, 0.02
os.memory_percent: 47.9718
process.memory_percent: 1.6877
process.uptime_sec: 1203

{"leave_count":0,"messages":118,"messages_per_sec":0.0986,"network_address_changes":0}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TS011F_plug_1_1 device definition for manufacturer Zbeacon and inspect its haElectricalMeasurement handling for rmsCurrent and acCurrentDivisor. Confirm the reported value against the expected amperage, then verify that this variant reports current correctly at a 1:1000 scale using the relevant device or converter tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.