question

Dave van Dongen avatar image

Why is the Wifi connection CCGX dropping out regularly?

I have a Victron ESS system with a CCGX in the garden shed (with solar panel roof) in the garden behind my house. The distance from my Wifi router is around 8 meter.
I have a Nano Wifi USB adapter in the CCGX that connects to the router. The signal strength is indicated on the CCGX at always around 45%.
Now for days or sometimes even max. 1,5-2 weeks the connection is stable, but eventually it always drops out at some point. I then reconnect and then it fine for a few days again.
Why is the connection dropping out every time?
And why is it not reconnecting? I now have to connect manually every time.

Sometimes the reconnection also a few times before succesful. Why is this?

CCGX Color Control
10 comments
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

We are several of us experiencing Wifi connection loss. The point is that Victron staff does not acknowledge it, probably since they can't reproduce the bug.

To be honest, I must add that stability is better recently. I didn't check if some update to the CCGX is involved or what…

Wifi is an inherently unstable connection. The “solution” to a permanent and reliable internet connection is to hard wire Ethernet.

There has been a new feature added recently that will restart the GX device if the internet connection drops for a certain amount of time. This has improved the ‘reconnection’ situation a lot.

I had issues with wifi drop outs in my shed. I was using a cheap wifi router. I recently got sick of it, and upgraded the home internet wifi system to a Ubiquiti unifi system. It was a lot more complex to setup than I expected, and a lot more costly. But so far it has stayed up.

I changed nothing on the CCGX and VenusGX side, just the routers and wifi access points.

If it drops again, I will just give up and wire in Ethernet.


If there is a case where an end user was able to reliably re-create a dropout bug, then we would definitely be interested in looking at the logs and getting our hands on the unit to see what is going wrong and how to fix it.

Dave van Dongen avatar image Dave van Dongen Guy Stewart (Victron Community Manager) ♦♦ ·

See for yourself if you think this is normal. I don't think so... :-/

https://www.youtube.com/watch?v=XhIgUQnPmyc&feature=youtu.be

Looks quite normal for a marginal connection.

It looks like the GX device is trying to connect but unable to get past the stage of acquiring an IP address from the DHCP server.

Try some of the suggestions in the answers, like using a USB extension cable and getting the wifi dongle in a better location, and see if that helps to improve things.

Dave van Dongen avatar image Dave van Dongen Guy Stewart (Victron Community Manager) ♦♦ ·

If I am at the same location with my smartphone or laptop, I have good reception. Never a problem. If I purposely disconnect the wifi and reconnect, these devices connect straight away to the wifi again. Every single time, not a problem in the world. My garden shed is halfway my garden. If I go all the way to the back of my garden (twice the distance) reconnecting to wifi with my laptop and smartphone is not a problem and completely straightforward and fast, every time again. So I don't think the connection is a problem.

I think you are right by saying that this is a problem with getting the IP address or some other set in the connection process. But to me it looks like the software takes a wrong step somewhere.

I still have to try the extension cabel. I will soon.

Dave what version of the firmware are you using if not the latest then upgrade.

I did see a bug report that showed that if you sat on that screen in the CCGX then it would always fail to connect, that issue was found and fixed in the latter Fw versions for the CCGX I think the issue was in 2.30 version anyway it was fixed in 2.32.

Thanks for your suggestions. I upgraded to v2.32~2 on the 29th of June,at 18:59h. The YouTube movie with many connection attempts was made on the 30th of June, at 19:14h.

gls avatar image gls Guy Stewart (Victron Community Manager) ♦♦ ·

Hi Guy,

To your comment:

"There has been a new feature added recently that will restart the GX device if the internet connection drops for a certain amount of time. This has improved the ‘reconnection’ situation a lot"

How do we switch this on for a Cerbo? I have a LAN connection to a 4G router.


Thanks


Guy

Has there been any further development on this issue? I have just commissioned my system and have the same issue. WiFi strength shows as 53% on CCGX (firmware ver 2.57), ubiquity Access Point with very strong signal on any other device at the same location, but CCGX disconnects all the time and will not automatically reconnect. CCGX is about 5 meters from AP. It also keeps on giving error message saying Access Point not found, even though my wifi is extremely stable and runs for months on end with all other devices, wifi cameras etc. staying connected.

Is there a resolution to this problem, please?


I have a Victron Nano USB WiFi dongle in my Venus GX - it loses the WiFi connection after about 20 seconds and gives a comment about not ejecting the disc properly (and then fails to display the WiFi device) – I take it this is a reboot.


Also, why doesn’t the Venus GX retain the password of a WiFi device?

5 Answers
kevgermany avatar image
kevgermany answered ·

Any updates? I've just set up a system in my camper van. All running perfectly yesterday, had connections to my home wlan and a mobile access point. Now it's locked into the home system with a failed connection, can't even get it to see any of the other Wlan or the mobile WiFi access point.


As with others above, my phone behaves flawlessly. Switching from home to mobile as appropriate.


CCGX running latest software, upgraded it when I set it up

2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

max-b avatar image
max-b answered ·

I'm on 2.32 and I must say that I did not experience wifi loss for a few days by now.

2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

max-b avatar image
max-b answered ·

As a workaround, you can get the wifi connection back up by displaying the wifi setting page and make a false change. Like erasing a 0 in a wifi address or anything you do and undo. Then when leaving the settings screen the cccx reconnects.

It may also reconnect by itself hours or days latter. I can't figure why sometimes it reconnects 2 hours latter sometimes 12.

2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hello all,

  • We fixed a WiFi reconnect issue in v2.31, a month ago. See the change log.
  • Also in that release we added a auto-reboot feature: https://www.victronenergy.com/blog/2019/06/06/venus-os-v2-31-various-fixes/
  • 45% is really a very low signal for WiFi. What could be happening to @Dave van Dongen in the situation that a few manual reconnect attempts are required, is that the router temporarily blocks the GX device, because it thinks the wrong password was used (that can happen because of low signal). But thats pure speculation from my side.

If anyone is experiencing reproducible issues where it still won’t reconnect by itself (fw version > v2.31) then please let me know.

And lastly, indeed, getting a 100% stable wifi is or has been proven to be difficult.

Thank you, Matthijs


Ps at @Dave van Dongen now with v2.31, do you still have to manually reconnect after it lost the connection after 4 - 14 days of operation? (To test that, make sure to disable to auto-reboot feature).

4 comments
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

I upgraded to v2.32~2 on the 29th of June,at 18:59h. The YouTube movie with many connection attempts was made on the 30th of June, at 19:14h. At this moment (the 2nd of July, at 08:32h) the CCGX is offline, already since the 30th of June,at 20:01h. (So it dropped the connection 1 hour after the YouTube movie with connection attempts was made and the connection never returned. I didn't physically check if the unit is rebooting or not. I can check tonight.)

Well, obviously the unit didn't reboot, but I didn't enable the "Reboot on lost VRM", because I didn't know it was a setting that I had to set. I thought it was automatic, in the background. I have set the setting now. I left it on default (which is 1h0m, right?) and then the CCGX rebooted after about 15 seconds, while it was connected at that moment. Is that supposed to happen? Or was this a crash?

Hi, if it was already up and running for a while; without connection; then yes, thats supposed to happen.


It checks how long it hasn't been able to connect to VRM, and when too long compared to the configured time out; it reboots.

Dave van Dongen avatar image Dave van Dongen mvader (Victron Energy) ♦♦ ·

Ok, maybe my description wasn't clear. The CCGX was connected to Wifi when I set the "Reboot on lost VRM" to on (with a default time of 1h0m) and spontaneously rebooted 15 seconds later. So while it was actually connected to Wifi at that very moment. Why would it reboot then? It was connected (or at least that was the connection status that the CCGX reported), so the connection wasn't lost for 1h0m. So why should it reboot?

nigelfxs avatar image
nigelfxs answered ·

One thing you can try is to connect the Nano Wifi USB adaptor to a USB extension cable.

This will give you more flexibility in the positioning of the WiFi antenna so may improve the WiFi signal strength (and hence connection reliability). You will need to experiment to find the optimum placement of the USB Adaptor.

Some WiFi bands are more congested than others, so you may want to also experiment with changing the WiFi band settings on your router.

3 comments
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Good Suggestions NigelFXS.

There is also the option to use the long range wifi adapter with external antenna to increase wifi reliability.

Though nothing is a certain fix (except the hardwire).

I will try both suggestions. But if you see the video that I have attached, it seems to be more of a software issue, than a reception issue.

I'm also on a software issue.

While I must say that many components can play in. My wifi is based on Velop devices. Quite powerful but had somme issues also. They updated them and it works much better now. So maybe that's why the nano on the GX is more stable.

Nevertheless, in a given setup, wifi is less stable on the GX than on other devices around. Probably because it does not recover well from a lost connection.