Esphome M30 Modbus Register 333: m30 3 tps 1
Technical documentation for Modbus register 333 on Esphome M30. Data type: U WORD. Includes Python and YAML configuration examples.
Technical Definition
The register m30 3 tps 1 at address 333 is used to monitor m30 3 tps 1 on the Esphome M30.
- Protocol: Modbus RTU
- Data Type: U WORD
- Unit: °C
- Access: Read Only
How to Read (Python pymodbus)
Use this code snippet to read this specific value via RS485:
from pymodbus.client.sync import ModbusSerialClient
client = ModbusSerialClient(method='rtu', port='/dev/ttyUSB0', baudrate=9600)
client.connect()
# Read m30_3_tps_1 (Address: 333)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=333, count=2, unit=1)
if not result.isError():
print(f"Raw Value: {result.registers}")
else:
print("Error reading register")
client.close()
Integration (Home Assistant)
Paste this into your configuration.yaml:
- platform: modbus_controller
name: "m30_3_tps_1"
address: 333
value_type: U_WORD
unit_of_measurement: "°C"
Connection Diagram
Here is the standard RS485 wiring for this configuration:
graph TD
PLC[Host Controller / Home Assistant]
Device[Esphome M30]
PLC -- "A+ (D+)" --> Device
PLC -- "B- (D-)" --> Device
PLC -- GND --> Device
💡 Engineer's Insight
Analysis: m30 3 tps 1 likely represents a measured value related to 'things per second' or a similar rate-based metric. Units: Rate (e.g., events/sec). Indicates processing speed or event frequency.
Troubleshooting: A zero value may signify no activity, a communication error, or a component failure preventing data acquisition.