Fox ESS H1-5.0-E ~33KW Peugeot E208

Topics concerning storage of renewable energy e.g. home battery systems
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

Hi
I will start by presenting the components

Invertor Fox ESS H1-5.0-E
Image
Image

BMS BOX
Image

Batteries (For now i install only 7 modules(NMC 6s2P) instead of 12 because have the save voltage with 3 modules of 58.4V (LiFePO4 16S)
Image
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

BMS box "unboxing"

Image
Image
Image
Image
Image
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

First invertor and BMS setup
Image

BMS BOX and battery together (main fuse disconnect the pack from the Battery BOX, the other one splits the pack at 2/7 and 4/7)
Image

CANHacker setup (on blue pair is CAN. Next two bridges are RS485)
Image

If anyone need some info and I can help with something let me know.
I would need some CAN bus and RS485 BUS logs from an working system.
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

Hi, I am in the process of building a very similar setup using the MG ZS batteries, which look exactly the same as yours, so far I have my main processor talking via iso-spi to the individual BMS installed on the top of each pack, I can get all the battery temps, individual cell voltages displaying on a 7" touch screen. Still a working progress. I have yet to purchase the inverter. As I am unsure about the can bus protocol to the inverter.
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

Hi Kevin

I think is a good choice if you can find cheap. I have seen them around £300-£400 (for the 5KW) on eBay.

I have almost crack the can messages.
I move on on esp32 and a small 1" display but I am relocating and between jobs and will be some time until have time to move on with the project.
I am interested in your cell monitoring If you can post something here or provide a link.
You can open a new topic because I am sure that will be more and more people interested in the future.
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

Here a brief description of can messages. This will help you start the inverter.

Can ID messages are:
Inv. Request
00001871
BMS response
00001872 (Batt_V_max/Batt_V_min/Batt_Chg_max/Batt_chg_min)(V x0.1/V x0.1/A x0.1/A x0.1)
00001873 (batt_cur_V/_/SOC/_)(V x0.1/_/100%/_)
00001874
00001875 (Bat_Temp/Nr_Batt/_/_)(C x0.1/0/_/_)
00001877
00001878
00001879
00001881
00001882
00001883
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

usus wrote: Wed Mar 01, 2023 10:59 am Hi Kevin

I think is a good choice if you can find cheap. I have seen them around £300-£400 (for the 5KW) on eBay.

I have almost crack the can messages.
I move on on esp32 and a small 1" display but I am relocating and between jobs and will be some time until have time to move on with the project.
I am interested in your cell monitoring If you can post something here or provide a link.
You can open a new topic because I am sure that will be more and more people interested in the future.
Yes seems like a good inverter, and I wish I could find a second hand one at that price, think I'm going to have to buy new, so can't test anything further untill I have one. With regards to the black box do we need this if building our own BMS system as I wasn't aware that this was required?
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

usus wrote: Wed Mar 01, 2023 11:13 am Here a brief description of can messages. This will help you start the inverter.

Can ID messages are:
Inv. Request
00001871
BMS response
00001872 (Batt_V_max/Batt_V_min/Batt_Chg_max/Batt_chg_min)(V x0.1/V x0.1/A x0.1/A x0.1)
00001873 (batt_cur_V/_/SOC/_)(V x0.1/_/100%/_)
00001874
00001875 (Bat_Temp/Nr_Batt/_/_)(C x0.1/0/_/_)
00001877
00001878
00001879
00001881
00001882
00001883
Thanks for this info, do u know the can bus speed settings please?
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

Kevin wrote: Thu Mar 02, 2023 7:34 am Thanks for this info, do u know the can bus speed settings please?
speed - 500 kbit/s
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

Kevin wrote: Thu Mar 02, 2023 7:33 am Yes seems like a good inverter, and I wish I could find a second hand one at that price, think I'm going to have to buy new, so can't test anything further untill I have one. With regards to the black box do we need this if building our own BMS system as I wasn't aware that this was required?
No you don't need the BMS box. I use it to sniff the can messages. You may use it if you plan to hack the RS485 from the batteries for the recharge relay and contactor but I don't thick is worth the effort.

You need to add a recharge relay or use a manual recharge to avoid damaging the inverter. Probably you can use the relays from MG battery.
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

These FoxESS units are pretty simple to operate over can, I have a few running now. You can throw away the BMS Master unit, it's not needed.

I've written a DBC file will work fine for you, take a look in the dbc folder. Basic rundown of the protocol is in the readme. If you have any issues feel free to ask questions.

https://github.com/rand12345/solax_can_ ... n-iterator

Should have a system running with CATL slaves using ESP32 and STM32F407 in the coming weeks as I have built a handful of MAX17841b SPI boards.

Regarding precharge contactors, FoxESS have them built in to the inverter so you don’t need it. The main contactor will close when full and valid can information is sent.
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

Thanks for this info, I'm sure it will be useful, I hope to include on the software I have written so far in platform io. Here are some pictures of my BMS unit so far, still a working progress.
The cell voltages
IMG_20230303_091006047_HDR.jpg
Cell temperatures
IMG_20230305_125305636.jpg
And the self test of each BMS
IMG_20230303_091048112_HDR.jpg
And the result
IMG_20230303_091034601_HDR.jpg
The graphics needs more aligning etc , but it gives u an idea of what I'm building 😁
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

woleg wrote: Sun Mar 05, 2023 12:01 am These FoxESS units are pretty simple to operate over can, I have a few running now. You can throw away the BMS Master unit, it's not needed.

I've written a DBC file will work fine for you, take a look in the dbc folder. Basic rundown of the protocol is in the readme. If you have any issues feel free to ask questions.

https://github.com/rand12345/solax_can_ ... n-iterator

Should have a system running with CATL slaves using ESP32 and STM32F407 in the coming weeks as I have built a handful of MAX17841b SPI boards.

Regarding precharge contactors, FoxESS have them built in to the inverter so you don’t need it. The main contactor will close when full and valid can information is sent.
Hi Woleg,

Do you have some sample code for controlling MAX17841b SPI board or can direct me to a source?

Best regards,
Marius H
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

Try here. viewtopic.php?t=2181&start=25

Haven’t had enough free time to port existing code to the language I use.
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by usus »

hi

On COM port are 2 pins for 3.3V and 2 pins GND. Any idea how much power can the deliver?
Can I power a Adriano Nano, ESP32, SSR, microswitch ?

Pin 1,6 3,3V
Pin 2,7 GND

In the user manual page 24
https://www.fox-ess.com/wp-content/uplo ... Manual.pdf
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

I've used an ESP32 on that rail which was fine.

I wouldn't recommend using an SSR if you plan to use PWM to hold the contactor at a lower current state. Long story short, it doesn't work well. Stick to a MOSFET that's driven with 12V at the gate, you can use a PC817 optoisolator as a follower to provide that 12V to the gate from the emitter. This is fairly good practice when mixing rails from different sources.
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

hi,

I bit the bullet and have purchased the fox H1 6kw inverter, I have it wired in my garage with the mains and batteries and my BMS controller, also with the current probe on the incoming mains so this thinks the garage is the load just for test purposes only. I have 4 mg zs modules wired to the inverter and is all powered, If I trip the AC to the inverter quite happily runs off the batteries and reports grid fault as you would expect.

I have written the Can bus code to follow the response frames as on the rand12345/ solax_can_bus data. The inverter powers up and the warning light is no longer flashing, reports SOC of batt at 100% but the green indicator is flashing and inverter reports just Waiting and never gets any further here is a sample of the data on the can bus
23 Receive 23:03:17:106 Data frame Extended frame 00001871 8 01 00 01 00 00 00 00 00
24 Receive 23:03:17:122 Data frame Extended frame 00001872 8 f0 03 e8 02 90 01 5e 01
25 Receive 23:03:17:137 Data frame Extended frame 00001873 8 71 25 f2 ff 64 00 db 03
26 Receive 23:03:17:153 Data frame Extended frame 00001874 8 c2 01 32 00 68 10 1c 0c
27 Receive 23:03:17:162 Data frame Extended frame 00001875 8 8f 00 01 00 00 00 00 00
28 Receive 23:03:17:178 Data frame Extended frame 00001876 8 01 00 a0 0f 00 00 92 0f
29 Receive 23:03:17:178 Data frame Extended frame 00001878 8 f0 03 00 00 98 26 00 00
30 Receive 23:03:17:194 Data frame Extended frame 00001881 8 01 00 00 00 00 00 00 00
31 Receive 23:03:17:209 Data frame Extended frame 00001882 8 01 00 00 00 00 00 00 00

this is the reply my BMS is based on
ID b0 b1 b2 b3 b4 b5 b6 b7
0x1872 slave_voltage_max max slave_voltage_min min charge_max max Discharge_max max
0x1873 pack voltage voltage current current capacity capacity kwh kwh
0x1874 cells_temp_max max cells_temp_min min cells_mv_max max cells_mv_min min
0x1875 int_temp int_temp 0x01 0x00 0x01 0x00 cell_voltage_min 0x00
0x1876 0x01 0x00 cells_volts_max max 0x00 0x00 cells_volts_min min
0x1877 0x00 0x00 0x00 0x00 id 0x00 byte1 byte2
0x1878 pack_voltage_max max 0x00 0x00 wh_total wh_total wh_total wh_total


Any suggestions or help appreciated :)
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

Oh some pictures
IMG_20230322_165903712.jpg
And what the inverter is showing, the green light is flashing
16800182865174776283777150657955.jpg
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

Congrats! It’s best to test with EPS enabled, much less fuss. Have you ensured that the FoxESS start/stop option is set to start?

I’ll check that can data out later tonight
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

woleg wrote: Tue Mar 28, 2023 4:44 pm Congrats! It’s best to test with EPS enabled, much less fuss. Have you ensured that the FoxESS start/stop option is set to start?

I’ll check that can data out later tonight
Yes the inverter is set to start, and thanks :)
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

Ok, there's a few scaling errors in your can bus data and a few other things.

https://i.imgur.com/ytaXUM1.png

0x1873 "Voltage" is scaled wrong. It's decoding at 10x your actual voltage so correct that with * 0.1

Don't send 0x1881 and 0x1882, those are to do with initialisation.

0x1877 is missing, this contains the firmware versions of the supposed BMS master and slaves.

Use this calculator to work out your can frames. https://github.com/rand12345/solax_can_ ... ox-BMS.ods

Then take a look at the example Solax and Fox (pretty much the same) tables for examples of 0x1877 frames.
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

woleg wrote: Tue Mar 28, 2023 6:34 pm Ok, there's a few scaling errors in your can bus data and a few other things.

https://i.imgur.com/ytaXUM1.png

0x1873 "Voltage" is scaled wrong. It's decoding at 10x your actual voltage so correct that with * 0.1

Don't send 0x1881 and 0x1882, those are to do with initialisation.

0x1877 is missing, this contains the firmware versions of the supposed BMS master and slaves.

Use this calculator to work out your can frames. https://github.com/rand12345/solax_can_ ... ox-BMS.ods

Then take a look at the example Solax and Fox (pretty much the same) tables for examples of 0x1877 frames.
HI woleg

Thankyou for looking at this, i will correct what u say and get back.
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

Not a problem. Just help out the next person who shows an interest in these inverters.
Kevin
Posts: 22
Joined: Tue Feb 28, 2023 9:46 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by Kevin »

Hi,

Wow that worked , didn't have full time to test but could hear the contactor in the inverter a 60s timer and doing several other tests then powered up, but I forgot my garage is on a 30ma RCD and when the inverter cut in this tripped, but the eps cut in so think it's working
IMG_20230328_203200032.jpg
Will have to remove RCD as it's not recommended in solar inverter installation or at least a 100ma one, thanks again for your help, and yes I will help anyone who needs it.
woleg
Posts: 43
Joined: Thu May 05, 2022 6:09 pm
Has thanked: 10 times
Been thanked: 9 times

Re: Fox ESS H1-5.0-E ~33KW Peugeot E208

Post by woleg »

Brill, just be super careful. If the inverter receives an SoC under 100% and a max charge current > 0 then it will blindly charge your cells to destruction. You are the BMS master now.
Post Reply