diy solar

diy solar

Got the EG4 XP up and running! Need some help lol

I can see the unit online via local connect
Using local connect utilizes the same wifi that would be connecting to your router. Repeatedly connecting via your phone to the wifi hotspot is not going to help.
Are you attempting to connect to the 2.4 Ghz wifi channel? The dongle does not play with 5Ghz

I experienced what you are experiencing when I first got mine. Im not sure what helped.
This could be a wifi signal strength problem.
If you are feeling ambitious, try moving the wifi router closer.

Where is your router in relation to the 6000xp?
 
Using local connect utilizes the same wifi that would be connecting to your router. Repeatedly connecting via your phone to the wifi hotspot is not going to help.
Are you attempting to connect to the 2.4 Ghz wifi channel? The dongle does not play with 5Ghz

I experienced what you are experiencing when I first got mine. Im not sure what helped.
This could be a wifi signal strength problem.
If you are feeling ambitious, try moving the wifi router closer.

Where is your router in relation to the 6000xp?
Router isn’t too far away but I think you might have hit the nail on the head. It’s about a 20ft distance and my phone connects just fine next to the unit. It may be trying to connect to the 5G vice the 2.4. I’ll take a look at my router.

I’m not even seeing a option on the router for 2.4
 

Attachments

  • IMG_2477.jpeg
    IMG_2477.jpeg
    118.9 KB · Views: 6
Router isn’t too far away but I think you might have hit the nail on the head. It’s about a 20ft distance and my phone connects just fine next to the unit. It may be trying to connect to the 5G vice the 2.4. I’ll take a look at my router.

I’m not even seeing a option on the router for 2.4
Some quick duckduckgoing shows that's a modem / router combo.

I'd recommend buying dedicated router that supports 2.4Ghz and 5Ghz and hardwiring it to the modem. Even better buy a dedicated cable modem (if your provider allows it) and adding a dedicated router.

You may find these helpful.


 
Some quick duckduckgoing shows that's a modem / router combo.

I'd recommend buying dedicated router that supports 2.4Ghz and 5Ghz and hardwiring it to the modem. Even better buy a dedicated cable modem (if your provider allows it) and adding a dedicated router.

You may find these helpful.


Well, looks like I need a router lol. I can’t play with the configuration at all so local connect only for the time being
 
Oh, you probably got one of those fancy ones with 1 SSID and the router chooses what to dish out. You can usually seperate the two and stop it from doing that in the settings of the router.

If you can get into settings
I’ll have to ask my IT buddy and see if he can figure it out lol. That’s out of my scope for sure haha
 
I just finished setting up my two eg4 6000xp's I used a android phone and a android tablet ( which is not logged in to EG4). The WifI dongle does not see 5g at all only 2g.:(
 
I also want to look into this route. I also saw someone mentioned there’s a way to program a esp32 micro controller to a can bus and run my BMV to where the XP will see it. Someone wrote the code already for it.

Those are the 2 things I want to look at next, other than getting this thing set properly to work lol
Here is the link I posted about it. Victron Shunt to CAN for the 6000xp/and others. Been working flawlessly.

Thread 'EG4 6000xp CANBUS Comms with Victron Smart Shunt w/DIY Battery'
https://diysolarforum.com/threads/e...with-victron-smart-shunt-w-diy-battery.80538/

As for WiFi, I use a eero 6 router which does not separate the channels and it works fine.
 
Here is the link I posted about it. Victron Shunt to CAN for the 6000xp/and others. Been working flawlessly.
I am all in on this idea. I have read everything on that thread. I got my esp32s and the second board already. I have taken a look at the code and downloaded it to my computer but that is as far as I have gotten. I barely know anything about it but I have flashed Victrons VenusOs on a Pi and also solar assistant on a Pi.

Is flashing the esp code similar? Or is there another program I need to use to put it on there?
Is the code complete as is? Of course keeping in mind the directory hierarchy?

What else do I need to know? I figure this isnt a bad place to chat about this since the OP is curiuos as well.
 
I am all in on this idea. I have read everything on that thread. I got my esp32s and the second board already. I have taken a look at the code and downloaded it to my computer but that is as far as I have gotten. I barely know anything about it but I have flashed Victrons VenusOs on a Pi and also solar assistant on a Pi.

Is flashing the esp code similar? Or is there another program I need to use to put it on there?
Is the code complete as is? Of course keeping in mind the directory hierarchy?

What else do I need to know? I figure this isnt a bad place to chat about this since the OP is curiuos as well.
The individual that wrote it assembled it all in visual studio which was new to me and I’m on a Mac, that added a few more challenges. I downloaded and installed visual studio, downloaded the code, and made a few mods in the config.h for my specification and flashed.

Note some pins may be different GPIO numbers on various ESP models. Make sure you have the pinout diagram for your ESP to make sure all the wiring is correct.
 
Note some pins may be different GPIO numbers on various ESP models. Make sure you have the pinout diagram for your ESP to make sure all the wiring is correct.
Will do.

How do you flash the esp32?
Usb from esp32 to computer, then connect to new port? With what program?
 
Will do.

How do you flash the esp32?
Usb from esp32 to computer, then connect to new port? With what program?
I flashed within Visual Studio with the ESP connected to usb port. There is an option to build then load (write to ESP). I’m heading out of town tomorrow night. If I have time tomorrow I’ll do a screen recording of flashing one (I have a spare setup since it was so cheap) and post it. If not tomorrow by Friday latest.

It took me a few hours to navigate Visual Studio. I’m used to the standard ESP tools to flash.
 
I flashed within Visual Studio with the ESP connected to usb port. There is an option to build then load (write to ESP). I’m heading out of town tomorrow night. If I have time tomorrow I’ll do a screen recording of flashing one (I have a spare setup since it was so cheap) and post it. If not tomorrow by Friday latest.

It took me a few hours to navigate Visual Studio. I’m used to the standard ESP tools to flash.
That would be pretty sweet. I think I can figure it out with what you just mentioned.
I knew I was missing something obvious and Visual Studio was it. Thank you.
You dont need to do a video for me (yet) lol. I think I got it.
 
That would be pretty sweet. I think I can figure it out with what you just mentioned.
I knew I was missing something obvious and Visual Studio was it. Thank you.
You dont need to do a video for me (yet) lol. I think I got it.
It’s been perfectly stable. I took a risk as I decided to let it run at our cabin where it’s installed with the 6000xp which is about 3.5 hrs away. Glad I did to test it out.

I do have a separate esp sending data from each JK BMS to Home Assiatsnt so I can see cell level details since we’re hours away and I can make decisions, if needed.
 
It’s been perfectly stable. I took a risk as I decided to let it run at our cabin where it’s installed with the 6000xp which is about 3.5 hrs away. Glad I did to test it out.

I do have a separate esp sending data from each JK BMS to Home Assiatsnt so I can see cell level details since we’re hours away and I can make decisions, if needed.
That is awesome! Right now Im using team viewer to control a 8 year old galaxy S7 that is sitting right next to the BMS. Its been working great!
 
I’ll have to ask my IT buddy and see if he can figure it out lol. That’s out of my scope for sure haha
Just had a thought, enable a hotspot on your phone, using 2.4Ghz, connect the dongle to that then connect to it with your phone.
That's worked for me with SA when I want to update to the newest beta, might work in your situation as well.
 
Just had a thought, enable a hotspot on your phone, using 2.4Ghz, connect the dongle to that then connect to it with your phone.
That's worked for me with SA when I want to update to the newest beta, might work in your situation as well.
I may take a look at that was well. My IT buddy said he’d stop by and take a look at my router, he said often there’s options to “unlock” the 2.4 settings as well. If not, I’ll try that route and see if it’ll work.

I also have a Verizon hot spot I may try to play around with.
 
It appears that most of the issues were resolved before I joined the discussion. However, I'd like to mention a few points regarding the monitoring connection. First, ensure that your Wi-Fi router supports 2.4GHz frequency, and consider turning off auto-negotiate on the router as it may help. Additionally, setting your router to WPA2 security, and avoid using special characters like $, *, and # in the password have proven helpful when trying to connect the Wi-Fi dongle.
 
It appears that most of the issues were resolved before I joined the discussion. However, I'd like to mention a few points regarding the monitoring connection. First, ensure that your Wi-Fi router supports 2.4GHz frequency, and consider turning off auto-negotiate on the router as it may help. Additionally, setting your router to WPA2 security, and avoid using special characters like $, *, and # in the password have proven helpful when trying to connect the Wi-Fi dongle.
I sent you a message on Facebook. I initially tried to pair it with my router as is, using 5G which obviously did not work.

I later set up the 2.4 and tried to pair it with that, it said successfully paired but then didn’t work. It may need to be removed and re-set up? Password also does not contain any special characters as mentioned above.
 

Attachments

  • IMG_2472.jpeg
    IMG_2472.jpeg
    46.2 KB · Views: 7
  • IMG_2483.png
    IMG_2483.png
    144.1 KB · Views: 7
I sent you a message on Facebook. I initially tried to pair it with my router as is, using 5G which obviously did not work.

I later set up the 2.4 and tried to pair it with that, it said successfully paired but then didn’t work. It may need to be removed and re-set up? Password also does not contain any special characters as mentioned above.
I went ahead and removed the dongle from the station, and it should be good to try again. Also, I would make sure the correct password is entered. Unfortunately, the app will say successful even in the event that the password was entered wrong.
 
I went ahead and removed the dongle from the station, and it should be good to try again. Also, I would make sure the correct password is entered. Unfortunately, the app will say successful even in the event that the password was entered wrong.
Copy! I’ll give it a go when I get home a little later. Thanks!!
 
I went ahead and removed the dongle from the station, and it should be good to try again. Also, I would make sure the correct password is entered. Unfortunately, the app will say successful even in the event that the password was entered wrong.
Since I’ll be using AGM batteries for the time being and appear to be part of that “lower” group of users, what recommendations do you have to get the SOC to read at least closer to actual? I’ve tried to set the settings via the local connect option which did not work and then again on the unit.

I was able to get it closer on the unit as far as charge, discharge, EOD and other settings but I’d like to get it as close as possible to not kill my batteries prematurely.

I do plan on making the jump to server rack batteries as soon as I find some for a decent price.
 
Since I’ll be using AGM batteries for the time being and appear to be part of that “lower” group of users, what recommendations do you have to get the SOC to read at least closer to actual? I’ve tried to set the settings via the local connect option which did not work and then again on the unit.

I was able to get it closer on the unit as far as charge, discharge, EOD and other settings but I’d like to get it as close as possible to not kill my batteries prematurely.

I do plan on making the jump to server rack batteries as soon as I find some for a decent price.

I would recommend setting all discharge and charge values according to voltage. Unfortunately, without direct BMS communication the inverter would do it's best to calculate the current SOC of the batteries. However, it would not directly know.
 
Here is a voltage/soc estimation chart to use for your settings, many of them out there. I used a similar chart at first with my DIY LifePo4 pack until I got the Victron Shunt SOC integration working with the 6000xp.

Image.jpeg
 
Last edited:
The customer code is either
Signature! or
signature!
I think thats what I remember.


Your SOC will NEVER be accurate in the 6000xp unless you have EG4 batteries or other compatible batteries in a closed loop communication setup.
If you are using an unsupported battery, you will need to set all automation to voltage.


Solar assistant NEEDS a network connection. Bluetooth monitoring thru the app would let you use your wifi on your phone.

You usually have to select "read" every time. This may be your problem.
So, the 6000xp doesn't have a shunt on board, EG4 doesn't have a shunt available the diy battery crowd, and it is unable to read the Victron BMV shunt data?
 

diy solar

diy solar
Back
Top