A Forum run by Enthusiasts of MidNite Solar

MNGP2 => MNGP2 specific => Topic started by: qrper on June 18, 2023, 03:45:34 PM

Title: Kilowatt hours still not correct
Post by: qrper on June 18, 2023, 03:45:34 PM
Running newest firmware for both MNGP2 and Rosie

I saw 10.5 kWh and I think 11 kWh.

Next time I checked, the kWh meter reset back to zero.

So starting over a 0.00 kWh.

mike
Title: Re: Kilowatt hours still not correct
Post by: boB on June 18, 2023, 09:06:16 PM

You sure that it didn't just reset because it was another day ?

Not sure myself if there is supposed to be another kW-Hour display for total energy.

Title: Re: Kilowatt hours still not correct
Post by: qrper on June 19, 2023, 10:55:47 AM
Quote from: boB on June 18, 2023, 09:06:16 PMYou sure that it didn't just reset because it was another day ?

Not sure myself if there is supposed to be another kW-Hour display for total energy.



boB,
The re-set happened around 2pm...

I checked the clock and it was an hour out of whack... reset the MNGP2 and re-set the time.

Are you telling me that kWh meter is only daily with a re-set at midnight? I was hoping it would be like an odometer on the family buick—a lifetime running total of kWh produced.
Will let you know if a re-set happens in the middle of the day.

Mike
Title: Re: Kilowatt hours still not correct
Post by: boB on June 19, 2023, 02:48:34 PM
There should be BOTH a trip meter and an odometer and they system should keep both of those values.

But resetting in the afternoon should not be happening.

First though you have to set the time in the MNGP2 and that might help the resetting at 2PM

Internally the total kW-Hours I think are held but there may not be a display for it yet.

There are newer MNGP2 firmwares we are working on that may do what you want but just isn't out.

I will ask around.

boB
Title: Re: Kilowatt hours still not correct
Post by: Wizbandit on June 20, 2023, 01:46:50 PM
I just checked in my setup. dev 0x2b is HAWKES BAY and 0x2c is BARCELONA (dual MPPT)
The registers have not been populated yet so there is still some code to be written.
4 Bytes for Watt-hours and 4 bytes for Amp-hours.

0x023 DC Lifetime Cumulative Stream 10s [Wh X10]32 [Ah X10]32

reg_num[0x023] dev_type[0x2b] idx[0x01] bid[0x01] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x01] bid[0x03] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x02] bid[0x03] [8] 00 00 00 00 00 00 00 00
Title: Re: Kilowatt hours still not correct
Post by: qrper on June 21, 2023, 10:11:07 AM
Quote from: Wizbandit on June 20, 2023, 01:46:50 PMI just checked in my setup. dev 0x2b is HAWKES BAY and 0x2c is BARCELONA (dual MPPT)
The registers have not been populated yet so there is still some code to be written.
4 Bytes for Watt-hours and 4 bytes for Amp-hours.

0x023 DC Lifetime Cumulative Stream 10s [Wh X10]32 [Ah X10]32

reg_num[0x023] dev_type[0x2b] idx[0x01] bid[0x01] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x01] bid[0x03] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x02] bid[0x03] [8] 00 00 00 00 00 00 00 00


I noticed that the counters seem to work for longer than 24 hours. Monday, I had produced 15kWh and tuesday morning, the counter said 20ish kWh. So no rest at midnite. However, this Wednesday morning, I'm back at 4.7kWh. Tuedsay night, the counter was 28.8kWh.

Not that it makes any difference, I wonder if the counter is reset by time or total kWh product or a combination of the two. It will be great to have a running odometer of kWh produced.

Mike
Title: Re: Kilowatt hours still not correct
Post by: boB on June 21, 2023, 12:37:40 PM
Quote from: qrper on June 21, 2023, 10:11:07 AM
Quote from: Wizbandit on June 20, 2023, 01:46:50 PMI just checked in my setup. dev 0x2b is HAWKES BAY and 0x2c is BARCELONA (dual MPPT)
The registers have not been populated yet so there is still some code to be written.
4 Bytes for Watt-hours and 4 bytes for Amp-hours.

0x023 DC Lifetime Cumulative Stream 10s [Wh X10]32 [Ah X10]32

reg_num[0x023] dev_type[0x2b] idx[0x01] bid[0x01] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x01] bid[0x03] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x02] bid[0x03] [8] 00 00 00 00 00 00 00 00


I noticed that the counters seem to work for longer than 24 hours. Monday, I had produced 15kWh and tuesday morning, the counter said 20ish kWh. So no rest at midnite. However, this Wednesday morning, I'm back at 4.7kWh. Tuedsay night, the counter was 28.8kWh.

Not that it makes any difference, I wonder if the counter is reset by time or total kWh product or a combination of the two. It will be great to have a running odometer of kWh produced.

Mike

Mike,  The kW-Hours are reset at midnight.

Which firmware/software version is your Rosie running ?

There will be newer firmware coming that may fix part of this ?

boB
Title: Re: Kilowatt hours still not correct
Post by: qrper on June 21, 2023, 05:06:05 PM
Quote from: boB on June 21, 2023, 12:37:40 PM
Quote from: qrper on June 21, 2023, 10:11:07 AM
Quote from: Wizbandit on June 20, 2023, 01:46:50 PMI just checked in my setup. dev 0x2b is HAWKES BAY and 0x2c is BARCELONA (dual MPPT)
The registers have not been populated yet so there is still some code to be written.
4 Bytes for Watt-hours and 4 bytes for Amp-hours.

0x023 DC Lifetime Cumulative Stream 10s [Wh X10]32 [Ah X10]32

reg_num[0x023] dev_type[0x2b] idx[0x01] bid[0x01] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x01] bid[0x03] [8] 00 00 00 00 00 00 00 00
reg_num[0x023] dev_type[0x2c] idx[0x02] bid[0x03] [8] 00 00 00 00 00 00 00 00


I noticed that the counters seem to work for longer than 24 hours. Monday, I had produced 15kWh and tuesday morning, the counter said 20ish kWh. So no rest at midnite. However, this Wednesday morning, I'm back at 4.7kWh. Tuedsay night, the counter was 28.8kWh.

Not that it makes any difference, I wonder if the counter is reset by time or total kWh product or a combination of the two. It will be great to have a running odometer of kWh produced.

Mike

Mike,  The kW-Hours are reset at midnight.

Which firmware/software version is your Rosie running ?

There will be newer firmware coming that may fix part of this ?

boB


Running the latest and greatest that Ryan uploaded the other day. I did end up bricking my MNGP2, but thank to a second upload with a different file name, was able to recover the display.
Mike
Title: Re: Kilowatt hours still not correct
Post by: boB on June 21, 2023, 11:20:31 PM
Quote from: qrper on June 21, 2023, 05:06:05 PMRunning the latest and greatest that Ryan uploaded the other day. I did end up bricking my MNGP2, but thank to a second upload with a different file name, was able to recover the display.
Mike

Yes, that sucks but at least there was a way around it.

Title: Re: Kilowatt hours still not correct
Post by: qrper on June 22, 2023, 11:01:58 AM
Quote from: boB on June 21, 2023, 11:20:31 PM
Quote from: qrper on June 21, 2023, 05:06:05 PMRunning the latest and greatest that Ryan uploaded the other day. I did end up bricking my MNGP2, but thank to a second upload with a different file name, was able to recover the display.
Mike

Yes, that sucks but at least there was a way around it.



I sure would like to see a way for the uploader to allow you to retrieve and reload the last firmware update, just for when the code bricks something. For example:

If I uploaded 10.20.01 and it locked my device, I'd like a pathway to download 10.10.00 (the last version) to at least get back on line.

As is it now, you're one and done. I'm no coder, and I know your folks are up to their elbows in software project right now, but that needs to be looked into.

Mike
Title: Re: Kilowatt hours still not correct
Post by: ClassicCrazy on June 22, 2023, 11:17:34 AM
I am sure they are working on it Mike.
At least to let you re-upload the same code which is what the fix was for you and me.
I wouldn't call that bricking a device. It was just a glitch. Bricking in the traditional sense would mean that it was dead for good. Since the MNGP2 had bluetooth communications and accepted upload of firmware it was nowhere near "bricked". It was just stuck on the first MNGP2 screen for whatever reason.
Larry   
Title: Re: Kilowatt hours still not correct
Post by: qrper on June 22, 2023, 02:54:48 PM
Quote from: ClassicCrazy on June 22, 2023, 11:17:34 AMI am sure they are working on it Mike.
At least to let you re-upload the same code which is what the fix was for you and me.
I wouldn't call that bricking a device. It was just a glitch. Bricking in the traditional sense would mean that it was dead for good. Since the MNGP2 had bluetooth communications and accepted upload of firmware it was nowhere near "bricked". It was just stuck on the first MNGP2 screen for whatever reason.
Larry   


Yeah, 'bricked' was perhaps a bit much. I wasn't able to tell tech support exactly what happened, other than it was lock up on the splash screen. That's when he said it sounded like it got bricked... so it came home with me.

Were you able to figure out what went fubar? Were we the only two that had issues?

mike
Title: Re: Kilowatt hours still not correct
Post by: ClassicCrazy on June 22, 2023, 04:42:11 PM
Mike,
Far as I know we are the only two who that happened to. Hard to say. Since these new firmwares are beta , we are beta testers and should expect some failures. When I have things like that happen I contact Ryan and he gets back to me quickly. He is the one releasing these so is the one who should know right away. He just said that he had seen that happen and reloading it fixed the issue. But the fact that the beta updater wouldn't allow the same new firmware to be reloaded was the bug. That is the first thing I would have tried after it didnt' work right.
Even when the MNGP2 was stuck on that screen, I checked and my Hawkes Bay controller was still operating okay . All is well that ends well.
Larry
Title: Re: Kilowatt hours still not correct
Post by: qrper on June 23, 2023, 09:42:10 AM
Quote from: ClassicCrazy on June 22, 2023, 04:42:11 PMMike,
Far as I know we are the only two who that happened to. Hard to say. Since these new firmwares are beta , we are beta testers and should expect some failures. When I have things like that happen I contact Ryan and he gets back to me quickly. He is the one releasing these so is the one who should know right away. He just said that he had seen that happen and reloading it fixed the issue. But the fact that the beta updater wouldn't allow the same new firmware to be reloaded was the bug. That is the first thing I would have tried after it didnt' work right.
Even when the MNGP2 was stuck on that screen, I checked and my Hawkes Bay controller was still operating okay . All is well that ends well.
Larry

I agree. Had the uploader allowed me to re-load the current version or the next to last one, would have saved my bacon. Like you, Rosie was online and operating when the MNPG2 froze on upgrade.
I'm always a bit hesitant when upgrading. Hell, I'm still running Word '97 on my ten year old mac... that's running system software three version behind.

I still use pcb cad software that's running on Windows '98.

Mike
Title: Re: Kilowatt hours still not correct
Post by: FNG on June 23, 2023, 11:42:42 AM
I did find out there is a revert to factory image in the MNGP2, This will allow a stuck update to be forced all the way back to factory and allow you to update again.

To do this:
1- Power down the MNGP2 and when screen is dark wait 15 seconds.
2- Hold the back button and power on MNGP2 and continue holding back button for 15 seconds
3- MNGP2 will go through a update process and revert to the stored factory image
4- Update again using the beta app
Title: Re: Kilowatt hours still not correct
Post by: qrper on June 23, 2023, 12:46:02 PM
Quote from: FNG on June 23, 2023, 11:42:42 AMI did find out there is a revert to factory image in the MNGP2, This will allow a stuck update to be forced all the way back to factory and allow you to update again.

To do this:
1- Power down the MNGP2 and when screen is dark wait 15 seconds.
2- Hold the back button and power on MNGP2 and continue holding back button for 15 seconds
3- MNGP2 will go through a update process and revert to the stored factory image
4- Update again using the beta app

Great info... goin' print this out an hang near the system

mike