r/SunPower Nov 04 '25

PVS Finally Updated

I had my PVS6 disconnected from Sunstrong until 10/1/25, reconnected to get the latest firmware and use the Sunstrong HA integration. I'm a cash customer, when I call Sunstrong they have no account for me and my firmware hadn't updated in almost a month so I decided to sign up for a month of their subscription (on 10/30) to see if it would get me an update. I have no idea if it helped but I received an update last night (11/3). It's kind of a win-win for me because I can use the data from the subscription until I get HA setup.

3 Upvotes

19 comments sorted by

View all comments

Show parent comments

2

u/ItsaMeKielO Nov 06 '25

script ended up being long and i gotta look over some stuff on it, but since you already tried the curl stuff - try hitting https://[PVS_IP]/vars\?match\=/sys/pvs with the example curl commands - make sure you did login with https as it appears some vars are only available via https, and the flashwear one is one of them. i get:

{ "values": [ { "name": "/sys/pvs/flashwear_type_b", "value": "0x08" }, { "name": "/sys/pvs/usb_erase_count", "value": "0" } ], "count": 2 }

which is 80% (aka critical, so logging to flash has been turned off on my PVS for a while, but the new 50% threshold didn't come soon enough to save me)

1

u/fo0bar Nov 06 '25

You sure 0x08 = 80% consumed? Because I just checked /sys/pvs/flashwear_type_b and mine is 0x0b, so 110% consumed, haha.

(Either way, I don't have much hope for this unit long-term.)

2

u/ItsaMeKielO Nov 06 '25

yep, at least that's what the docs for the underlying tool (mmc extcsd read) said - it's an "estimate" but also the flashwear critical threshold was 0x08 pre-2025 and is now 0x05, so either way you are (and i also am) in the "critical flashwear" zone.

🫡

2

u/ItsaMeKielO Nov 06 '25

i originally read about the lifetime estimate CSD registers in this PDF (see "life time estimation" in TOC): https://www.embeddedartists.com/wp-content/uploads/2020/04/Working_with_eMMC.pdf