A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "Classic" charge controller => Topic started by: ClassicCrazy on March 01, 2026, 11:58:16 AM

Title: Classic data on Home Assistant
Post by: ClassicCrazy on March 01, 2026, 11:58:16 AM
Go to Settings/ Devices and Services in HA
add modbus to Home Assistant
Then add this to your HA config ( change to your classic IP adress )
modbus:
  - name: modbus_hub
    type: tcp
    host: 192.168.1.1 # your classic ip address
    port: 502
    sensors:
      - name: "Classic Battery Voltage"
        unique_id: "classic_batt_v_main"
        address: 4114
        input_type: holding
        unit_of_measurement: "V"
        scale: 0.1
        precision: 1
      - name: "Classic Input Voltage"
        unique_id: "classic_pv_v_main"
        address: 4115
        input_type: holding
        unit_of_measurement: "V"
        scale: 0.1
        precision: 1
      - name: "Classic Battery Current"
        unique_id: "classic_batt_amps_main"
        address: 4370
        input_type: holding
        unit_of_measurement: "A"
        scale: 0.1
        precision: 1
      - name: "Classic Power Output"
        unique_id: "classic_watts_main"
        address: 4118
        input_type: holding
        unit_of_measurement: "W"
      - name: "Classic Energy Today"
        unique_id: "classic_kwh_today_main"
        address: 4117
        input_type: holding
        unit_of_measurement: "kWh"
        scale: 0.1
      - name: "Classic Battery Charge State"
        unique_id: "classic_state_raw"
        address: 4119
        input_type: holding
      - name: "Classic Reason For Resting Code"
        unique_id: "classic_resting_raw"
        address: 4274
        input_type: holding

Larry