modbus-sniffer

command module
v0.0.0-...-3f450a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 26 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

modbus-sniffer

modbus-sniffer is little Go command line utility which sniffs Modbus communication (read holding registers commands) via Linux's ptrace syscall. It does so by attaching itself to a specified process and intercepting all read() & write() system calls which are used to communicate to a Modbus device attached to a serial port or TCP network.

This project is used as a firmware extension for the 1st generation LG ESS PV/Battery systems to publish the internal system state periodically via MQTT to Homeassistant.

Requirements

Tested LG ESS products

Configuration

Adjust the flags in contrib/modbus-sniffer before running make install.

Usage

make install

Credits

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址