Device Jkpb0116 Modbus Register 4756: Name bms name battery power
Technical documentation for Modbus register 4756 on Device Jkpb0116. Data type: S DWORD. Includes Python and YAML configuration examples.
Technical Definition
The register name bms name battery power at address 4756 is used to monitor name bms name battery power on the Device Jkpb0116.
- Protocol: Modbus RTU
- Data Type: S DWORD
- Unit: W
- 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_bms_name_battery_power (Address: 4756)
# Note: Check if your device uses 0-based or 1-based addressing
result = client.read_input_registers(address=4756, 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_bms_name_battery_power"
address: 4756
value_type: S_DWORD
unit_of_measurement: "W"
Connection Diagram
Here is the standard RS485 wiring for this configuration:
graph TD
PLC[Host Controller / Home Assistant]
Device[Device Jkpb0116]
PLC -- "A+ (D+)" --> Device
PLC -- "B- (D-)" --> Device
PLC -- GND --> Device
💡 Engineer's Insight
Analysis: Battery power (W). Instantaneous power being drawn from or supplied to the battery pack. Positive for charging, negative for discharging.
Troubleshooting: Zero power suggests no load or charging activity. Unexpected values could indicate communication errors or load issues.