Back to list
plebann

ha-modbus-integration

by plebann

2🍴 0📅 Jan 12, 2026

SKILL.md


name: ha-modbus-integration description: Patterns for building Home Assistant custom integrations that talk Modbus (TCP/RTU-over-TCP/serial): pymodbus device_id usage, safe polling/writing, pacing/backoff, encoding multi-register values, cached fallback, and translation-backed entities. license: Complete terms in LICENSE.txt

HA Modbus Integration

Use this when implementing or refactoring HA custom components that communicate with Modbus devices.

Quick start

  • Pick connection mode (tcp, rtuovertcp, serial); set timeout and message spacing.
  • Always pass the correct unit id (device_id/slave) on every read/write.
  • Batch contiguous reads, lock IO, and tier polling; cache last good data for availability.
  • Encode multi-register writes (float32/uint32) and avoid immediate post-write refresh.
  • Use translation_key + entity.sensor names and stable unique/device ids.

References

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon