Bear in mind that it's 2 years since Renogy gave this to me, it may not be 100% correct.Is there a PDF showing the modbus registers for the dcc50s ?
Thanks,Bear in mind that it's 2 years since Renogy gave this to me, it may not be 100% correct.
modbus:
- name: renogy_charge_controller
type: serial
baudrate: 9600
bytesize: 8
method: rtu
port: /dev/ttyUSB0
stopbits: 2
parity: N
timeout: 1
sensors:
- name: errorstatehigh
unique_id: errorstatehigh
address: 290
input_type: holding
slave: 1
- name: errorstatelow
unique_id: errorstatelow
address: 289
input_type: holding
slave: 1
- name: chargeState
unique_id: chargeState_sensor
address: 288
input_type: holding
slave: 1
- name: workingDays
unique_id: working_days
address: 277
input_type: holding
slave: 1
- name: totalPower
unique_id: totalPower_acc
address: 275
input_type: holding
slave: 1
unit_of_measurement: Wh
device_class: energy
state_class: measurement
scan_interval: 5
scale: 0.001
precision: 3
- name: solWatts
unique_id: solWatts_sensor
address: 265
input_type: holding
slave: 1
unit_of_measurement: W
device_class: power
state_class: measurement
scan_interval: 5
- name: solAmps
unique_id: solAmps_sensor
address: 264
input_type: holding
slave: 1
unit_of_measurement: A
device_class: current
state_class: measurement
scale: 0.01
precision: 1
scan_interval: 5
- name: solVoltage
unique_id: solVoltage_sensor
address: 263
input_type: holding
slave: 1
unit_of_measurement: V
device_class: voltage
state_class: measurement
scan_interval: 5
scale: 0.1
precision: 1
- name: altWatts
unique_id: altWatts_sensor
address: 262
input_type: holding
slave: 1
unit_of_measurement: W
device_class: power
state_class: measurement
scan_interval: 5
- name: altAmps
unique_id: altAmps_sensor
address: 261
input_type: holding
slave: 1
unit_of_measurement: A
device_class: current
state_class: measurement
scan_interval: 5
precision: 2
scale: 0.01
- name: altVolt
unique_id: altVolt_sensor
address: 260
input_type: holding
slave: 1
unit_of_measurement: V
device_class: voltage
state_class: measurement
scan_interval: 5
precision: 1
scale: 0.1
- name: auxTemp
unique_id: auxTemp_sensor
address: 259
input_type: holding
slave: 1
unit_of_measurement: '°C'
device_class: temperature
state_class: measurement
scan_interval: 5
- name: maxAmps
unique_id: maxAmps_sensor
address: 258
input_type: holding
slave: 1
unit_of_measurement: A
device_class: current
state_class: measurement
scale: 0.01
precision: 1
scan_interval: 5
- name: auxVolt
unique_id: auxVolt_sensor
address: 257
input_type: holding
slave: 1
unit_of_measurement: V
device_class: battery
state_class: measurement
scale: 0.1
precision: 1
- name: auxSoc
unique_id: auxSoc_sensor
address: 256
input_type: holding
slave: 1
unit_of_measurement: '%'
device_class: battery
state_class: measurement
nice work! I imagined having a pip package where you specify your device and it caters for all (DCC50S, DCC30, Battery) but just havent had the time.Beware that the DCC30 might not respond without a magic wake up message on the RS483 bus ... my DCC50 doesn't!
My current (python) code is here; GitHub - opless/renogy-solar-dcc50-100ah-battery
I throw it through MQTT and have a bunch of sensors in the YML to get the values.
I'd spam them here, but I'm still making my battery box.
HTH!
Beware that the DCC30 might not respond without a magic wake up message on the RS483 bus ... my DCC50 doesn't!
My current (python) code is here; GitHub - opless/renogy-solar-dcc50-100ah-battery
I throw it through MQTT and have a bunch of sensors in the YML to get the values.
I'd spam them here, but I'm still making my battery box.
HTH!