If you get stuck along the way, please dont hesitate to reach out - you're not alone and we're happy to help!
First, we need to flash the firmware.
- Order a Sonoff TH16 + DS18B20 Temperature sensor.
- In case you don't have one laying around, you'll also need:
- FT232RL USB to TTL for flashing the BierBot Brick firmware onto your TH16.
- the cheapest female rainbow cables you can find on the WWW to hook the TH16 and the FT232 up.
- a 4x1 pin header to solder it onto your TH16.
- Hook everything up as shown in the image below (left side).
- Download the NodeMCU Flasher.
- Grab the (current) release from here.
- Open the NodeMCU Flasher
- Select tab "Config", and paste the filename of the binary you've just downloaded into the first line ("firmware.bin"). ESP8266Flasher.exe and the firmware.bin must be located in the same directory.
- Select tab "Operation" and hit "Flash"!
Second, read the disclaimer
and cut a extension cable into two pieces and connect as shown in the picture (right side).
ATTENTION
Your device is now ready to be used. 😤
Go to bricks.bierbot.com > "Brewery" > "Bricks" and hit "Add device". Copy the API-Key into your clipboard. Power up your BierBot Brick. Scan for the "BierBot Brick 101" WiFi and connect. Enter the credentials to your home WiFi and paste the API-key from your clipboard. Hit "Save".
DONE. The BierBot Brick should show up in your dashboard.
For general questions please use Github Discussions.
If you think you found a bug or want to request a feature: Submit an issue.
In any case: Thanks for participating!
The information in this section is only relevant if you want to participate in development.
- Install VSCode from here.
- Install PlatformIO as described here.
- Install driver for your Serial converter. E.g. from here.
- connect your TTL Converter to the Sonoff TH 16. If all cables are in a row, you likely did something wrong.
- Click the terminal Icon in the footer bar of VSCode saying "PlatformIO: new terminal" & type
pio lib install
. - Click the alien on the right side > "Project Tasks" > "sonoff_th" > "Build" and then "Upload".
To decode stacktraces use python3 ./decoder.py -e ./firmware.elf ./trace.txt -s
from here.
If you get a bunch of WiFi Manager related compiling messages, unzip "./backup/2021_01_15_16_39_WiFiManager.zip" to ".pio/libdeps/sonoff_th".
- Reduce programm size to 50% FLASH so that OTA update works. Blocked by this.
- set WiFiManager to a fixed version in Platform IO dependencies as soon as a stable version is released.
- as soon as ESP8266 supports SSL without hardcoding fingerprints: Enable SSL.
If your device connects to mains electricity (AC power) there is danger of electrocution if not installed properly. If you don't know how to install it, please call an electrician (Beware: certain countries prohibit installation without a licensed electrician present). Remember: SAFETY FIRST. It is not worth the risk to yourself, your family and your home if you don't know exactly what you are doing. Never tinker or try to flash a device using the serial programming interface while it is connected to MAINS ELECTRICITY (AC power).
We don't take any responsibility nor liability for using this software nor for the installation or any tips, advice, videos, etc. given by any member of this site or any related site.