Device Deye Advanced Modbus Register 265: Name inverter name battery voltage timezone4
Technical documentation for Modbus register 265 on Device Deye Advanced. Data type: INT16. Includes Python and YAML configuration examples.
Technical Definition
The register name inverter name battery voltage timezone4 at address 265 is used to monitor name inverter name battery voltage timezone4 on the Device Deye Advanced.
- Protocol: Modbus RTU
- Data Type: INT16
- Unit: V
- 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_inverter_name_battery_voltage_timezone4 (Address: 265)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=265, 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_inverter_name_battery_voltage_timezone4"
address: 265
value_type: INT16
unit_of_measurement: "V"
Connection Diagram
Here is the standard RS485 wiring for this configuration:
graph TD
PLC[Host Controller / Home Assistant]
Device[Device Deye Advanced]
PLC -- "A+ (D+)" --> Device
PLC -- "B- (D-)" --> Device
PLC -- GND --> Device
💡 Engineer's Insight
Analysis: Battery voltage for timezone 4 (V). Represents the electrical potential of the battery during the fourth defined time slot.
Troubleshooting: Zero may indicate an unconnected battery, a fault, or a communication issue. Verify battery connections and status.