EmsTechLabs Logo EmsTechLabs

Rv Batt Sg5K Modbus Register 525: Name Time Day Hour

Technical documentation for Modbus register 525 on Rv Batt Sg5K. Data type: U WORD. Includes Python and YAML configuration examples.

January 16, 2026 3 read

Technical Definition

The register name Time Day Hour at address 525 is used to monitor name time day hour on the Rv Batt Sg5K.

  • Protocol: Modbus RTU
  • Data Type: U WORD
  • Unit:
  • 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 name Time Day Hour (Address: 525)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=525, 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: "name Time Day Hour"
  address: 525
  value_type: U_WORD
  unit_of_measurement: ""

Connection Diagram

Here is the standard RS485 wiring for this configuration:

graph TD
    PLC[Host Controller / Home Assistant]
    Device[Rv Batt Sg5K]

    PLC -- "A+ (D+)" --> Device
    PLC -- "B- (D-)" --> Device
    PLC -- GND --> Device


💡 Engineer's Insight

Analysis: Represents the day and hour components of a timestamp. Ranges are 1-31 for day, 0-23 for hour.

Troubleshooting: Zero could mean an uninitialized value or date/time sync problem. Verify device clock configuration and status.