BrewBlox release notes [ latest release: 2019-04-23 ]

#1

We’ll be using this topic to post release notes for new releases. Please use the various troubleshooting threads if you encounter problems during or after updating.

Relevant links:

Edge release 2019/04/23

There are no firmware changes in this release. If you have the latest version (2019/04/18), you do not need to flash your Spark. When in doubt, it’s best to be safe and flash your Spark.

Changes

  • In the Process View edit modal, tools can now be swapped by hotkey.
    • Keys are listed to the right of the tool in the side bar.
  • In Process View, parts can be flipped again, using either the part menu, or the Flip tool.
  • Improved part display in the “New Part” modal.
  • Moved generic actions from the Spark Widget modal to the Actions button in the Spark service page.
  • Fixed a bug in Graph where the config would be corrupted when changing display type.
  • Fixed a bug in PID where Measured and Target output were displayed swapped.
  • DS2413 actuators are now viable options when running the BrewPi classic arrangement wizard.
    • For now, you must manually create the DS2413 actuator.
    • A button to create new blocks was added to the wizard.

Edge release 2019/04/18

This is a small release, to fix two serious bugs. We will be releasing new features after Easter.

Changes

  • Fixed a bug where setpoint profile time values would be corrupted after changing them.
  • Fixed a bug where some Block wizards would crash.

Edge release 2019/04/16

  • Fixed how setpoint/sensor pair works, so that setting can always be set and enabled/disabled is handled separately.
  • Fixed some issues with popup edit menus
  • Make invalid widgets deletable
  • Fix tree dropdown in graph config to not hide children when search is used

Edge release 2019/04/15

Breaking Changes

  • SetpointSimple Blocks no longer exist, and have been merged into SetpointSensorPair
  • SetpointProfile now drives SetpointSensorPair
  • In Process View, rotated parts larger than 1x1 will have moved a few squares.
    • This is due to the new calculation for rotating parts

Changes

  • Resolved multiple issues with setpoints.
    • Merged SetpointSimple and SetpointSensorPair.
    • All fancy setpoints (eg. SetpointProfile) are now drivers of SetpointSensorPair.
    • Thanks @j616s for the suggestion of making SetpointProfile a driver!
  • Fixed a bug where disabling a PID would not set its output value to 0.
  • Overhauled how Process View is edited:
    • Editing is now done in a fullscreen modal. The widget is never editable.
    • Moved “Export widget” and “Delete all parts” actions to the edit modal.
    • Parts are highlighted on mouseover in the edit modal.
    • Editing can be done with selectable tools. Select a tool, and then click or drag parts.
    • Available tools:
      • Click to add new part.
      • Drag to move part.
      • Click to rotate part.
      • Click to open part menu (edit settings).
      • Click to interact with part (toggle valves and pumps).
      • Drag to copy part.
      • Click to delete part.
  • Parts now consistently react if you click in the square containing the part.
  • When rotating parts, the upper left corner will stay in place. (the part used to rotate around its center).
  • Fixed a bug where flows would be incorrectly calculated for rotated parts greater than 1x1.
  • Improved responsiveness when moving parts.
  • Improved collision detection when moving parts.
  • HeatingElement parts can now be linked to a PWM Block, and will display the achieved duty setting.
  • Fixed a bug where ActuatorValve parts would cause datastore conflicts
  • Fixed a bug where datastore conflicts would cause Process View to silently stop persisting changes
    • An error is now displayed, and the last change is rolled back. You can redo the change to continue.
  • Widgets are now unpinned when moved or copied.
  • Disabled the “Import Blocks” button while we fix some serious issues.
  • When a service loses connection, a notification with a “Retry” button is displayed.
    • This notification will disappear automatically if connection is restored.
  • Made PID input/output blocks directly editable from the PID widget.

Edge release 2019/04/04

This release includes a pretty big rework of the UI.

The framework we’re using for UI components (Quasar) recently released a major update.
While we were making all the required changes, we took the opportunity to revisit many of our more clumsy UI elements.

We’re pretty happy with the result. It looks better, loads faster, and the underlying code is significantly cleaner.

Changes:

  • Lots of small display improvements throughout the UI.
    • The dashboard background is now lighter than the widgets, improving contrast.
    • Widget title is now displayed above the type to improve display of small widgets.
    • Widgets now have a dropdown menu with additional actions. This allowed us to add more actions while saving space.
    • Improved layout for all widgets and widget settings forms.
    • Removed color from unimportant warnings (eg. inactive actuators).
    • Improved and standardized the toolbar in modal windows (eg. Widget settings).
  • The Block relations diagram is now displayed fullscreen.
  • Fixed multiple issues with the Block relations diagram, and improved startup time.
  • Reworked all wizards to be more consistent and easier to navigate.
  • The widget options menu (accessible in dashboard edit mode) is removed.
  • Added the widget actions to a dropdown menu. This makes copy/move/delete widget buttons more accessible.
  • You can now resize widgets without activating dashboard edit mode.
    • Widgets on the Spark page are still not resizable.
  • Fixed an issue where the version would not display in the left drawer.
  • You can now separately change dashboard title (displayed) and ID (unique, used for the URL)
  • Widget names were reworked.
    • Widget names no longer have to be unique.
    • Block widgets now always use the Block ID as name. This improves visibility how widgets and blocks are linked.
    • You can freely change names for non-block widgets (graph, session view, process view).
  • You can now export and import widgets.
    • For now the Process view is the only widget where exporting it makes any sense.
    • Import widgets in the Wizardry menu.
  • You can now export, import, and clear Blocks on the controller.
    • The functionality is accessible through the Spark Service widget.
    • Exporting Blocks will export all Blocks.
    • Clearing Blocks will remove all user-added Blocks, and reset the system Blocks.
    • Importing Blocks will first clear Blocks, and then import from file.
  • Fixed a bug where the Lauterhexe Process view part did not have any flow.
  • Added the small and large kettles to the Process view.
    • This is in addition to the “normal” kettle already available.
  • Added the Sensor display part to the Process view. It can be linked to a temperature sensor, and will display the value.
  • Added the Actuator valve part to the Process view. It can be linked to a digital actuator (Actuator Pin or DS2413 Actuator).
    • Toggling the valve will toggle the actuator, and vice versa.
  • Fixed a bug where the eventbus would gradually consume more RAM, until it froze.

Edge release 2019/03/18

  • brewblox-ctl update will now prompt to also update the firmware
    • IMPORTANT: this does not apply to this update. You will need to manually run brewblox-ctl flash this time.
  • Updated the firmware system layer to version 1.0.1. This will be automatically applied when updating the firmware.
  • Fixed a bug where brewblox-ctl would not create downsampling rules in history (only display 4.5 hours in graphs)
  • The graph widget can now be displayed fullscreen
  • Graphs now have preset buttons for displayed period (duration to now: 10m, 1h, 1d, 7d, 14d, 30d)
  • Blocks now display whether their values are set by other blocks (eg. PWM controlled by PID).
  • When a PID is disabled, it will stop overriding the setting of its output block.
  • PWM and offset actuator can now be disabled separately. This allows manually setting their target.
  • PWM now supports a 100Hz mode when controlling digital pins.
    • This can be used for driving DC pumps or fans.
    • This will be triggered automatically when the period is set to less than 1s.
    • OneWire actuators still have a minimum period of 1s.

Apart from these changes, we’re working on the implementation of a drag-n-drop interactive display of a brewery - flows included.
https://brewpi-ui-demo.herokuapp.com/processview/herms-automated-valves is the prototype and proof of concept. The BrewBlox implementation will allow users to recreate their own setup, and control / view their blocks in the display.

When the most important features are included, we will start drawing more attention to it in the UI, and add it to the BrewPi classic wizard.

For those interested in an early preview: it is creatable as the Process View widget.

Edge release 2019/03/11

This release includes changes to the firmware. To update, please run both brewblox-ctl flash, and brewblox-ctl update.

  • The Spark LCD can now display temperatures as either Celsius or Fahrenheit. This is configurable in the Display Settings widget.
  • Added a wrapper in brewblox-ctl to make HTTP request commands significantly shorter.
  • Dashboards are now displayed as a list of cards on mobile devices. This eliminates clipping, but dashboard editing is disabled.
  • Fixed a bug where you no longer could show/hide single values in graphs by (double) clicking.
  • Graph values mapped to the right axis are now indicated by having a different color title in the legend.
  • Fixed a bug where Spark Photon devices would not be discovered over USB.
  • Added the --discovery=all|usb|wifi argument for the Spark service. This allows specifying connection type without hard-coding the address. Defaults to “all”.
    • This can be used in combination with --device-id.
6 Likes

#2

Added a documentation page for connection / discovery arguments: https://brewblox.netlify.com/user/connect_settings.html

This hopefully explains how to combine the various arguments that modify how the service discovers and connects to controllers.

0 Likes

#3

Liking the update the graph functions are great, works perfectly, for me anyway.

One question, you knew it was coming, is there a way of making just the graph widget full screen?

Dave.

0 Likes

#4

Not right now. We’ll probably implement it soon-ish, but it wasn’t deemed critical.

0 Likes

#5

Do you mean a button to open the chart of a graph widget in a full screen popup, similar to the chart button on the other widgets? I agree that we should add it.

If you mean having a full page chart at all times, you can get pretty close by resizing the chart widget to take up the entire dashboard and closing the left menu panel.

0 Likes

#6

Yes that’s the one. I do run it as big as it will go but it’s just not as “clean”

Thanks.

0 Likes

#7

Bob,

The display setting widget reverts back to Celsius immediately after setting Fahrenheit as the temperature

0 Likes

#8

Did you flash the firmware during the update?

If out of date firmware isn’t the issue, please retry changing to fahrenheit, and then run brewblox-ctl log

1 Like

#9

Skipped over the flash part. Working fine now.

Thanks

0 Likes

#10

Adding to your long list of things … On the graph, would it be possible to add a programable preset function so you could switch views without going into the settings function? For example you could program in current 24hrs as a view and also current week as a view etc. and switch between them with a “button”

0 Likes

#11

Would this specifically be for the displayed time period, or also for the other settings?

0 Likes

#12

My BrewPi is currently solely used to control fermentation, for me at this point it would be just for the view of the graph. I know it is possible to do these things now but with programmable buttons on the graph widget it would be very user friendly.

0 Likes

#13

Perhaps we can just add some small buttons next to the dropdown: 1h, 6h, 1d, 7d, 14d.
Open question is whether this should change the setting or be a temporary view change.

0 Likes

#14

@Trig both issues (full-screen display of graph widget, and display time presets) are resolved, and will be present in the next release.

0 Likes

#15

That’s great news Bob, thanks!

0 Likes

#16

Added new release notes.

0 Likes

pinned globally #17
0 Likes

#18

Awesome, looking forward to the brewery drag’n drop, and hopefully soon valve control so i can set it all up :slight_smile:

0 Likes

#19

New graph function is great!
Just a slight issue, despite the system working as it should I now have these error messages on some blocks

Screen Shot 2019-03-20 at 12.39.46 PM
When enable is selected it just jumps back with the blue message again. The constraints on the fridge offset after the update appeared as -20 and 20. I have changed them back to 10 respectively. Have I missed something?

0 Likes

#20

In addition to my last, I find I can’t now change the beer set point, the numbers won’t open up when selected and the fridge offset constraints have changed back to -20 and 20. Tried a reboot and re run the update without success.

0 Likes