What this guide works from. One rig: a Growatt SPF 5000 ES, a JK Inverter BMS on a 16-cell LiFePO4 pack, 280 Ah, resting at 52.8 V, JK app showing 47% charge, and a Raspberry Pi 4 running Solar Assistant. The direct JK to Growatt CAN link works. The owner wants a true SOC that rules can act on.
The short answer. No. Solar Assistant does not feed a true SOC number to a Growatt SPF inverter the way a real BMS does. SOC means state of charge, how full your battery is, in percent. A BMS is the battery management system, the small board in your battery that guards the cells and tracks how full they are. Solar Assistant runs on a Raspberry Pi. It reads your inverter and your BMS and shows the numbers on a screen. It does not act as the BMS. “Emulated BMS” is not a checked Solar Assistant mode for Growatt SPF. Keep the direct JK to Growatt link. Use Solar Assistant as a parallel reader. Then steer the inverter with Home Assistant rules that act on the true BMS SOC.
The rig that would not trust its own screen
It was a working build, and that was the trap. The SPF 5000 ES sat on the wall. The battery box held 16 LiFePO4 cells with a JK Inverter BMS. The pack read 52.8 V at rest: 3.30 V per cell, times 16 cells. The JK app showed 47% charge. The direct CAN link was up. Program 05 was LI. Program 36 was L52. The Growatt screen showed 47% too. The owner still had a gap. The Growatt could not act on SOC by itself. It had no rule that said “stop the drain at 20%” or “slow the charge at 95%”. The owner had read online that Solar Assistant had an “Emulated BMS” mode. The hope was that Solar Assistant would feed SOC to the inverter. The hope was wrong. The fix was different, and it worked. Solar Assistant read the BMS. Home Assistant moved the settings.
What the “Emulated BMS” name means
I searched Solar Assistant’s own help site, solar-assistant.io, for an “Emulated BMS” page. I found no such page. The site’s own intro page says Solar Assistant is software to watch and control your solar system. It runs on a Raspberry Pi that plugs into the inverter and, if you want, into a battery BMS. It says nothing about acting as a BMS for your inverter. So I cannot confirm from Solar Assistant’s own docs that an “Emulated BMS” mode exists. This is not confirmed.
What I did find is talk from real users on the DIY Solar Power Forum. One user said an emulate BMS mode seemed more true than his SolArk volts. That user also had a real Orion BMS link to the inverter. So the good numbers may have come from that link, not the emulate mode. A second user said the plain opposite. He said the Emulated BMS on SA is clearly not true. He had a Batrium BMS and an EG4 inverter, with no link between them at all.
Those two posts tell you three things. One, some users do see a setting with this name. Two, no one in that thread could say how it works, which wire it uses, or which brands it backs. Three, the one user who tried to lean on it for real charge control found it wrong. It would guess SOC from inverter power readings. It would not count charge in and out of the cells the way a BMS does. A guess built on inverter power is only as good as the inverter’s own meter. Inverter meters are often off by a few percent. Users also asked if Solar Assistant could pass SOC, volts, and amps to a Sunsynk inverter as if it were the BMS. The answer was plain: it does not send that data. A 2023 post said the same in short words. So treat “Emulated BMS” as a screen-side estimate, not as a BMS link.
What Solar Assistant really does
Solar Assistant does three things well. One, it reads your inverter. It plugs in by USB or serial cable and pulls live numbers: solar watts, load watts, grid watts, battery volts, and battery amps. Two, it reads your BMS, if your BMS has a port it can use. It works with common BMS brands such as JK, Seplos, and Pylontech, through USB or serial links. Three, it sends those numbers to Home Assistant over MQTT. MQTT is a small message system that lets smart home tools talk to each other. Once the numbers are in Home Assistant, you can build rules that change inverter settings.
That last point is the key to this guide. Solar Assistant can change inverter settings from Home Assistant. Its own help page, “Adjusting solar settings from Home Assistant”, says so in plain words. It shows inverter settings such as output source, charge current, and work mode times to Home Assistant. Change a setting and it takes hold on your inverter at once. This is real, and it is in the official docs.
But note what it does not do. It does not send CAN frames to your inverter. CAN is the two-wire link that a BMS uses to talk to an inverter. It does not send RS485 frames to your inverter as a BMS would. Solar Assistant reads the inverter through its own port and the BMS through a second port. The two reads stay apart. The inverter never hears the BMS through Solar Assistant. That is why the guides on this site call Solar Assistant a parallel reader. It sits next to the link, not in it.
Why your SOC number goes wrong
SOC is hard to get right on LiFePO4, the cell type in most home batteries. LiFePO4 means lithium iron phosphate, the safe, long-life cell type used in most solar batteries. Its volts stay almost flat from 20 percent full to 80 percent full. A 16S pack, 16 cells in a row, sits near 52 to 53 volts for most of its range. So volts alone cannot tell you how full the pack is. A small volt error, say 0.3 volts, can mean a big SOC error in the flat middle. That is why volts-based SOC is wrong.
A BMS tracks SOC by counting amps in and amps out. This is called coulomb counting. It is a much better way than volts. But it drifts. Each small read error adds up. After weeks with no full charge, the BMS count can be off by 10 percent or more. The BMS resets its count to 100 percent only when the pack hits full volts and the charge current falls low. A shunt fixes this drift. A shunt is a small block that sits in the battery wire and measures current with care. The Victron SmartShunt is the best-known one. It counts amps with far less error than a BMS.
A 16S pack at 60% full reads 52.2 V at rest. The same pack at 35% full reads 52.0 V. The gap is 0.2 V for 25 points of SOC. No cheap volt meter can read that gap with trust. Under a kettle load, the same 60% pack reads like 30%. Under 40 A of solar charge, it reads like 90%. The volts moved. The stored charge did not. That is why the inverter screen cannot be the boss for SOC.
Four ways to get true SOC into your inverter
Pick the way that fits your inverter, your BMS, and how much risk you will take. The first row is the best when it works. The last row is a guess only. Most rigs land on row one or row two. Row three is for rigs where the BMS cannot talk to the inverter at all. Read the risk column first. It tells you what you give up with each pick.
| Way to get SOC | How it works | What the inverter sees | Main risk |
|---|---|---|---|
| Direct BMS link | BMS talks to the inverter over CAN or RS485 | Real SOC, volts, amps, charge limits | Needs a BMS and inverter that speak the same protocol |
| Solar Assistant + Home Assistant | SA reads the BMS, HA moves inverter settings at set SOC points | Inverter runs on volts, settings move with true SOC | HA or the Pi must stay up |
| SmartShunt + ESP32 emulator | ESP32 reads the shunt, acts as a Pylontech pack over CAN | True shunt SOC in Lithium mode | No BMS cell faults or temps seen |
| Open-loop volts mode | No data link; inverter works by pack volts only | Volts only, no SOC at all | SOC is a guess on the flat curve |
On our rig, row one worked, so row two was the add-on. The direct link ran the inverter. Solar Assistant and Home Assistant ran the rules. That split is the whole idea. The link does the hard job. The Pi does the smart job. Do not mix them up. A Pi cannot send CAN frames. A BMS link cannot run rules. Each tool has one job. Use each tool for its own job.
If your BMS and inverter can talk, use the direct link. It is the only way the inverter gets real charge limits and fault news from the BMS. If they cannot talk, the Solar Assistant plus Home Assistant path is the safest next step. The ESP32 emulator path gives the best SOC number, but the inverter cannot see cell faults.

Set it up in order: nine steps, each with a check
Work the steps in order. If a check fails, stop there.
- Wire the direct link first. The JK Inverter BMS talks to the Growatt SPF over CAN, in Pylontech mode, at 500 kbps. CAN-H goes to CAN-H and CAN-L goes to CAN-L. Set the Growatt to LI mode. Check: the inverter screen shows the same SOC as the JK app.
- Give Solar Assistant its own link to the BMS. Use the RS485 port for Solar Assistant, and leave the CAN port for the inverter. In Solar Assistant, pick the JK BMS as the battery type. Check: Solar Assistant shows cell volts, pack volts, amps, temps, and SOC.
- Give Solar Assistant its own link to the inverter. Plug the inverter USB cable into the Pi. Pick the Growatt SPF as the inverter type. Check: the dashboard shows solar watts, load watts, and grid watts.
- Set the inverter volt backstops. The inverter stays on LI mode with the direct link up. For a 16S pack: bulk 55.2 V, float 53.6 V, cut-off 48.0 V. For a 15S pack: 51.75 V, 50.25 V, 45.0 V. Equalization off, temp comp 0 mV/°C. Check: bulk, float, and cut-off match the datasheet.
- Watch the numbers for a full day. Watch the SOC at dawn, at noon, and at night. If the BMS SOC and the inverter SOC part ways by more than 10 percent, note which one stays stuck. Check: the three SOC numbers agree within a few percent.
- Run a full charge to reset the BMS count. The BMS count resets to 100% when the pack hits full volts and the amps taper low. Do that at least once a week if you can. On our rig, the pack hit 55.2 V at noon and the JK app showed 100%. Check: the BMS SOC reads 100% at full charge.
- Link Solar Assistant to Home Assistant. Its Home Assistant link shows inverter settings as normal controls. Turn on the “Allow setting changes” switch first if you use MQTT. Check: one setting change by hand takes hold on the inverter at once.
- Build rule one: stop the drain. When the BMS SOC falls to 20 percent, tell the inverter to stop using the battery and go to grid or solar only. Many owners use 20 percent as the low point, and 10 percent as the hard floor. Do not set the low point to 5 percent. A BMS that cuts out at low volts will drop the whole house. Check: the rule fires at 20% SOC.
- Build rule two: cap the charge near full. When the BMS SOC hits 95 percent, cut the max charge current down low. This gives the BMS time to balance the cells. Set the rule to cut charge current to 10 amps or less above 95 percent, then back to full below 90 percent. Check: the charge current drops above 95% SOC.

Use Home Assistant to steer charge settings
This is where Solar Assistant earns its keep. You do not need it to act as a BMS. You need it to move inverter settings when the true SOC hits a point you pick. Build these rules with the official Solar Assistant link, not with raw MQTT, if you can. It shows settings as named controls. If you use MQTT, turn on the “Allow setting changes” switch first, and test one change by hand before you let a rule run it.
Start with two rules only. Rule one stops the drain at 20%. Rule two caps the charge above 95%. Do not add more rules until these two have run for a week. Home Assistant and the Pi must stay up for these rules to run. If the Pi loses power or the Wi-Fi drops, the inverter falls back to its own settings. So set the inverter’s own volts-based cut-off as a backstop, a bit below your Home Assistant low point. For a 16S pack, a backstop cut-off near 48.0 volts is a common pick. For a 15S pack, near 45.0 volts. Never turn off BMS guards to make a rule work.

If the reading differs, the reading is the answer
The three screens on this rig can disagree, and the gap tells you which link is at fault. Read the row that matches what you see. Each row names the cause. Each row gives the fix. Check one link at a time. Give each change five minutes. A link that needs two minutes to settle looks broken at thirty seconds.
| What you see | Most likely cause | Fix |
|---|---|---|
| Solar Assistant shows no BMS data | Wrong port, wrong protocol, or bad adapter | Check the RS485 port; use an FTDI adapter |
| Solar Assistant shows no inverter data | USB cable or wrong inverter pick | Check the cable; test with Growatt PV Keeper |
| Growatt shows Error 20 | Direct JK link is down | Check the CAN cable, Program 05 LI, Program 36 L52 |
| BMS SOC and inverter SOC part by 10% or more | Inverter guesses from volts; BMS counts amps | Trust the BMS; run a full charge to reset the count |
| SOC jumps to 100% too soon | Charge volts too low or tail current too high | Check the charged volts against absorption |
| Rules never fire | Pi down, Wi-Fi down, or “Allow setting changes” off | Check the Pi, the Wi-Fi, and the switch |
A stuck number is a clue too. If one SOC number never moves, stop trusting it. Watch it for a day. A count that never moves is not a count. It is a stuck gauge. The fix is a full charge, not a new rule. A full charge resets the count to a known point. Then the rules can trust it again.
On our rig, the first fault was the third row. Error 20 showed after a cable was moved during the Pi install. The plug had slipped out of the JK CAN port. It went back in, and the SOC matched again. Solar Assistant could not fix it.
When a real emulator is the right tool
A real emulator is a small board that acts as a BMS to your inverter. It reads the true SOC from a shunt or a BMS, then sends Pylontech CAN frames to the inverter. The inverter thinks a Pylontech battery is talking to it, and it runs in Lithium mode on that SOC. This is not Solar Assistant. It is a different tool.
YamBMS is one such build: an ESP32 project that reads your BMS and sends CAN or RS485 to Deye, Sunsynk, Sol-Ark, and other brands. A newer build reads a Victron SmartShunt over Bluetooth and sends Pylontech CAN to a Deye inverter. The gap is plain: the inverter gets SOC, volts, and current from the shunt, but no BMS fault news and a fixed temp number. The author calls it an experiment and warns not to copy it into a live home yet.
Use a real emulator only when your BMS cannot talk to your inverter at all. Keep the BMS wired and guarding the pack. Set volt backstops in the inverter. Test the emulator for a week before you trust it at night. On our rig, no emulator was needed. The direct link worked.
What can still go wrong
The Pi goes down and the rules stop.
The inverter falls back to its own volt settings. That is safe if you set the backstops well. It is blind if you did not. Set the 48.0 V cut-off before you build any rule.
The count drifts with no full charge.
If the pack never hits full, the BMS count walks off. After weeks, it can be off by 10 percent or more. Run a full charge weekly. Check the time since the last full charge in the BMS app.
The forum post misleads you.
One user found “Emulated BMS” more true than SolArk volts. That user had a real Orion BMS link too. The good numbers may have come from that link. Do not lean on a screen-side guess for charge control.
Common questions
Does Solar Assistant feed SOC to a Growatt SPF?
No. It reads the inverter and the BMS side by side. It sends no CAN frames to the inverter. The direct JK to Growatt link feeds SOC to the inverter.
Is “Emulated BMS” a real Solar Assistant mode?
Not confirmed. Solar Assistant’s own docs list no such page. Some users report a setting with this name.
What is the safest way to act on true SOC?
Use Solar Assistant plus Home Assistant. Build two rules only. Stop the drain at 20% SOC. Cut charge current low above 95% SOC.
When is a real emulator the right tool?
When your BMS cannot talk to your inverter at all. Use an ESP32 build such as YamBMS. Test for a week before you trust it at night.
Do this next
- Keep your direct BMS link, and check it works before you add anything.
- Add Solar Assistant as a parallel reader, with its own RS485 link to the BMS and USB link to the inverter.
- Watch the numbers for a full day, and run a full charge to reset the count.
- Link Solar Assistant to Home Assistant and test one change by hand.
- Build two rules only: stop the drain at 20% SOC, and cut charge current low above 95%.
- Set a volts backstop below your rule points: 48.0 V for 16S, 45.0 V for 15S.
- If your BMS cannot talk to your inverter at all, look at a real emulator such as YamBMS.
Sources
Checked on 20 November 2026. Unconfirmed items are labelled “not confirmed” in the text.
- Solar Assistant official site, intro page. Software to watch and control your solar system, on a Raspberry Pi, plugs into the inverter and the BMS. No “Emulated BMS” page found.
- Solar Assistant help page, “Adjusting solar settings from Home Assistant”. Inverter settings show as controls in Home Assistant, and a change takes hold at once.
- DIY Solar Power Forum, “Smart Shunt and Solar Assistant” thread. One user found an emulate BMS mode more true than SolArk volts, with a real Orion BMS link in place. A second user found the Emulated BMS not true on a Batrium BMS and EG4 inverter.
- Power Forum, “Solar Assistant with multiple types of BMS” (2023). “SA doesn’t present the info to the inverter anyway.”
- Growatt SPF 5000 ES manual, LCD settings. Program 05 LI leads to Program 36. L52 is the Pylontech CAN code.
- JK BMS community reports. JK Inverter BMS, Pylontech CAN, 500 kbps, works on L52. Field-reported.
- Victron SmartShunt manual. A shunt counts amps with far less error than a BMS, and holds SOC for weeks with no full charge.
- YamBMS project. ESP32 build that reads a BMS and sends CAN or RS485 to Deye, Sunsynk, and Sol-Ark. A newer build, SmartShunt to Deye over ESP32, reads a Victron SmartShunt over Bluetooth and sends Pylontech CAN to Deye.
- This site: JK BMS to Growatt SPF 5000 ES CAN setup, Growatt Error 20 fix, Solar Assistant bridge guide, Victron SmartShunt guide, open-loop LiFePO4 voltage settings.
Comments (0)