A lightweight C# console application that runs in the system tray, collects PC sensor data, and transmits it using Modbus RTU over serial (COM) port.
Go to Releases and download the latest version.
- Run the application once to create
config.json - Right-click the tray icon and select Open Config
- Modify the configuration file to match your setup
The application icon will appear in the system tray.
Typical Configuration Example:
{
"COM_PORT": "COM4",
"BOUDRATE": 19200,
"SLAVE_ID": 1,
"REG_0_CPU_TEMPERATURE": true,
"REG_1_CPU_LOAD": true,
"REG_2_GPU_TEMPERATURE": true,
"REG_3_GPU_LOAD": true,
"REG_4_RAM_LOAD": true
}Right-click the tray icon to access:
- Show console - Opens the console with logs that show successful and failed connection attempts and their timestamps
- Hide console - Hides the console from view
- Status — Displays current connection status
- Reload utility — Restart the application (applies config changes)
- Open Config — Opens
PC_Sensors2Modbus_Сonfig.jsonin default text editor - Exit — Graceful application shutdown
- .NET 6.0 SDK or higher
- Visual Studio 2022 or VS Code
git clone https://github.com/Sancho-M/Sensors2Modbus
cd Sensors2Modbus- NModbus — Modbus protocol implementation
- LibreHardwareMonitorLib — Hardware sensor data collection
This project is licensed under the MIT License — see the LICENSE file for details.
This software uses the following third-party libraries — See the THIRD-PARTY-NOTICES.txt file for details.
| Library | License |
|---|---|
| LibreHardwareMonitorLib | Mozilla Public License 2.0 |
| NModbus | MIT License |
- Windows only
- Modbus RTU only (RS485/RS232)
- Administrator privileges recommended for sensor access
Please add the .exe file to Windows Defender exclusions. Antivirus programs often flag LibreHardwareMonitorlib.
After making changes to the configuration, click the "reload utility" option in the tray.
