BrewBlox Tilt Service

Good evening all,

I am seeing something strange in the logs for my tilt and wondering if anyone had an answer.

I have just rebuilt my RPi4 and installed both brewblox and the tilt service. Both installs went smoothly.

However,I am not seeing the tilt in the graph. According to the logs ( docker logs brewblox_tilt_1) the tilt appears to be found (purple).

But then after that I see repeated lines of the following " Error when publishing data ConnectionError('Publish error=“The client is not currently connected.”

Any pointers would be grateful received

Cheers

Could you please run brewblox-ctl log?

Here is the output of the brewblox-ctl log

https://termbin.com/fa1x

Nothing really stands out in your logs, except that there are connection errors.

You can try running brewblox-ctl disable-ipv6 to solve some weird interactions between Docker and IPv6.

If that doesn’t solve the problem, swap in the mosquitto broker.
Edit your docker-compose.yml file, and under services, add:

  eventbus:
    image: brewblox/mosquitto:${BREWBLOX_RELEASE}

Your docker-compose.yml file should look like:

services:
  eventbus:
    image: brewblox/mosquitto:${BREWBLOX_RELEASE}
  spark-one:
    command: --name=spark-one --mdns-port=${BREWBLOX_PORT_MDNS}
    image: brewblox/brewblox-devcon-spark:${BREWBLOX_RELEASE}
    labels:
    - traefik.port=5000
    - 'traefik.frontend.rule=PathPrefix: /spark-one'
    privileged: true
    restart: unless-stopped
  tilt:
    image: j616s/brewblox-tilt:latest
    network_mode: host
    privileged: true
    restart: unless-stopped
    volumes:
    - ./tilt:/share
version: '3.7'

Thanks for the quick response. Followed your advice, disabled ipv6 and added the line to the docker compose file.

Rebooted the system and then ran brewblox-ctl log.

https://termbin.com/6d7c

Will be away for weekend but will pick this up on my return

Thanks for you continued support
Cheers

Enjoy your weekend!

When you’re back, I’d suggest looking through your dmesg and /var/log/syslog output. Configuration looks fine, and the next most likely suspect is the network stack.
Feel free to post logs if they contain too much abracadabra.

Update:

have just checked and the tilt is now showing on the graph screen. Will let it run over the weekend. I have the ability to remotely access the system, so will check periodically.

Normally I am quiet good with abracadabra or more affectionately in this house bibil de dibilbil langauge…

Cheers

Once again thanks.

Sorry if this isn’t the best thread for this. Now that I have the tilt service working (thank you for this very useful software @j616s) , I wondered if it’s possible to display gravity data on on the Spark 3.

1 Like

No, the Spark LCD can only display sensors/setpoints/PIDs on the Spark itself.

1 Like

Yeah, that would be awesome if we could make that work within Brewblox and the Spark 3.

Loving the Brewblox, just moved over today from Brewpi.

1 Like

Any idea why on my graph the Tilts reports the wrong temperature (537C), i checked with Tilt app and the temperate is calibrated fine to 29C.

Log: termbin.com/j5wp

Calibration in the app is completely separate to calibration in the Brewblox integration. No calibration data is sent to the Tilt itself.

Instructions for calibrating in the Brewblox integration: https://github.com/j616/brewblox-tilt#calibration

That temp seems excessively out, though. It could be due to a poor signal resulting in corrupted data. You find it settles down after a while.

I see, the Tilt is practically new so i did not follow the instructions on calibrating it. I will see if it settles down in a while. Thanks!

:+1: FWIW, I wouldn’t rely on the temp from the tilt. It can’t be used to drive brewblox and the BrewPi temp sensors are far more accurate.

j616s, thanks for putting in the legwork to get the Tilt talking to the Spark.
I’ve got a fresh build; Brewblox install went smoothly and I’ve managed to get the Tilt service installed despite myself but have hit a snag.
After installing it, I cannot access the Brewblox UI. It just sits there, perpetually loading.
Any advice?

The Tilt shouldn’t stop you accessing the BrewBlox UI. @Bob_Steers any thoughts? I guess the first step is check the logs.

It may be fixed simply by running a hard reload (ctrl+shift+r in chrome/firefox).

Otherwise, please open your browser dev console (ctrl+shift+i)

  • does the console tab show any errors
  • if you go to the network tab, and reload the page. Do you see any red requests?

On the backend, can you please run brewblox-ctl log?

What OS/browser are you using?

To be fair, I don’t know that Tilt is the culprit but if I reinstall Brewblox I can access the UI until I install the Tilt integration.
ctrl+shift+R seems to do nothing.
Using Windows 7 and Chrome
https://termbin.com/bgiy1
The console tab is not showing any errors.
I’m not sure if it has anything to do with anything but the elements panel does have a lot of things crossed out.

@Bob_Steers is it right that the eventbus host & port is set? Was that deprecated in favour of mqtt? It looks like it’s connecting mqtt, but it looks like the eventbus params are still being set in the logs.

@Pyroan Could you re-post the docker-compose snippet you’re using for Tilt?

Please elaborate.
I successfully ran the install-tilt.py and thought that was it.