Edge release 2019/12/17

Relevant links:

Edge release 2019/12/17

Firmware release date: 2019/12/03

Changes

  • Fixed a bug where device ID checks during discovery and handshakes were case sensitive.
  • Added automated migration from Session View sessions to Session Log sessions.
  • Added functionality to export/import a single block.
    • This is only useful in very specific scenarios, as the exported block includes links.
  • Plotly graphs are now exported in higher resolution.
    • To export a graph, mouseover the graph, and click the camera button.
  • Reworked the buttons in the widget toolbar to be more consistent.
    • In widget, from left to right:
      • toggle between full/basic view
      • open widget in dialog
      • show menu
    • in dialog, from left to right:
      • toggle between full/basic view
      • show menu
      • close dialog
  • Reworked the widget dropdown menu. It now shows all items in multiple columns.
  • Removed multiple redundant or obsolete actions from widget menus.
  • Fixed a bug in quick start wizards where editing the prefix could cause the application to freeze.
  • Fixed a bug in the graph settings where the tree would not correctly expand when searching.
  • Fixed a bug in the graph settings where you could not tick fields while searching.
  • In the builder, when clicking a heating element that is driven by a PID, it will open the PID dialog.
  • Setpoint setting is now directly editable in the PID widget (both in basic, and full view).

Hello, thanks a lot ! :slight_smile:

I am trying to update and am getting the the following message:
ERROR: Service ‘tilt’ depends on service ‘history’ which is undefined.
Command ‘docker-compose up -d’ returned non-zero exit status 1
Command ‘/usr/bin/python3 -m brewblox_ctl migrate --prune’ returned non-zero exit status 1

Can you let me know what to do?
Many thanks

The simplest solution is to run brewblox-ctl editor and remove the depends_on section from the service.

It should look something like

depends_on:
  - history
  - eventbus

Sorry Bob, how do I remove the depends_on?
Thanks
Warren

Run the brewblox-ctl editor command, and then visit the url it gives you in your browser. There you can edit and save the configuration.

Many thanks Bob
I will try that

Hi Bob
I run the editor and it just gives me cntl-c to cancel or screen just hangs

ERROR: Service ‘tilt’ depends on service ‘history’ which is undefined.
Command ‘docker-compose down --remove-orphans’ returned non-zero exit status 1
pi@raspberrypi:~/brewblox $ brewblox-ctl editor
The following shell commands will be used:

     docker pull brewblox/brewblox-web-editor:rpi-edge
     docker run --rm --init -p "8300:8300" -v "$(pwd):/app/config" brewblox/brewblox-web-editor:rpi-edge --hostPort 8300

Press ENTER to continue, Ctrl+C to cancel

Running command:
docker pull brewblox/brewblox-web-editor:rpi-edge

rpi-edge: Pulling from brewblox/brewblox-web-editor
Digest: sha256:fc81830af4a48ff881f6c7adec9e54b56381e4654aeb20d086e510bae5a5982e
Status: Image is up to date for brewblox/brewblox-web-editor:rpi-edge
docker.io/brewblox/brewblox-web-editor:rpi-edge

Running command:
docker run --rm --init -p “8300:8300” -v “$(pwd):/app/config” brewblox/brewblox-web-editor:rpi-edge --hostPort 8300

View the editor on port 8300
Press Ctrl-C to stop the editor

The editor command starts the editor, but can’t show it.

To view the editor, after starting, go to your browser, and visit http://PI_ADDRESS:8300

You’ll see the web editor there.

It says site can’t be reached. And cannot log onto the spark ip

Maybe it’s easier if you use nano.

nano docker-compose.yml

When done, press ctrl-X to save and exit

ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in “./docker-compose.yml”, line 28, column 13
Command ‘docker-compose up -d --remove-orphans’ returned non-zero exit status 1

services:
spark-one:
command: '–name=spark-one --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.26

  '
depends_on:
- eventbus
- datastore
image: brewblox/brewblox-devcon-spark:rpi-${BREWBLOX_RELEASE:-stable}
labels:
- traefik.port=5000
- 'traefik.frontend.rule=PathPrefix: /spark-one'
privileged: true
restart: unless-stopped

spark-two:
command: '–name=spark-two --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.25

  '
depends_on:
- eventbus
- datastore
image: brewblox/brewblox-devcon-spark:rpi-${BREWBLOX_RELEASE:-stable}
labels:
- traefik.port=5000
- 'traefik.frontend.rule=PathPrefix: /spark-two'
privileged: true
restart: unless-stopped
 version: '3'

getting more confused, laast part is yml and line 28 is version 3

version: '3' should not be indented.

To post code blocks on the forum, you can put them between triple backticks:

` ` `
Code block goes here. Remove the spaces between the backticks.
` ` `

OK
I am now getting
ERROR: Service 'spark-one' depends on service 'eventbus' which is undefined. Command 'docker-compose up -d --remove-orphans' returned non-zero exit status 1

You’ll want to remove the entire depends_on section, so both depends_on: itself, and the indented values starting with - below it.

Thanks Bob, each time i remove something I get another message
Now I have only
services:
spark-one:
command: '–name=spark-one --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.26
spark-two:
command: '–name=spark-two --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.25

as the yml - but obviously it is not right either, can you give me an example of what it should be?

Thanks

You can also approach it from the other side:

In your docker-compose.yml file, only put the following:

services: {}
version: '3'

Then run:

brewblox-ctl add-spark --name spark-one --device-host 192.168.86.26
brewblox-ctl add-spark --name spark-two --device-host 192.168.86.25

This will add your spark services.

Many thanks I will give that a go in the morning

Hi Bob
Connecting https://localhost:443/history/ping, attempt 59/60
Connecting https://localhost:443/history/ping, attempt 60/60
Retry attempts exhausted
Command ‘/usr/bin/python3 -m brewblox_ctl http wait https://localhost:443/histor y/ping’ returned non-zero exit status 1
Command ‘/usr/bin/python3 -m brewblox_ctl migrate --prune’ returned non-zero exi t status 1

Did as suggested and now do not get history back