[Old release notes topic]

Just quickly tested and works fine for me. Not sure if it’s because I worked down the tree starting by enabling the Beer setpoint, fridge setpoint driver and then working my way towards the heat & cool. I noticed banners sometimes failed to update without a refresh of the widget/page.

Did you flash the Firmware? option 5 under ‘brewblox-ctl’.

I have 3 sparks and only flashed one, which is fine but the other 2 exhibit the same symptoms that you have.

I haven’t flash the other two yet but that might be the cause.

1 Like

To echo @rbpalmer: did you flash the firmware?

If the numbers are not selectable, you probably also have the text “set by (other block)” in the widget. This indicates that that other block is in charge, and would override any change you made to the setting.

The firmware update makes sure that if you disable the controlling block, it will stop overriding settings.

1 Like

I followed the instructions … flashed (5) then update (8)

index - name description

1 - up Start all services if not running
2 - down Stop running services
3 - install Install a new BrewBlox system
4 - kill Stop and remove all containers on this machine
5 - flash Flash firmware on Spark
6 - bootloader Flash bootloader on Spark
7 - wifi Connect Spark to WiFi
8 - update Update services and scripts
9 - migrate Run migration scripts against current configuration
10 - ports Update used ports
11 - setup Run first-time setup
12 - import Import datastore files
13 - export Export datastore files
14 - status Check system status
15 - log Generate and share log file for bug reports
16 - exit Exit this menu

Press Ctrl+C to exit.

Please type a command name or index, and press ENTER. 5
Please press ENTER when your Spark is connected over USB
The following shell commands will be used:

 docker-compose down
 docker pull brewblox/firmware-flasher:rpi-edge
 docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge trigger-dfu
 docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash

Press ENTER to continue, Ctrl+C to cancel

Running command:
docker-compose down

Stopping brewblox_spark-one_1 … done
Stopping brewblox_history_1 … done
Stopping brewblox_datastore_1 … done
Stopping brewblox_mdns_1 … done
Stopping brewblox_influx_1 … done
Stopping brewblox_ui_1 … done
Stopping brewblox_eventbus_1 … done
Stopping brewblox_traefik_1 … done
Removing brewblox_spark-one_1 … done
Removing brewblox_history_1 … done
Removing brewblox_datastore_1 … done
Removing brewblox_mdns_1 … done
Removing brewblox_influx_1 … done
Removing brewblox_ui_1 … done
Removing brewblox_eventbus_1 … done
Removing brewblox_traefik_1 … done
Removing network brewblox_default

Running command:
docker pull brewblox/firmware-flasher:rpi-edge

rpi-edge: Pulling from brewblox/firmware-flasher
Digest: sha256:06bb71d7f50849fdbd9e366c82d030b51a3e1e82ed3ac599bf99b435c1a895e9
Status: Image is up to date for brewblox/firmware-flasher:rpi-edge

Running command:
docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge trigger-dfu

Running command:
docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash

No compatible USB devices found
pi@raspberrypi:~/brewblox $ brewblox-ctl
Welcome to the BrewBlox menu!

index - name description

1 - up Start all services if not running
2 - down Stop running services
3 - install Install a new BrewBlox system
4 - kill Stop and remove all containers on this machine
5 - flash Flash firmware on Spark
6 - bootloader Flash bootloader on Spark
7 - wifi Connect Spark to WiFi
8 - update Update services and scripts
9 - migrate Run migration scripts against current configuration
10 - ports Update used ports
11 - setup Run first-time setup
12 - import Import datastore files
13 - export Export datastore files
14 - status Check system status
15 - log Generate and share log file for bug reports
16 - exit Exit this menu

Press Ctrl+C to exit.

Please type a command name or index, and press ENTER. 8
Do you want to update your Spark controller firmware? [Y/n]
y
The following shell commands will be used:

 docker-compose down
 docker-compose pull
 sudo /usr/bin/python3 -m pip install -U brewblox-ctl
 docker rm ctl-lib || echo "you can ignore this error"
 docker pull brewblox/brewblox-ctl-lib:rpi-edge || true
 docker create --name ctl-lib brewblox/brewblox-ctl-lib:rpi-edge
 rm -rf ./brewblox_ctl_lib || echo "you can ignore this error"
 docker cp ctl-lib:/brewblox_ctl_lib ./
 docker rm ctl-lib
 /usr/bin/python3 -m brewblox_ctl flash
 /usr/bin/python3 -m brewblox_ctl migrate

Press ENTER to continue, Ctrl+C to cancel

Running command:
docker-compose down

Removing network brewblox_default
WARNING: Network brewblox_default not found.

Running command:
docker-compose pull

Pulling datastore … done
Pulling eventbus … done
Pulling spark-one … done
Pulling ui … done
Pulling mdns … done
Pulling influx … done
Pulling history … done
Pulling traefik … done

Running command:
sudo /usr/bin/python3 -m pip install -U brewblox-ctl

Requirement already up-to-date: brewblox-ctl in /usr/local/lib/python3.5/dist-packages
Requirement already up-to-date: python-dotenv[cli] in /usr/local/lib/python3.5/dist-packages (from brewblox-ctl)
Requirement already up-to-date: click in /usr/local/lib/python3.5/dist-packages (from brewblox-ctl)
Requirement already up-to-date: requests in /usr/local/lib/python3.5/dist-packages (from brewblox-ctl)
Requirement already up-to-date: idna<2.9,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests->brewblox-ctl)
Requirement already up-to-date: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests->brewblox-ctl)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests->brewblox-ctl)
Requirement already up-to-date: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests->brewblox-ctl)

Running command:
docker rm ctl-lib || echo “you can ignore this error”

Error: No such container: ctl-lib
you can ignore this error

Running command:
docker pull brewblox/brewblox-ctl-lib:rpi-edge || true

rpi-edge: Pulling from brewblox/brewblox-ctl-lib
Digest: sha256:9e48fe78e2b9832a63c6f1394912cd402f2e2588eb1568bfefb00c9a7c3cb6b7
Status: Image is up to date for brewblox/brewblox-ctl-lib:rpi-edge

Running command:
docker create --name ctl-lib brewblox/brewblox-ctl-lib:rpi-edge

ffc0387a81f2e67c6a79b2ed480f462513e26022210587d38151e13c0180ab76

Running command:
rm -rf ./brewblox_ctl_lib || echo “you can ignore this error”

Running command:
docker cp ctl-lib:/brewblox_ctl_lib ./

Running command:
docker rm ctl-lib

ctl-lib

Running command:
/usr/bin/python3 -m brewblox_ctl flash

Welcome to the BrewBlox menu!
Running commands: flash
Please press ENTER when your Spark is connected over USB
The following shell commands will be used:

 docker-compose down
 docker pull brewblox/firmware-flasher:rpi-edge
 docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge trigger-dfu
 docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash

Press ENTER to continue, Ctrl+C to cancel

Running command:
docker-compose down

Removing network brewblox_default
WARNING: Network brewblox_default not found.

Running command:
docker pull brewblox/firmware-flasher:rpi-edge

rpi-edge: Pulling from brewblox/firmware-flasher
Digest: sha256:06bb71d7f50849fdbd9e366c82d030b51a3e1e82ed3ac599bf99b435c1a895e9
Status: Image is up to date for brewblox/firmware-flasher:rpi-edge

Running command:
docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge trigger-dfu

Running command:
docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash

No compatible USB devices found

Running command:
/usr/bin/python3 -m brewblox_ctl migrate

Welcome to the BrewBlox menu!
Running commands: migrate
Your system already is running the latest version (0.2.1)
Scripts were updated - brewblox-ctl must shut down now
pi@raspberrypi:~/brewblox $ brewblox-ctl
Welcome to the BrewBlox menu!

index - name description

1 - up Start all services if not running
2 - down Stop running services
3 - install Install a new BrewBlox system
4 - kill Stop and remove all containers on this machine
5 - flash Flash firmware on Spark
6 - bootloader Flash bootloader on Spark
7 - wifi Connect Spark to WiFi
8 - update Update services and scripts
9 - migrate Run migration scripts against current configuration
10 - ports Update used ports
11 - setup Run first-time setup
12 - import Import datastore files
13 - export Export datastore files
14 - status Check system status
15 - log Generate and share log file for bug reports
16 - exit Exit this menu

Press Ctrl+C to exit.

Please type a command name or index, and press ENTER. 1
The following shell commands will be used:

 docker-compose up -d

Press ENTER to continue, Ctrl+C to cancel

Running command:
docker-compose up -d

Creating network “brewblox_default” with the default driver
Creating brewblox_datastore_1 … done
Creating brewblox_traefik_1 … done
Creating brewblox_mdns_1 … done
Creating brewblox_ui_1 … done
Creating brewblox_eventbus_1 … done
Creating brewblox_influx_1 … done
Creating brewblox_spark-one_1 … done
Creating brewblox_history_1 … done
pi@raspberrypi:~/brewblox $

Still the same issue

@Trig, your flash didn’t work (See below the message in you screen capture). Have you got the USB cable connected between the PI and Spark. If you have try a different cable.

Thanks, yes,
I have now tried multiple cables and get the same result ??
Including the same cable used to update to this brewblox update which seemed to work.

What does the Spark LED look like? Is it blinking slow/fast, and in which color?

The LED is a slow green, ip is showing at top left.

Have you rebooted the PI while it is connected to the Spark using the USB cable? I think it has to see it at boot for docker to be able to use it. (I could be wrong though)

The docker container must be started after the cable is plugged in. The Pi does not have the same restriction.

Thanks @Bob_Steers for the clarification.

If you run lsusb on your Pi, with the Spark plugged in over USB, what is the output?

pi@raspberrypi : ~ $ cd ./brewblox

pi@raspberrypi : ~/brewblox $ lsusb

Bus 001 Device 004: ID 2b04:c006

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@raspberrypi : ~/brewblox $

Thats looks correct: the 2b04:c006 device is your Spark.

Do you have Slack? That may be a more suitable way to debug than a discussion in the announcement thread.

Sorry no bit out of my league.
I have now re run the flash etc which seems to allow me to enable the blue error messages however I still cannot change the beer set point when the figures are selected.

25%20PM Screen Shot 2019-03-20 at 11.41.25 PM

We did some digging, and that’s indeed a bug. We’ll hotfix that as soon as possible.

Edit: @Trig the hotfix is now live. Run brewblox-ctl update to get it. You do not need to flash the firmware.

Thanks Bob, It is repaired after the latest update.

Don’t forget to refresh your browser!

Sorted!
Thanks to you all.

For whatever reason I have lost my webpage access and now issues with re-running setup. process. This is what I am getting so far:

pi@Brewpi:~/brewblox $ brewblox-ctl bootloader
Welcome to the BrewBlox menu!
Running commands: bootloader
Please press ENTER when your Spark is connected over USB
The following shell commands will be used:

     docker-compose down
     docker pull brewblox/firmware-flasher:rpi-edge
     docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash-bootloader

Press ENTER to continue, Ctrl+C to cancel

Running command:
docker-compose down

Removing network brewblox_default
WARNING: Network brewblox_default not found.

Running command:
docker pull brewblox/firmware-flasher:rpi-edge

rpi-edge: Pulling from brewblox/firmware-flasher
Digest: sha256:06bb71d7f50849fdbd9e366c82d030b51a3e1e82ed3ac599bf99b435c1a895e9
Status: Image is up to date for brewblox/firmware-flasher:rpi-edge

Running command:
docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash-bootloader

Triggering listening mode
Flashing P1 bootloader…
particle-cli v1.38.0

! A newer version (1.40.0) of particle-cli is available.
! Upgrade now by running: npm install -g particle-cli

! PROTIP: Hold the SETUP button on your device until it blinks blue!
? Press ENTER when your device is blinking BLUE
sending file: bootloader-p1.bin

Error writing firmware: TimeoutError: timed out after 70000ms

Error: Command ‘docker run -it --rm --privileged brewblox/firmware-flasher:rpi-edge flash-bootloader’ returned non-zero exit status 1.
pi@Brewpi:~/brewblox $

Please advise what additional info I can provide to help troubleshoot - TIA!

Can you try flashing the firmware instead of the bootloader?

Please note that this requires a USB connection. And if you don’t have a web interface, make sure that the system is brought back up with brewblox-ctl up