Introduction: The Brew Probe - WiFi Temperature Monitor

In this instructable we will be building a temperature probe that utalizes MQTT and Home Assistant to relay the temperature information to a webpage where you can monitor the germination temp anywhere of your fermenter.

I the complete list of things to have for this is as follows:

3D Printable Case
https://www.thingiverse.com/thing:2502515

Arduino Code and 3D Model files

https://github.com/misperry/Brew_Probe

Waterproof DS18B20 Sensor Kit: $8

https://www.dfrobot.com/product-1354.html

Firebeetle

https://www.dfrobot.com/product-1590.html

Have to install by hand onewire library

http://playground.arduino.cc/Learning/OneWire

Need to install the arduinoJson library Add http://arduino.esp8266.com/stable/package_esp8266... to the boards manager URLs.

Need to add the firebeetle library

https://git.oschina.net/dfrobot/FireBeetle-ESP32/...

HomeAssistant MQTT Sensor

https://home-assistant.io/components/sensor.mqtt/...

Items to purchase to aid in the construction:

USB Micro-B Breakout Board

https://www.amazon.com/gp/product/B00KLDPZVU/ref=...

Great Planes Double-Sided Servo Tape 1x3'

https://www.amazon.com/gp/product/B001BHLRTY/ref=...

PCB Switch

https://www.amazon.com/gp/product/B01E3G12YY/ref=...

HATCHBOX Red PLA Filament

https://www.amazon.com/gp/product/B00J0GO8I0/ref=...

Step 1: Soldering the Firebeetle

Now you will need to solder an included header to only one side of the firebeetle. It will be the side with the VCC on it.

Step 2: Change Housing

First you will need to remove the housing from the thermal probe connector and replace it with single housing for each pin.

You can pick up a housing pin from the following:

Housing Kit

Step 3: Solder Wires to Micro USB

Now you will need to solder power and ground wires to the mirco usb breakout board sot that you can power the unit from a micro usb connection.

Step 4: Solder Breakout to Firebeetle

Now you need to look at the micro USB port on the Firebeetle. There are two pads labeled "+" and "-". They will be where you will connect your power and ground from the USB breakout board.

Step 5: 3D Print the Case

Now you will need to 3D Print the case. The model files can be located at the following:

https://www.thingiverse.com/thing:2502515

Step 6: Glue the Insert

Now you will need to apply glue to the hex headed insert and then insert it into the main body of the housing.

Step 7: Place Double Back Tape

Put the double back tape on the back of the firebeetle and the back of the temperature breakout board as well to install.

Step 8: Make Conections

You will connect the red pin to the VCC and the Black pin to the Ground. You will connect the sens pin to the GPIO D6 on the firebeetle.

Also you will need to connect the switch in series with the power line coming from the LiPo Battery. This way when you switch the switch it controls the power to the unit.

Step 9: Coding - Firebeetle

Now you will need to edit the code for your application.

The section will be as follows:

const PROGMEM char* MQTT_CLIENT_ID = "<Enter Client ID>";

const PROGMEM char* MQTT_SERVER_IP = "<Server IP address>";

const PROGMEM uint16_t MQTT_SERVER_PORT = 1883;

const PROGMEM char* MQTT_USER = "<user name HA is installed under>";

const PROGMEM char* MQTT_PASSWORD = "<your HA password>";

const PROGMEM char* MQTT_SENSOR_TOPIC = "<your MQTT Topic>";

Step 10: Installing Libraries for Firebeetle

In your arduino software you will need to go to file -> preferences. Then in the "Additional Boards Manager URLs:" section you will add the following two links with a comma in between.

https://git.oschina.net/dfrobot/FireBeetle-ESP32/r...

http://arduino.esp8266.com/versions/2.3.0/package_...

Next go to Tools -> Board -> Boards Manager... and search for firebeetle. Choose the "FireBeetle-ESP32 Mainboard by DFrobot DFRDuino" and install it.

Finally you need to go to Sketch -> Include Library -> Manage Libraries... and you will search for the following:

ArduinoJson by Benoit Blanchon (install this)

onewire

pubsubclient

Once finished with this you will install the code you have by choosing the firebeetle board, connecting a USB cable to it, choosing the com port it is on in the arduino menu, and uploading the sketch.

Step 11: Home Assistant .yaml File Setup

Now you will need to go to your configuration.yaml file for your home assistant instance. Once you are into editing this file you will need to add the following configuraiton:

#somewhere at the top add

mqtt:

#then you need to add the following sensor

sensor 1:

platform: mqtt

state_topic: '<topic of your choice>'

name: '<name of your choice for the device>'

unit_of_measurement: '°F'

value_template: '{{ value_json.temperature }}'

Step 12: Install the Hardware

You will install the firebeetle in the bottom of the case by removing the double backed tape and sticking it down to the inside of the case.

Install the USB breakout on the two stand-offs that are on the side. Use two small screws to secure it.

You will then feed the temp probe through the insert and connect the Red wire to the Power, Black to the Ground, and Yellow to the signal pin of the temp probe breakout board.

Finally install the breakout board into the side of the case by peeling off the backing on the tape and securing it to the side where it does not interfere with the other components.

Lastly you will need to plug in the battery and tuck all the wires inside the case.

Step 13: Secure Battery to Lid

Now you will need to simply attach the battery to the lid by the same method of applying some double stick tape to the battery pack and then sticking it to the lid of the unit.

Once the battery is in place you can now snap the lid over the case and turn it on!!

Step 14: More Details

If you would like more details please check out the video on how to build this and at the end there is a link to the in-depth video with full build procedure laid out for you.

----------------------------------------------------------------------
Try Amazon Prime 30-Days https://www.amazon.com/tryprimefree?r...

Support the channel tip with bitcoins Address: 1MvcZHRbDm9czS8s776iutBBPJ39K4PEHh

Follow me on Instructables https://www.instructables.com/member/m...

Follow me on Facebook https://www.facebook.com/misperryee/

Follow me on Twitter http://www.twitter.com/misperryee

T-Shirts http://www.zazzle.com/misperry

Remote Control Contest 2017

Participated in the
Remote Control Contest 2017

Arduino Contest 2017

Participated in the
Arduino Contest 2017