Skip to content

fix: upgrade pymodbus to 3.13 after payload API removal - #104

Closed
yoch wants to merge 1 commit into
gavinying:mainfrom
yoch:fix/pymodbus-3.13-register-decoder
Closed

fix: upgrade pymodbus to 3.13 after payload API removal#104
yoch wants to merge 1 commit into
gavinying:mainfrom
yoch:fix/pymodbus-3.13-register-decoder

Conversation

@yoch

@yoch yoch commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace deprecated BinaryPayloadDecoder with a local RegisterDecoder module
  • Upgrade pymodbus to 3.13 and use device_id for pymodbus 3.10+ client calls
  • Fixes repeated deprecation warnings reported when polling Modbus devices

Fixes #102

Test plan

  • pytest -m "not integration"

Made with Cursor

Replace BinaryPayloadDecoder with a local RegisterDecoder and use device_id for pymodbus 3.10+ client calls.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gavinying gavinying closed this Aug 19, 2026
@gavinying

Copy link
Copy Markdown
Owner

@yoch feel free to reopen. please rebase the PR branch against the current main and make sure it pass all tests. thanks.

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.

Many warnings when using modpoll

2 participants