Once your Tiltbridge has completed the :doc:`initial_setup` process it is ready to begin scanning for `Tilt Hydrometers`_ and relay their gravity readings to the cloud. At the moment, TiltBridge supports a number of cloud service targets for this data:
- `Fermentrack`_
- `BrewPi Remix`_
- `Brewers Friend`_
- Google Sheets
- `Brewfather`_
- `Grainfather`_
- `BrewStatus`_
- `Taplist.io`_
- TiltBridge Cloud
- Home Assistant/MQTT
The TiltBridge was designed by the primary author of `Fermentrack`_ and is designed with Fermentrack support in mind. In most cases, your TiltBridge can be linked to a single Fermentrack installation from directly within the Fermentrack app as part of the "Add Gravity Sensor" workflow. The configuration can also be re-sent to TiltBridge by clicking the "Update TiltBridge Automatically" button from the "Manage Sensor" page for the Tilt Hydrometer linked to the TiltBridge.
- Connect to your Fermentrack installation and log in (if necessary)
- From the Device menu choose
Add Gravity Sensor
- On the resulting page, choose
Tilt Hydrometer
and then select the connection typeTiltBridge
- Click the
Add New TiltBridge
link. Fermentrack will automatically scan for TiltBridge devices on your network. - If your TiltBridge device appears, click the "Add" button. Fermentrack will attempt to complete the remaining setup steps automatically. Proceed to Adding Tiltbridge-connected Tilts to Fermentrack
- If your TiltBridge device is not in the list you will need to add it manually. In the form at the bottom of the page, enter the mDNS ID you selected during :doc:`initial_setup` and enter a name by which Fermentrack will identify your TiltBridge.
- Click the Create TiltBridge button. Fermentrack now knows to expect your TiltBridge, but you will need to finish the setup on the TiltBridge manually.
If Fermentrack was not able to automatically configure your TiltBridge (either because the automatic configuration failed or because you created the TiltBridge manually) you will need to manually set the Fermentrack URL on the TiltBridge settings page.
- Identify the IP address of your Fermentrack installation
- On a device connected to the same network as the TiltBridge, navigate to http://tiltbridge.local/ (replace tiltbridge in this URL with the mDNS name you set during initial setup)
- Click the
Settings
link at the top of the dashboard - Choose the
Target Settings
tab and then selectFermentrack/BrewPi-Remix Settings
- In the
Target URL
field enter http://<fermentrack_ip_address>/tiltbridge/ and clickUpdate
Fermentrack and TiltBridge are now configured to properly communicate. You can now set up Tilts connected using TiltBridge in Fermentrack.
Once the TiltBridge and Fermentrack are configured to communicate, you can add the Tilt hydrometers to Fermentrack that will be pushed via the TiltBridge.
- Connect to your Fermentrack installation and log in (if necessary)
- From the Device menu choose
Add Gravity Sensor
- On the resulting page, choose
Tilt Hydrometer
and then select the connection typeTiltBridge
- Select the TiltBridge you just set up
- Enter the name, temp format, and color, and click
Create Sensor
Congratulations - your Tilt will now send gravity readings to Fermentrack.
Tiltbridge will operate natively with `BrewPi Remix`_. Tiltbridge is configured to push to BrewPi Remix by first configuring Tiltbridge to forward Tilts to BrewPi Remix, and then for BrewPi Remix to log the appropriate colors.
- Identify the IP address of your BrewPi Remix installation
- On a device connected to the same network as the TiltBridge, navigate to http://tiltbridge.local/ (replace tiltbridge in this URL with the mDNS name you set during initial setup)
- Click the
Settings
link at the top of the dashboard - Choose the
Target Settings
tab and then selectFermentrack/BrewPi-Remix Settings
- In the
Fermentrack/BrewPi-Remix Settings
field enter http://<brewpi_remix__ip_address>//brewpi-api.php and clickUpdate
BrewPi Remix and TiltBridge are now configured to communicate appropriately. You can now log Tilts through TiltBridge in BrewPi Remix.
Note: If you have BrewPi Remix configured in multi-chamber mode, the same Tiltbridge configuration applies. The single URL will forward to all chambers. You must, however, set each chamber's config.cfg
with the corresponding Tilt color.
Once the TiltBridge and BrewPi Remix are configured to communicate, you can add the Tilt hydrometers that will be pushed via the TiltBridge to BrewPi Remix.
- Connect to your Pi with ssh and login
- Edit your config file (
sudo nano /home/brewpi/settings/config.cfg
) - Add a line at the bottom of this file for the color you would like to report (
tiltColor = Yellow
) - Save and exit (
Ctrl-X
,y
) - Restart the BrewPi Remix Daemon for the changes to take effect (
sudo systemctl restart brewpi
)
Congratulations - your Tilt will now send gravity readings to BrewPi Remix.
With a premium `Brewers Friend`_ account, you can store temperature and gravity readings from your Tilt Hydrometer as part of your brew logs. After you set up your TiltBridge to push to Brewers Friend, it will create stream devices for each of the detected Tilts which can then be subsequently attached to your brew logs. To comply with rate limits placed by Brewer's Friend, data is first sent about 1 minute after startup, and subsequently no more than once every 15 minutes.
Note
Due to ESP32 hardware limitations, all connections to Brewers Friend are done over HTTP
To configure TiltBridge to use Brewer's Friend, you will need to obtain your Brewer's Friend API key and provide it to TiltBridge.
- Go to `Brewers Friend`_ and log in to your account
- Click the
Profile
button in the upper right, and clickIntegrations
- Copy the API key (not one of the URLs) to your clipboard
- On a device connected to the same network as the TiltBridge, navigate to http://tiltbridge.local/ (replace tiltbridge in this URL with the mDNS name you set during initial setup)
- Click the
Settings
link at the top of the dashboard - Choose the
Target Settings
tab and then selectBrewers Friend
- In the
Brewers Friend API Key
field paste the API key you copied earlier and clickUpdate
Note
The first data "push" will be attempted within 10 seconds of the key first being entered, but due to rate limits it may take up to 15 minutes for data to first appear in Brewer's Friend.
Once the Brewer's Friend API key is provided, the TiltBridge will begin transmitting gravity data once every 15 minutes. Following the first data transmission, you can easily check in Brewer's Friend to see if the data was received.
- Go to `Brewers Friend`_ and log in to your account
- Click the
Profile
button in the upper right, and clickDevices
- In the
Device Settings
pane clickShow All
(to the right ofAll Brew Sessions
) - All Tilt devices should appear in the list as
Stream
devices and will be identified by their color
Note
Per Brewer's Friend guidelines, data is only pushed once every 15 minutes.
Similar to TiltPi or the Tilt Hydrometer app, TiltBridge supports logging to Google Sheets. Setting up Google Sheets is more involved than either `Fermentrack`_ or `Brewers Friend`_, but provides a free, easily accessible cloud data service.
The first step in Google Sheets integration is preparing Google Sheets to receive the data. Google Sheets requires the use of a Gmail or Google Apps for Domains account. This preparation step only needs to be done once per Google Account and once complete can be used with multiple Tilts, TiltBridges, and beer logs.
- Open the Tilt Cloud App for TiltBridge on Google Sheets. If prompted to login, log into your Gmail or Google Apps for Domains account.
- As prompted, go to the
File
Menu, and selectMake a Copy
- Enter a name for this sheet (it will be the master sheet to coordinate all your beer logs) and click
OK
- The copy you just made will open in a new window. Go to the
Tools
menu and selectScript Editor
This will then open the Google Script editor. Before you can begin logging to Google Sheets, you need to "publish" the script that will receive the incoming data. To do so, you can follow these instructions (which are the same as those at the top of the window that appears):
- Go to the
Deploy
menu and selectNew Deployment
- In the dialog that pops up, choose
Web App
on the left. If you do not seeWeb App
, click the gear icon next toSelect Type
and ensureWeb App
is checked. - Enter description as "TiltBridge Google Sheets" (or whatever you prefer).
- Ensure
Execute As
is set to "Me" andWho Has Access
is set to "Anyone" - Click
Deploy
- Click
Authorize Access
. A new dialog will pop up. Choose your Google account. - Second dialog may appear indicating "Google hasn't verified this app". If it does, click
Advanced
and then selectGo to Tilt Cloud Template for TiltBridge (unsafe)
- A dialog box with permission requests will appear. Select
Allow
. - The new Deployment summary appears. Copy the URL under Web App - the URL should end in
/exec
This URL is the URL you will need to paste into the Google Script URL
field on the settings page of your TiltBridge (below).
Once you have prepared Google Sheets to receive data pushed by the TiltBridge, you will need to update a handful of settings on the TiltBridge itself so that it knows where to send the data.
- On a device connected to the same network as the TiltBridge, navigate to http://tiltbridge.local/ (replace tiltbridge in this URL with the mDNS name you set during initial setup)
- Click the
Settings
link at the top of the dashboard - Choose the
Target Settings
tab and then selectGoogle Sheets
- In the
Google Script URL
field paste the Google Script URL you made note of during the preparation step above - Enter your Gmail (or Google Apps) email address in the
Google Script Email
field - Click
Update
- Click the
General Settings
tab - Ensure the correct time zone offset is entered, and click
Update
if needed.
Your TiltBridge should now be configured to send data to Google Sheets. To begin logging a Tilt you will need to enter a sheet name for the data to be logged to.
After configuring the TiltBridge each Tilt your TiltBridge detects can be individually logged to its own sheet on Google Sheets. To enable logging, you will need to specify a sheet name in TiltBridge. If this sheet does not exist on Google Sheets it will be created. If the sheet does exist, new data points will be appended to it.
- On a device connected to the same network as the TiltBridge, navigate to http://tiltbridge.local/ (replace tiltbridge in this URL with the mDNS name you set during initial setup)
- Click the
Settings
link at the top of the dashboard - Choose the
Target Settings
tab and then selectGoogle Sheets
- Type a name for the Google Sheet to which you want to log data points in the appropriate
Tilt Sheet Name
field and clickUpdate
Once this is complete, your Tilt will begin logging data points to the sheet name you specified. If the sheet does not exist, it will automatically be created.
Note
Points are only pushed to Google Sheets once every 10 minutes. As a result, it may take up to 10 minutes for the sheet to be created or for the first points to appear.
With a premium `Brewfather`_ account, you can store temperature and gravity readings from your Tilt Hydrometer as part of your brew logs.
TiltBridge will need your Brewfather stream ID in order to post to your Brewfather account.
- Go to `Brewfather`_ and log in to your account
- Click the
Settings
option in the menu on the left - Under "Power-ups" in the lower left corner, click the "switch" next to "Custom Stream" if it is not already toggled
- Copy just the string of letters/numbers that appears after the start of the URL (http://log.brewfather.net/stream?id=) to your clipboard
- On a device connected to the same network as the TiltBridge, navigate to http://tiltbridge.local/ (replace tiltbridge in this URL with the mDNS name you set during initial setup)
- Click the
Settings
link at the top of the dashboard - Choose the
Target Settings
tab and then selectBrewfather
- In the
Brewfather Stream key
field paste the string you copied earlier and clickUpdate
Note
The first data "push" will be attempted within 10 seconds of the key first being entered, but due to rate limits it may take up to 15 minutes for data to first appear in Brewfather.
Once the Brewfather Stream key is provided, the TiltBridge will begin transmitting gravity data once every 15 minutes. Following the first data transmission, you can easily check in Brewfather to see if the data was received.
- Go to `Brewfather`_ and log in to your account
- Click the
Devices
option in the menu on the left - All Tilt devices should appear in the list as
Custom Stream
devices and will be identified by their color
Note
Per Brewfather's guidelines, data is only pushed once every 15 minutes.
TiltBridge is designed to allow for data to be pushed to `Brewstatus`_. This functionality was helpfully added by contributors to the project on `GitHub`_ and has not yet been documented.
Note
If you use `Brewstatus`_ and would like to help write this documentation, please reach out!
.. todo:: Document Brewstatus configuration
TiltBridge has built-in support for `Taplist.io`_. To use, follow these steps:
- Log in to the Taplist.io Dashboard.
- Visit :menuselection:`Account --> Integrations --> Tilt Hydrometer`
- Create a new Tilt integration and copy the webhook URL.
- Paste the URL into TiltBridge settings.
A TiltBridge-specific app for phones has been released to allow users to view the gravity of their brews remotely. This app and the cloud behind it are specific to the TiltBridge and are designed to target the device. To begin using the TiltBridge Cloud, download the relevant phone app to begin setup:
- Android support: `TiltBridge Cloud Android App`_
- iPhone App: (Coming Soon)
.. todo:: Document TiltBridge Cloud setup
TiltBridge is designed to allow for data to be pushed to Home Assistant via MQTT.
- Follow :doc:`initial_setup` to flash your ESP32.
- Configure TiltBridge to upload to your favourite cloud provider
- Verify your Home Assistant installation is configured for MQTT (either via the Add-On or an independent MQTT broker)
- If desired, add a new user for tiltbridge to MQTT Broker configuration. Avoid generating a long password.
- In http://tiltbridge.local/ , configure IP of MQTT broker, user and password details. Configure MQTT Topic to be tiltbridge, which will result inthe MQTT topic(s)0 of tiltbridge/tilt_$colour for your Tilt device(s)
- TiltBridge will now be auto-discovered and can be automatically configured in Home Assistant