A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "Classic" charge controller => Topic started by: Bullet on February 28, 2025, 04:33:54 PM

Title: Getting a classic to communicate with a cerbo gx
Post by: Bullet on February 28, 2025, 04:33:54 PM
So I have a classic 150 which has worked well for years, but I replaced my inverters with victron multiplus. Question is, is there a way to get the classic to talk to the victron equipment so I can monitor it though the vrm? Not a fan of victron and don't recommend them to anyone but I'm stuck with them for now. Any help is appreciated.
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: ClassicCrazy on February 28, 2025, 06:01:17 PM
I don't know about Victron . But there are other ways to monitor the Classic.
There is Classic Monitor android app that Graham made.
https://github.com/ClassicDIY/ClassicMonitor
Look on the wiki on above link for details.
You used to be able to get that app on Playstore but that might not be available any longer and you would have to download the apk from the github to your phone and install it from there.
There is also another new way to monitor Classic via IP directly to Home Assistant .
Larry
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: mcsarge on March 05, 2025, 02:48:26 PM
I have successfully integrated our Classic 150 (with WizBang) with our Victron Cerbo GX and Victron Interer/Charger. You have to add some software to the Cerbo GX that will talk to the Modbus of the Classic. Works really well. I had to make some modifications to the software I found online. Here is the link to a discussion:
https://communityarchive.victronenergy.com/questions/48101/midnite-classic-modbus-support.html?childToView=223879#answer-223879

You should probably read the whole thread, but I can talk you through it if you need help.

Here is my GitHub with the corrected versions of the software:
https://github.com/mcsarge/venus-midnite


Matt
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: ClassicCrazy on March 05, 2025, 10:00:07 PM
Quote from: mcsarge on March 05, 2025, 02:48:26 PMI have successfully integrated our Classic 150 (with WizBang) with our Victron Cerbo GX and Victron Interer/Charger. You have to add some software to the Cerbo GX that will talk to the Modbus of the Classic. Works really well. I had to make some modifications to the software I found online. Here is the link to a discussion:
https://communityarchive.victronenergy.com/questions/48101/midnite-classic-modbus-support.html?childToView=223879#answer-223879

You should probably read the whole thread, but I can talk you through it if you need help.

Here is my GitHub with the corrected versions of the software:
https://github.com/mcsarge/venus-midnite


Matt
Matt
Graham recently made an updated Classic to Mqtt that lets Home Assistant modbus directly to the Classic - in case you are interested and use HA.  Not sure if he updated it on github or not yet.
Larry 
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: mcsarge on March 06, 2025, 03:54:22 PM
Larry,

I get it, but the Victon Cerbo is a nice unit with a really nice UI touch pad - getting the Classic to provide Solar Array data and shunt information is really cool - the system will then display a live view of the power flowing around the system - for instance the Inverter/Charger knows how much power is coming from the generator and then how much is going out the A/C and the WhizBang shows the current into the battery pack. The Classic can provide the current and voltage that the solar panels are making and it is all displayed in a cool little graphic that you can see on the UI or if you bring up the display over the Victron web. It works well and can coexist with the ClassicMQTT quite well.
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: ClassicCrazy on March 06, 2025, 07:46:28 PM
The Victron with Classic sounds like a nice setup and system Matt.
I may have to try it out . This winter I just started with Home Assistant and have been trying out some of it's graphics though I don't have them all set up correctly yet.
I hear  good things about the Victron software.
here is a look at what I  have so far ( no sun on them now so not too exciting)
Larry

 
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: mcsarge on March 07, 2025, 11:01:33 AM
That is very cool, and quite similar to how the Victron shows the flow of energy around the system. I won't be able to get a picture until we re-energize the system in the Spring.
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: jjjj on February 26, 2026, 06:10:40 AM
Sounds like a cool feature. Have there been any recent updates to this project?
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: ClassicCrazy on February 26, 2026, 08:18:44 PM
Quote from: jjjj on February 26, 2026, 06:10:40 AMSounds like a cool feature. Have there been any recent updates to this project?
which part of the project are you asking about - the victron part or classic to home assistant part?
Larry
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: jjjj on February 27, 2026, 04:21:12 PM
Quote from: ClassicCrazy on February 26, 2026, 08:18:44 PMthe victron part or classic to home assistant part?

My goal is to try to get the Midnite Classic 150 information to home assistant. The app discussed above seemed like it might be helpful since it ported information to the Cerbo which also collects the Victron information. If there is another way other than Solar Assistant to get the information to HA, that would be helpful as well. It had been a while since this was discussed so was wondering if there were any updates to the app.
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: ClassicCrazy on March 01, 2026, 11:50:01 AM
Quote from: jjjj on February 27, 2026, 04:21:12 PM
Quote from: ClassicCrazy on February 26, 2026, 08:18:44 PMthe victron part or classic to home assistant part?

My goal is to try to get the Midnite Classic 150 information to home assistant. The app discussed above seemed like it might be helpful since it ported information to the Cerbo which also collects the Victron information. If there is another way other than Solar Assistant to get the information to HA, that would be helpful as well. It had been a while since this was discussed so was wondering if there were any updates to the app.


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
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: jjjj on March 01, 2026, 12:58:00 PM
VERY nice!

Curious. Please accept apologies for basic nature of this question.

Would I run the Cat from the Classic to the Cerbo or the router that HA belongs to?
Title: Re: Getting a classic to communicate with a cerbo gx
Post by: ClassicCrazy on March 02, 2026, 11:09:38 AM
Quote from: jjjj on March 01, 2026, 12:58:00 PMVERY nice!

Curious. Please accept apologies for basic nature of this question.

Would I run the Cat from the Classic to the Cerbo or the router that HA belongs to?
For the Classic data to get to the Home Assistant it will get it off your local internet network. So as long as you have the Classic plugged in to your local network and HA on the same network , the the ip address you put in for the classic should find it. If I remember correctly the Classic only lets you have one connection so if your HA is getting the data via ip modbus, then you won't be able to connect to it with another program like Local Status app.   
So the answer to your question is the Classic to your router.  Once you find out the IP address the router assigns to the Classic and everything is working, I would go to the setting in the Classic network section and make that Ip address static. And also reserve that address in the router too .
Larry