driver-spm01r: check on a real SPM01R meter
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- embedded-iot, testing
Research direction
This is a hardware validation task for the @ya-modbus/driver-spm01r package added in #769; start by reading that PR and the driver's register map, then the package README line claiming it is "not yet confirmed on hardware". The check is a read-only ya-modbus read --driver @ya-modbus/driver-spm01r --slave-id N --all against a wired meter with a known load, comparing against ~230 V / 50 Hz and a known wattage. Done means the checklist passes (including registers 6000-6002 for device_address, baud_rate, parity), results are posted here, and the README caveat is removed or a fix PR links back.
Written by the indexing model from the issue text.
Description
The SPM01R driver (#769) was written from the vendor's register list and tested only with a mocked transport. It is merged without a real-device check, because no SPM01R is installed yet (decision 2026-11-18). This issue holds that check until a meter exists.
Not queued for a session: it needs a real meter, wired to a bus, with a known load.
How
Install the published driver (or a tarball) and run a read-only ya-modbus read --driver @ya-modbus/driver-spm01r --slave-id N --all with a known load. Compare with a second meter or a known load (for example a 1000 W heater).
Done when
-
voltage,currentandfrequencyread plausible values (about 230 V, 50 Hz) -
active_poweris in W: a known load reads about its power (the kW→W scale is right), andapparent_poweris in VA - The energy counters go up while the load runs
-
device_address,baud_rateandparity(registers 6000-6002) can be read. If not, the bridge poll fails: fix the driver - The results are in a comment here, and the "not yet confirmed on hardware" line in the package README is removed (or the fixes are in a PR that links here)
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 0
- Avg merge
- 13h 46m
- Merged PRs (30d)
- 58
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from groupsky/ya-modbus
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
codex-ok
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
codex-ok type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
All issues in groupsky/ya-modbus
Similar issues
-
enhancement UX
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
online-go/online-go.com#4000 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
SnosMe/awakened-poe-trade#1976 ·
-
[BUG]Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
jonp-h/TillerQuest#319 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
terrazzoapp/terrazzo#902 ·