Shed Interior Temp to Blue Iris Overlay!

th182

BIT Beta Team
Sep 11, 2018
696
1,209
Minnesota
Just thought I'd share a little accomplishment I achieved with BI and Home Assistant! I recently put a small propane heater in my shed to keep it warm when working out there and to hopefully keep liquids stored out there from freezing. All assuming I don't burn through my 100lb tank too fast making it too expensive to maintain! (First-world problems!). I wanted to be able to monitor the temp so I know if the heater quits.

I have a Raspberry Pi out there as a cheap way to access the interwebs for fertilizer amounts, viewing UI3, etc. So I installed NodeRed onto that Pi and hooked up a DHT11 Temperature sensor. NodeRed checks that temp every minute and publishes it to an MQTT topic. Super simple!
1605286878652.png

Home Assistant subscribes to this topic so I can graph it and get alerts if it drops too low. I also have Grafana running on docker so I can see the temp compared to outside. Cool! But what would be cooler is if I could view the temp on-screen through the shed in the camera. You can see the temp drop this morning when the heater shut down for some reason. It took several hours to drop from 30 degrees so the insulation must be working.. hopefully better once I seal up the attic access hole!

1605286928637.png

Blue Iris is connected to my MQTT broker so it was easy to set up Home Assistant to post to the BI HTTP interface through MQTT. Whenever the temp reading in the shed changes, Home Assistant posts to the BlueIris/admin MQTT topic with a payload telling BI to add the temp value to Macro 10. See the below Home Assistant Automation Action.

The Trigger is fired whenever the temperature value changes. I did not specify From/To/For values. Just the state of the entity.
Automation1.PNG

The action is simply publishing that value to MQTT for Blue Iris.
Automation2.PNG

In Blue Iris you just add an overlay to your camera and reference the macro number.
ShedOverlay.PNG

The camera has an overlay that displays the text from the macro along with an "F". So now I can glance at the screen and see the temp! This heater has settings of 1 through 5 with no specification as to what temperature each setting corresponds to. So now I can see at what temp the heater kicks on and off and estimate what that range is. The lowest setting appears to be around 60 degrees. The temp sensor is currently dangling from the shelf above the alarm keypad there. I'll have to experiment with locations to get the most accurate measurement.
1605286969034.png
Please ignore the mess out there! Just finishing up installing a ceiling to keep that heat in!

Now to research thermocouples compatible with the Pi to sense if the pilot light goes out!

EDIT: 5/18/2021 Some images were broken, added new and revised some instructions.
 
Last edited:
Super cool. I've been meaning to experiment with getting the thermocouple that monitors the flue temp of our wood burning stove to send values to Smartthings in order to control the fan, and somehow get this macro over to BI so I can overlay it onto a camera watching the stove while we are not home. Your success is inspiring me.
 
Super cool. I've been meaning to experiment with getting the thermocouple that monitors the flue temp of our wood burning stove to send values to Smartthings in order to control the fan, and somehow get this macro over to BI so I can overlay it onto a camera watching the stove while we are not home. Your success is inspiring me.
If I figure out the thermocouple I'll be sure to follow-up with a post. In the meantime I positioned a camera to watch it burn.
 

Attachments

  • B4574041-4F85-45DA-8057-3FEF9688D145.png
    B4574041-4F85-45DA-8057-3FEF9688D145.png
    1.1 MB · Views: 42
Nicely done.

You can do the same thing with your other home assistant items (heater on/off, door open/closed status, alarm status, etc)
I've been using bi macros for this very same purpose on a different home automation platform.

Rear Patio 2020-12-03 12.31.28.862 PM.jpg
 
Last edited:
Nicely done.

You can do the same thing with your other home assistant items (heater on/off, door open/closed status, alarm status, etc)
I've been using bi macros for this very same purpose on a different home automation platform.

View attachment 76144
That is awesome! Now I have more ideas for my ever growing list of things to implement!
 
I fixed some of the broken screenshots here. This worked flawless all winter to keep an eye on things. Home Assistant notified me if the temp dropped too low, so I knew to change the propane. I quickly learned my cheap $12 regulator was not cutting it as the pilot would just go out randomly. I upgraded to an auto-changeover two-stage regulator and added a second tank. Ran beautifully all winter! And I only burned through three 100lb tanks.
 
  • Like
Reactions: johnh234234234
OP: Very nice work! You could probably use one the of metal temp probe types (bbq/oven type) around the pilot light, that might be cheaper and easier than a themocouple.
 
You’re welcome! It’s still going strong all this time later. Just built a greenhouse (the one from Costco) and of course it will have a camera inside with temperatures displayed. Although instead of the pi and NodeRed, I’ll be using a Wemos D1 Mini flashed with ESPhome from Home Assistant.
 
Nice! Here are some other temperature-related goodies:

I'm using this to monitor my hot tub, and it helpfully logs measurements every 10 minutes, with data available in many different ways, many of which don't require internet access, and none of which requires a paid subscription:

1713754475426.png

For my streaming BeeCam, I'm overlaying weather via:

curl -s 'api.openweathermap.org/data/2.5/weather?id=5388601&APPID=<myAppID>&units=imperial' | /opt/homebrew/bin/jq '.name,", ",.main.temp," ºF, ",.weather[].main' > temp1.txt

I've been overlaying it on my YouTube stream via ffmpeg's drawtext filter, but I didn't know I could do it with BI as well. Thanks!
 
As an Amazon Associate IPCamTalk earns from qualifying purchases.
  • Like
Reactions: dmcIPCAM