Spark 3 hangs every few hours

Have reverted to $(BREWBLOX_RELEASE} earlier this evening. It hung a time later. Have tried the suggested option to export the eeprom, this failed, the final output of the command is below

IMPORTANT: Copy the following bashupload url. The line starts with ‘wget’
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: curl - SSL CA Certificates

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Command ‘docker run -it --rm --privileged -v /dev:/dev --pull always brewblox/firmware-flasher:edge eeprom’ returned non-zero exit status 60.

Have tried creating a .curlrc file in $HOME containing the option: insecure
also tried the option: --insecure
No luck, no change in the error message.

Hi Elco, I’m currently at work and the Spark is not connected via USB at home.
If the problem has not disappeared until I get home in 14 days, I will send you a copy of the particle eeprom.

Hung again last night. Any advice to extract the eeprom image?

Run

docker run -it --name flasher --privileged -v /dev:/dev --pull always brewblox/firmware-flasher:edge eeprom

docker cp flasher:/app/eeprom.bin ./

docker rm flasher

The first command will give an error, but this is after it created the eeprom file. The docker cp command will copy the file to your Pi. From there you can get it to your own pc using filezilla, vscode or scp.

We’ll be replacing the bashupload in the script.

1 Like

Nice instructions. Be sure to have the USB cable connected before running the first command.
If it complains the docker image “flasher” already exists. Run the docker rm flasher to remove it. Then connect the USB and try again

Here is the eeprom binary
eeprom.bin (128 KB)

2 Likes

Hi Elco,
The latest firmware update seems to have fixed my Spark issues. It has been running without a hiccup for 3 days now.

1 Like

Running the latest update and my spark 3 seems to hand every few hours for a few minuten and starts working again.

Had been running Spark over USB for 24hrs or so, with no hangs :slight_smile:
Reverted to using WiFi earlier to day and have had a hang :frowning:
Reset using the reset button, logs below.
https://termbin.com/jdog

Running over Wifi here too.

That is an interesting distinction. Any chance of running on USB for a while? What are your wifi settings? (Channel, 2.4+5Ghz or 2.4 only, repeaters etc)

1 Like

Still running over WiFi and another hang.
As be fore Logs here:
https://termbin.com/m721

Will switch to USB for a time.
Will get WiFi details and post when I finish work.

WiFi is provided by Virgin Media Wifi Booster/Power line
Hardware version : 2_0
Software version : LG-w27.3.1c.p10.0.2
WiFi 2GHz b,g,n
5GHz a,n,ac
Security WPA2-PSK
3 WiFi devices connect to this booster

Pi is connected to the booster by cable.
Network DNS and DHCP is handled by separate PiHole not connected to booster.

Setup has been in place for approx 2yrs

The Spark only supports 2.4Ghz. Do you have automatic wifi channel switching?
As a possible trigger, maybe the access point switches channel or the spark switches between 2 access points in range?

Set AP to manual channel selection.
USB cable removed.
Restarted Brewblox.
Working on WiFi connection.

This AP was setup because of a lack of alternative signal and sits 2m away.

Are you saying it already was on manual channel or is it now?

Sorry for not being clear.
It was on auto, now set to manual.

Another hang these evening running on WiFi


There is something definitely correlating with Wifi.

I have a Ubiquiti controller and APs, the spark is on an AP that is in a mesh/repeater setup.

The controller updated APs and the spark froze around the same time, solid blue LED.

I haven’t had a chance to update to the latest firmware as it came out mid ferment, but I will now given it could have just spent 6 hours 100% heating or cooling.

Same setup here I guess… but not using mesh/repeaters. Signal is perfect.
Had a hang last night. Fermenting, was just in time to reboot everything before the temperature dropped too low. Previous hang was locked on heating :dizzy_face:

https://termbin.com/5dlz

Anyone having problems when directly connected trough USB?
Don’t want to change it mid ferment, as I monitor/ping my spark every 60 seconds for problems.