Device Deye Advanced Modbus Register 266: Name inverter name battery voltage timezone5
Technical documentation for Modbus register 266 on Device Deye Advanced. Data type: INT16. Includes Python and YAML configuration examples.
Technical Definition
The register name inverter name battery voltage timezone5 at address 266 is used to monitor name inverter name battery voltage timezone5 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_timezone5 (Address: 266)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=266, 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_timezone5"
address: 266
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 5 (V). Represents the electrical potential of the battery during the fifth defined time slot.
Troubleshooting: Zero may indicate an unconnected battery, a fault, or a communication issue. Verify battery connections and status.