A Forum run by Enthusiasts of MidNite Solar

MidNite Batteries => MNPowerFlo5 => Topic started by: mahendra on November 25, 2024, 07:57:09 PM

Title: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on November 25, 2024, 07:57:09 PM
So I am just gonna say this straight .

When would the Rosie /Barcelona /Hawkes bay gonna talk to Midnite batteries right out of the box?
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on November 26, 2024, 06:56:20 AM
We are finalizing the testing as we speak and hope to release the code maybe next week, It is working great FYI
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on November 26, 2024, 07:26:16 AM
Quote from: FNG on November 26, 2024, 06:56:20 AMWe are finalizing the testing as we speak and hope to release the code maybe next week, It is working great FYI

Thanks FNG .

Would this require any additional hardware like the MN commbox?

While I am at it MN can you please sell me Four power Flo BMS .
I need to replace the jk's I have.
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on November 26, 2024, 10:25:09 AM
Quote from: mahendra on November 26, 2024, 07:26:16 AM
Quote from: FNG on November 26, 2024, 06:56:20 AMWe are finalizing the testing as we speak and hope to release the code maybe next week, It is working great FYI

Thanks FNG .

Would this require any additional hardware like the MN commbox?

While I am at it MN can you please sell me Four power Flo BMS .
I need to replace the jk's I have.

If I understand it correctly - the Midnite batteries will communicate with Pylontech protocol . Your JKBMS should also be able to communicate with that protocol depending on exact bms model.
So you may not need to replace them -  maybe just program the output of them.
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on November 26, 2024, 11:22:43 AM
Quote from: mahendra on November 26, 2024, 07:26:16 AMWould this require any additional hardware like the MN commbox?

While I am at it MN can you please sell me Four power Flo BMS .
I need to replace the jk's I have.

Would this require any additional hardware like the MN commbox?
[/quote]

Midnite killed the MN Commbox project in August.  At that time, they said they were porting the code over to Solar Assistant so you could monitor and/or control Rosie/Hawkes Bay/Barc from that program.  As of this morning, Solar Assistant still does NOT list Midnite Inverters/Batteries as supported equipment.

Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on November 26, 2024, 07:58:55 PM
Thanks .

I saw the update for firmware and closed loop communication for pylon.

So can I please purchase 4 power Flo bms.
I know I can swap out with others but prefer to use one that is as close as possible.

I even have the original glitchy first generation EG4 life power bms ,don't wanna use those too much headaches.

It's a bummer I already have batteries.
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on November 27, 2024, 06:02:46 AM
Quote from: aaapilot on November 26, 2024, 11:22:43 AM
Quote from: mahendra on November 26, 2024, 07:26:16 AMWould this require any additional hardware like the MN commbox?

While I am at it MN can you please sell me Four power Flo BMS .
I need to replace the jk's I have.

Would this require any additional hardware like the MN commbox?

Midnite killed the MN Commbox project in August.  At that time, they said they were porting the code over to Solar Assistant so you could monitor and/or control Rosie/Hawkes Bay/Barc from that program.  As of this morning, Solar Assistant still does NOT list Midnite Inverters/Batteries as supported equipment.

Dave

[/quote]
Looks like we may have finished up the monitoring portion yesterday, I will be going over the solar assistant today closely. Anyone interested can get the SA and the USB to CAN cable and we can get you updated into the beta software
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on November 27, 2024, 06:04:59 AM
Quote from: mahendra on November 26, 2024, 07:26:16 AM
Quote from: FNG on November 26, 2024, 06:56:20 AMWe are finalizing the testing as we speak and hope to release the code maybe next week, It is working great FYI

Thanks FNG .

Would this require any additional hardware like the MN commbox?

While I am at it MN can you please sell me Four power Flo BMS .
I need to replace the jk's I have.

Nothing needed, the 2 wire can bus cable comes with the battery and it simply plugs into the Midnite can bus. The only time an extra step is needed is with stacked Rosies as Rosie uses the can bus cable for 2 more wires for RS485 to control stacking so the battery has to plug into one of the Rosies and you must install the RS485 termination jumper on that particular Rosie
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on November 27, 2024, 12:17:00 PM
Ryan - can you explain this a bit more for those of us with other batteries that speak pylontech.
We just connect our battery Can port to the Canport on the Hawksbay in my case ?
There are two Can Jacks on the Hawkes Bay . One of them goes to the MNGP , the other will go to the battery. So we only need the two Can wires from battery Can jack to Hawkes Bay  ( canbus jack pin 4  Can Hi  pin 5 Can Low ) ?
Where would the Solar Assistant usb to Can cable connect to ? I guess there is an extra can jack on the back of the MNGP2  - is that the place ?
Do you have a link to a USB to Canbus cable that would work ?
thanks
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on November 28, 2024, 01:16:45 PM
Yes, we need to know if a standard network cable or specific cables need to be wired for this.

Additionally, would this only apply to batteries that support pylon, or would the firmware be able to help with other protocols?

I am eager to test.

Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on November 28, 2024, 01:40:06 PM
Quote from: mahendra on November 28, 2024, 01:16:45 PMYes, we need to know if a standard network cable or specific cables need to be wired for this.

Additionally, would this only apply to batteries that support pylon, or would the firmware be able to help with other protocols?

I am eager to test.

You may need to make a custom cable for your batteries depending on which pins  are used by your bms for the canbus jack. It wouldn't be hard to make one though once you know the pinout of your bms jack and the pinout of the Midnite controller or inverter.
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on November 28, 2024, 02:33:13 PM
Here is the pinout for the Midnite battery ( from the manual) and the pinout of the Hawkes Bay, Barcelona , Rosie jacks
Also showing pinout from my Pace BMS batteries. So for my batteries the Canbus wires match up so a regular Cat 5 cable should work. But since the Midnite documents say to leave the other wires floating ( disconnected ) and I am not 100% sure there are no other connections on the other pins on my Pace BMS Canbus jack - I will clip all the other wires than the two Canbus on on 4 and 5 ,and fro the ground then I will have to connect pin 8 from Midnite controller to pin 7 of the Pace BMS  .
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 03, 2024, 02:55:10 PM
Quote from: ClassicCrazy on November 27, 2024, 12:17:00 PMRyan - can you explain this a bit more for those of us with other batteries that speak pylontech.
We just connect our battery Can port to the Canport on the Hawksbay in my case ?
There are two Can Jacks on the Hawkes Bay . One of them goes to the MNGP , the other will go to the battery. So we only need the two Can wires from battery Can jack to Hawkes Bay  ( canbus jack pin 4  Can Hi  pin 5 Can Low ) ?
Where would the Solar Assistant usb to Can cable connect to ? I guess there is an extra can jack on the back of the MNGP2  - is that the place ?
Do you have a link to a USB to Canbus cable that would work ?
thanks
Larry
So all devices (Except the battery) have 2 ports so Solar Assistant on one end and battery on the other, So for example:
Solar Assistant to MNGP2
MNGP2 to Hbay
Hbay to Battery
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 03, 2024, 02:56:17 PM
Quote from: mahendra on November 28, 2024, 01:16:45 PMYes, we need to know if a standard network cable or specific cables need to be wired for this.

Additionally, would this only apply to batteries that support pylon, or would the firmware be able to help with other protocols?

I am eager to test.


With our powerflo the cable is included. with others you will need to look at the pin out and make sure Can HI goes to Can HI and Can Low goes to Can Low for example.
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 03, 2024, 02:57:19 PM
Quote from: ClassicCrazy on November 28, 2024, 02:33:13 PMHere is the pinout for the Midnite battery ( from the manual) and the pinout of the Hawkes Bay, Barcelona , Rosie jacks
Also showing pinout from my Pace BMS batteries. So for my batteries the Canbus wires match up so a regular Cat 5 cable should work. But since the Midnite documents say to leave the other wires floating ( disconnected ) and I am not 100% sure there are no other connections on the other pins on my Pace BMS Canbus jack - I will clip all the other wires than the two Canbus on on 4 and 5 ,and fro the ground then I will have to connect pin 8 from Midnite controller to pin 7 of the Pace BMS  .

Yes as we put +9v and GND on that canbus to power the MNGP2 bad things could happen if you run all 8 wires
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 03, 2024, 04:33:40 PM
Does the Canbus from batteries need the ground ? Or just Can Hi and Can Lo wires ?
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 03, 2024, 06:08:26 PM
Quote from: ClassicCrazy on December 03, 2024, 04:33:40 PMDoes the Canbus from batteries need the ground ? Or just Can Hi and Can Lo wires ?
Larry
I was pondering on the same question
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 04, 2024, 08:09:46 AM
Just the Can Hi and Can Low
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 04, 2024, 09:13:28 AM
Quote from: FNG on December 04, 2024, 08:09:46 AMJust the Can Hi and Can Low

So I am guessing Rosie/Barcelona/Hawkes Bay would communicate with any battery that uses the same protocol type (Pylon) like EG4, Pytes, SOK etc.

How would this play out with the Midnite Wbjr?
Would they share data, combined or work independently?
Should there be concerns about communication issues because of this?

Thanks in advance.
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: RidetheLightning on December 04, 2024, 05:04:08 PM

QuotePosted by FNG - Today at 08:09:46 AM

Just the Can Hi and Can Low


Point-of-Fact: Per ISO standards, CANBus cables shall always have a grounded shield in order to "drain" interference that may cause reflections or worse. 
This also goes for the connections, ground should be continuous bus end to bus end. 
GND shall not be the NEG or "Low".
This points to the use of "shielded" cable w/ shielded RJ45 connectors.

Many non-automotive CANBus systems use 1 Pin as Ground that is also continuous to the Female RJ45 metal receptacle case, the Bus GND, and Earth (or Frame).

RTL
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 05, 2024, 11:07:31 AM
Quote from: mahendra on December 04, 2024, 09:13:28 AM
Quote from: FNG on December 04, 2024, 08:09:46 AMJust the Can Hi and Can Low

So I am guessing Rosie/Barcelona/Hawkes Bay would communicate with any battery that uses the same protocol type (Pylon) like EG4, Pytes, SOK etc.

How would this play out with the Midnite Wbjr?
Would they share data, combined or work independently?
Should there be concerns about communication issues because of this?

Thanks in advance.
When you close loop a Rosie/Hbay/Bclna with a battery the Battery voltage, Battery temperature, Battery current, Battery SOC etc are all supplied by the battery. Essentially the MNGP2 listens for the SOC for example and if it recieves it from a battery it is a higher priority and thus over writes the WBjr
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 05, 2024, 12:06:24 PM
Great that answers so much
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 05, 2024, 05:21:19 PM
Quote from: ClassicCrazy on November 28, 2024, 02:33:13 PMHere is the pinout for the Midnite battery ( from the manual) and the pinout of the Hawkes Bay, Barcelona , Rosie jacks
Also showing pinout from my Pace BMS batteries. So for my batteries the Canbus wires match up so a regular Cat 5 cable should work. But since the Midnite documents say to leave the other wires floating ( disconnected ) and I am not 100% sure there are no other connections on the other pins on my Pace BMS Canbus jack - I will clip all the other wires than the two Canbus on on 4 and 5 ,and fro the ground then I will have to connect pin 8 from Midnite controller to pin 7 of the Pace BMS  .

Larry, reference the Pin numbering in the MN document & your Pace BMS doc.  The Pace BMS shows 'standard' numbering for the Pins, i.e. the push tab on the bottom and pin #1 on the left looking at the small pic at the top left corner.  The MN document shows a pic w/the push tab on top and Pin #1 on the left. These are DIFFERENT. ???  About to make a cable for the Rosie to Pytes battery (which agrees w/your Pace BMS by the way), but the CanBUS H/L would be reversed on each end of the cable if I followed both of these diagrams ....  .  Am I reading these correctly?  Is MN using non-standard numbering for their pins?  Have you made a cable to use your HB w/the Pace BMS and does it work?  I checked all the Rosie/HB/Barcellona docs for a CanBUS pin layout and they are not shown.  Maybe I'm just messed up, but scratching my head.  Thanks!


Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 05, 2024, 06:31:48 PM
No I haven't gotten the new firmware installed or cable made up . Might get that done tonight.
I will look again at the pinouts to see what you noticed.
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 05, 2024, 06:50:08 PM
Looks like you can verify Can Hi as above 2.5v and Can Lo will be below 2.5v
https://support.enovationcontrols.com/hc/en-us/articles/360038856494-CAN-BUS-Troubleshooting-Guide-with-Video
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 05, 2024, 09:18:12 PM
Quote from: ClassicCrazy on December 05, 2024, 06:50:08 PMLooks like you can verify Can Hi as above 2.5v and Can Lo will be below 2.5v
https://support.enovationcontrols.com/hc/en-us/articles/360038856494-CAN-BUS-Troubleshooting-Guide-with-Video
Thanks Larry.  I made up the MN side of the cable tonight.  I'll check voltage tomorrow before I put a termination on the battery side of the cable.  Thanks for the article :)

Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 06, 2024, 12:17:41 PM

 I made up the MN side of the cable tonight.  I'll check voltage tomorrow before I put a termination on the battery side of the cable.  Thanks for the article :)

Dave
[/quote]

Let Us know how it goes, Dave.
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 06, 2024, 12:27:40 PM
I will try this around January or after the holidays with four EG4 life power batteries as soon as I swap the jk BMS to its original BMS, update the firmware, and deliver the EG4 battery HUB.
I also have to figure out the ground pin of the EG4 hub CAN port.

Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 06, 2024, 01:40:45 PM
Is this Type A or Type B .

As this would help in determining the correct ground pin for batteries .

Got EG 4 Pins here:
https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045 (https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045)
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 06, 2024, 04:00:32 PM
Quote from: mahendra on December 06, 2024, 01:40:45 PMIs this Type A or Type B .

As this would help in determining the correct ground pin for batteries .

Got EG 4 Pins here:
https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045 (https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045)

I don't think Type A or B would be applicable here, since you are not using all 8 wires.  You are building a cable with 2 or 3 wires (if you do the ground), so the only important issue is to get those on the correct pins.  That's what generated my earlier question as to orientation of the plug (tab up or down) so I could get the 4 & 5 pin, High & Low, to the correct place on the battery and inverter.

So ... I made a patch cable using Cat6 shielded cable w/metal ends, so it MAY be grounded thru the cable shielding.  I say MAY, because I don't know if the RG45 connector on the Rosie motherboard and the battery RG45 are each connected to ground.  They each have a PIN that is grounded, but the connector itself? FNG said the ground isn't needed in the cable, so shouldn't make a difference anyway.  The cable ends have the 4/5 pins swapped on each end per the diagrams that Classic Crazy posted.  I did plug it in to Rosie before I terminated the battery end and verified which wire had the higher voltage, then made that the battery pin 4 High, which actually agreed w/the diagrams! :)  I just need to upload the latest MNGP2 & Rosie software and we'll see what happens :|

Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 06, 2024, 05:23:13 PM
Quote from: aaapilot on December 06, 2024, 04:00:32 PM
Quote from: mahendra on December 06, 2024, 01:40:45 PMIs this Type A or Type B .

As this would help in determining the correct ground pin for batteries .

Got EG 4 Pins here:
https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045 (https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045)

I don't think Type A or B would be applicable here, since you are not using all 8 wires.  You are building a cable with 2 or 3 wires (if you do the ground), so the only important issue is to get those on the correct pins.  That's what generated my earlier question as to orientation of the plug (tab up or down) so I could get the 4 & 5 pin, High & Low, to the correct place on the battery and inverter.

So ... I made a patch cable using Cat6 shielded cable w/metal ends, so it MAY be grounded thru the cable shielding.  I say MAY, because I don't know if the RG45 connector on the Rosie motherboard and the battery RG45 are each connected to ground.  They each have a PIN that is grounded, but the connector itself? FNG said the ground isn't needed in the cable, so shouldn't make a difference anyway.  The cable ends have the 4/5 pins swapped on each end per the diagrams that Classic Crazy posted.  I did plug it in to Rosie before I terminated the battery end and verified which wire had the higher voltage, then made that the battery pin 4 High, which actually agreed w/the diagrams! :)  I just need to upload the latest MNGP2 & Rosie software and we'll see what happens :|

Dave

Thanks Dave ,so rather than guessing .I think I will use your method. Metal rj45 head for grounding through the sheilding
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 06, 2024, 05:42:24 PM
I made up a  pin 4 and 5 cable today.
I had updated the firmware last night . I changed all my batteries to pylon protocol.
I am not sure if just the first battery needs to be pylon because it is the lead , but I did them all .
Plugged in my new cable to Can port on hawkes bay , and can port on battery. No smoke or anything.
But there does not seem to be any confirmation that it is connected or working from battery info ?
I guess since Ryan said the temperature would be imported from batteries as well, now I think I should have just warmed up the midnite temp sensor and then I could have known if it was working if the temp didn't change on mngp2 display . Too late to try that now since I have everything tucked away for the day and don't have the Can plug in now.

Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 07, 2024, 04:43:09 PM
Quote from: ClassicCrazy on December 06, 2024, 05:42:24 PMI made up a  pin 4 and 5 cable today.
I had updated the firmware last night . I changed all my batteries to pylon protocol.
I am not sure if just the first battery needs to be pylon because it is the lead , but I did them all .
Plugged in my new cable to Can port on hawkes bay , and can port on battery. No smoke or anything.
But there does not seem to be any confirmation that it is connected or working from battery info ?
I guess since Ryan said the temperature would be imported from batteries as well, now I think I should have just warmed up the midnite temp sensor and then I could have known if it was working if the temp didn't change on mngp2 display . Too late to try that now since I have everything tucked away for the day and don't have the Can plug in now.

Larry
Do you determine if it worked, Larry?

I tried mine this morning.  Waited until the SOC was 4% different between the battery app and the MNGP2, so maybe if there was communication, id see it.  Nothing changed.  I left it connected for a couple hours to give it time to 'talk'.  Well, my HB had shut down?!  Just went dead, no CB blown, etc.  The HB has worked flawlessly for a year. Shut down the battery breaker, turned off the PV breakers, counted to 10, battery breaker back on and the HB came to life!  PV back on and all normal.  Disconnected the new cable and decided to wait a week for the new firmware updates to the MNGP2 & Rosie to 'season', so I know they are good, then will revisit this.  I'll make sure the cable has good continuity in the mean time.  Since it's just a 'listening' issue w/the cable, i cant imagine how that would cause the HB to shut down.  Will check the error codes shortly.

Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 07, 2024, 06:10:17 PM
That is weird Dave - wonder what made your hawkes bay go blank ?
I didn't get time to try out the battery cable again today . Weather was beautiful out here for December so I was doing some outdoors projects.
What kind of batteries are you using  ?
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 07, 2024, 06:15:51 PM
Quote from: mahendra on December 06, 2024, 01:40:45 PMIs this Type A or Type B .

As this would help in determining the correct ground pin for batteries .

Got EG 4 Pins here:
https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045 (https://diysolarforum.com/threads/using-eg4-communications-hub-with-victron.75963/post-967045)

The cable I made the other day I used on an EG4 inverter and it seems to see it just fine. I only used pin 4 and 5 for now which seems to be the standard for most Canbus ports on batteries. At least for most of the batteries I have seen recently.
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 07, 2024, 07:14:12 PM
Quote from: ClassicCrazy on December 07, 2024, 06:10:17 PMThat is weird Dave - wonder what made your hawkes bay go blank ?
I didn't get time to try out the battery cable again today . Weather was beautiful out here for December so I was doing some outdoors projects.
What kind of batteries are you using  ?
Larry
I have Pytes V5 batteries and they use pylon code.  4 high/5 low standard pin assignment for CanBUS.  I ordered a usb - CanBUS cable from Solar Assistant, crimped on the rj45, and plugged it in to the RasPi.  It read out data just fine to the SA, so I know the Pin 4/5 works for the Pytes.

I think the HB shutting down had to be something from the cable.  I didn't reset everything to factory settings as I normally do when I update firmware, so I'll do that tomorrow just for grins. I was in a hurry to try the newly made cable :( :( For the record, the HB CanBUS cables to MNGP2, then to Rosie. I removed the CanBUS termination from the Rosie & used that port to the battery.  Shouldn't make any difference where you attach to the CanBUS and this is the shortest run to the batteries.
Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on December 08, 2024, 08:23:24 AM
I completed some additional set up and inserted a missing arc fault piece in HB yesterday .
Firmware updated waiting on the eg4 hub to test.
I will post in this thread and the other for Rosie in Guyana on the developments.

Thanks for the updates guys I am feeling more confident.
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: Wizbandit on December 08, 2024, 08:47:58 AM
Quote from: aaapilot on December 07, 2024, 07:14:12 PMI think the HB shutting down had to be something from the cable.  I didn't reset everything to factory settings as I normally do when I update firmware, so I'll do that tomorrow just for grins. I was in a hurry to try the newly made cable :( :( For the record, the HB CanBUS cables to MNGP2, then to Rosie. I removed the CanBUS termination from the Rosie & used that port to the battery.  Shouldn't make any difference where you attach to the CanBUS and this is the shortest run to the batteries.
Dave

I suspect a "glitch" in the Closed-Loop code now in the MNGP2 FirmWare.  The code must have "Stop Charge on BMS command" in it.  I updated and my Barcelona dropped to RESTING with zero watts out.  The MNGP2 also has code now to detect if ANY chargers on the CANBUS do not have the same BATTERY CONFIG settings.  If it detects either a real issue or a glitch kicks in the MNGP2 will throw a BATTERY CONFIG FAULT and make you setup the Battery Settings again.  Usually I can do MODE ON/OFF and get the unit charging again but not so with the Closed-Loop glitch.  I had to power-cycle.  I'm told now by management the MPPT devices need a power-cycle after any FirmWare update.  I have reported this issue to engineering so we shall see what they find...
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 08, 2024, 01:31:05 PM
Quote from: Wizbandit on December 08, 2024, 08:47:58 AM
Quote from: aaapilot on December 07, 2024, 07:14:12 PMI think the HB shutting down had to be something from the cable.  I didn't reset everything to factory settings as I normally do when I update firmware, so I'll do that tomorrow just for grins. I was in a hurry to try the newly made cable :( :( For the record, the HB CanBUS cables to MNGP2, then to Rosie. I removed the CanBUS termination from the Rosie & used that port to the battery.  Shouldn't make any difference where you attach to the CanBUS and this is the shortest run to the batteries.
Dave

I suspect a "glitch" in the Closed-Loop code now in the MNGP2 FirmWare.  The code must have "Stop Charge on BMS command" in it.  I updated and my Barcelona dropped to RESTING with zero watts out.  The MNGP2 also has code now to detect if ANY chargers on the CANBUS do not have the same BATTERY CONFIG settings.  If it detects either a real issue or a glitch kicks in the MNGP2 will throw a BATTERY CONFIG FAULT and make you setup the Battery Settings again.  Usually I can do MODE ON/OFF and get the unit charging again but not so with the Closed-Loop glitch.  I had to power-cycle.  I'm told now by management the MPPT devices need a power-cycle after any FirmWare update.  I have reported this issue to engineering so we shall see what they find...
Thanks Wizbandit for your input!  You saved us all a lot of trial and error for not. I was going to cut off one end of my cable and start again.  I'll just set this aside until another firmware update or confirmation from the group that it's working.

Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 09, 2024, 07:34:16 AM
Quote from: aaapilot on December 07, 2024, 04:43:09 PM
Quote from: ClassicCrazy on December 06, 2024, 05:42:24 PMI made up a  pin 4 and 5 cable today.
I had updated the firmware last night . I changed all my batteries to pylon protocol.
I am not sure if just the first battery needs to be pylon because it is the lead , but I did them all .
Plugged in my new cable to Can port on hawkes bay , and can port on battery. No smoke or anything.
But there does not seem to be any confirmation that it is connected or working from battery info ?
I guess since Ryan said the temperature would be imported from batteries as well, now I think I should have just warmed up the midnite temp sensor and then I could have known if it was working if the temp didn't change on mngp2 display . Too late to try that now since I have everything tucked away for the day and don't have the Can plug in now.

Larry
Do you determine if it worked, Larry?

I tried mine this morning.  Waited until the SOC was 4% different between the battery app and the MNGP2, so maybe if there was communication, id see it.  Nothing changed.  I left it connected for a couple hours to give it time to 'talk'.  Well, my HB had shut down?!  Just went dead, no CB blown, etc.  The HB has worked flawlessly for a year. Shut down the battery breaker, turned off the PV breakers, counted to 10, battery breaker back on and the HB came to life!  PV back on and all normal.  Disconnected the new cable and decided to wait a week for the new firmware updates to the MNGP2 & Rosie to 'season', so I know they are good, then will revisit this.  I'll make sure the cable has good continuity in the mean time.  Since it's just a 'listening' issue w/the cable, i cant imagine how that would cause the HB to shut down.  Will check the error codes shortly.

Dave
I doubt the Hbay had shut down it sounds more like the canbus crashed. It sounds like:
1- Protocol was not compatible
2- Pin Out is incorrect
3- Other wires are run, Remember Midnite Can uses a couple pins for power and ground etc
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 09, 2024, 11:26:55 AM
Ryan , is there any indicator on the MNGP2 that the Canbus is communicating with the battery ?  I had the idea of heating up the battery temp sensor from the Hawkes Bay , and if temperature  didn't increase on MNGP2  then that would be an indication that temp is coming from the bms , right ?

Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: aaapilot on December 09, 2024, 11:46:18 AM
Quote from: FNG on December 09, 2024, 07:34:16 AMI doubt the Hbay had shut down it sounds more like the canbus crashed. It sounds like:
1- Protocol was not compatible
2- Pin Out is incorrect
3- Other wires are run, Remember Midnite Can uses a couple pins for power and ground etc


FNG, is the ground Pin required for Rosie to battery cables?  I was under the impression the ground pin wasn't needed in this instance.  Also, can you verify the Pin numbering from left to right please, with the push lock facing DOWN and the cable facing away from you, so all pins/wire colors are visible when making the cable.

My Pin Out may very well be wrong, so answering these 2 issues will correct any errors.  In my case, I can't say if the HB actually shut down, but from an observational standpoint, the PV output line on the display was totally blank, not just 0 output, verified by no power going into the batteries & verified by the separate battery dongle app. Pressing the MPPT button, the display said no MPPT was installed in the system.  Rosie was still operating and all other parameters were reported on the MNGP2, so I was thinking the Canbus was operational, but I don't know what a Canbus crash would look like.  Thanks so much for your insight!

Dave
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: Brucey on December 20, 2024, 03:23:50 PM
Looks like solar Assistant support for Rosie is live. So is this the cable I should order to connect to a Rosie and Hawkes Bay? No midnite batteries currently. Thanks.

https://solar-assistant.io/shop/products/can_usb_self_crimp
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: FNG on December 23, 2024, 08:01:31 AM
Quote from: ClassicCrazy on December 09, 2024, 11:26:55 AMRyan , is there any indicator on the MNGP2 that the Canbus is communicating with the battery ?  I had the idea of heating up the battery temp sensor from the Hawkes Bay , and if temperature  didn't increase on MNGP2  then that would be an indication that temp is coming from the bms , right ?

Larry

Yes on the main status page scroll 2 clicks I believe it is and BMS page should show up, It may not show if it doesnt see a BMS
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 24, 2024, 04:33:45 PM
Quote from: FNG on December 23, 2024, 08:01:31 AM
Quote from: ClassicCrazy on December 09, 2024, 11:26:55 AMRyan , is there any indicator on the MNGP2 that the Canbus is communicating with the battery ?  I had the idea of heating up the battery temp sensor from the Hawkes Bay , and if temperature  didn't increase on MNGP2  then that would be an indication that temp is coming from the bms , right ?

Larry

Yes on the main status page scroll 2 clicks I believe it is and BMS page should show up, It may not show if it doesnt see a BMS

I plugged the cable in and see that page now. So I guess it is working .
All the fields are filled in on the MNGP2 BMS Battery Status screen.
Though I don't know what the Time signifies ?
 Also two temps are displayed so not sure if one is from bms and one for Hawkes Bay  temp sensor ? ( I figured this out - it is showing the Minimum and Maximum temps from I guess all five of my batteries ). 
Anyway all good .
Now I have to back and find you post to see how this effects the charging . That is for if the sun comes out again in December !
Found your other post
" When you close loop a Rosie/Hbay/Bclna with a battery the Battery voltage, Battery temperature, Battery current, Battery SOC etc are all supplied by the battery. Essentially the MNGP2 listens for the SOC for example and if it recieves it from a battery it is a higher priority and thus over writes the WBjr"

Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on December 29, 2024, 02:27:44 PM
When I charged closed loop today on the Hawkes Bay it seems like it was stuck in Absorb and brought the voltage up higher than my absorb setting. 
This is the first good sunny day since I got the closed loop running so I will have to watch it again tomorrow. I had it at 55.2v Absorb 25 minutes Absorb time, and 53.6 Float. I had to force the Float from the MNGP2 .
I added in ending amps so will see what it does tomorrow.
Larry
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: ClassicCrazy on January 02, 2025, 02:34:35 PM
I made sure I updated my Hawkes Bay Firmware to latest - I was one step below latest one . The Closed loop seems to work fine and the trouble I reported with it not going out of absorb seems to be gone , though I did add ending amps into it too.
I have three different controllers on the system so it is tough to watch them all at once. I also added a Victron Smart shunt on my system so it can see everything rather than the Classic/ Hawkes Bay whizbangs which didn't take in the third controller.   I do have monitoring of the Classic, 5 batteries, and Smart Shunt all in Grafana. I am also bringing everything over to Home Assistant now too.
Two of my controllers are on closed loop . I split my Canbus data from batteries to go to two different controllers ( one being the Hawkes Bay)  and that seems to work fine.

I also reverted boB's special lithium Classic test firmware back to stock firmware since it suddenly developed the zero Soc bug that everyone else had reported that never happened to mine. This zero SOC came after I shut down my system to install smart shunt.
Anyway it is nice to get a full day of sun here in Wisconsin .
Larry 
Title: Re: Closed loop with Rosie/ Barcelona /hawksbay
Post by: mahendra on January 02, 2025, 03:23:47 PM
Great to know Larry in would be adding 4 Midnite power Flo rack type to the Rosie and Barcelona .
We would be repurposing the eg4 life power to a Xantrex / Schneider XWpro