Shed Interior Temp to Blue Iris Overlay!

th182

BIT Beta Team
Joined
Sep 11, 2018
Messages
689
Reaction score
1,204
Location
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:

Jessie.slimer

BIT Beta Team
Joined
Aug 23, 2019
Messages
1,627
Reaction score
4,657
Location
Illinois
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.
 

th182

BIT Beta Team
Joined
Sep 11, 2018
Messages
689
Reaction score
1,204
Location
Minnesota
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

silencery

Pulling my weight
Joined
Oct 6, 2015
Messages
215
Reaction score
150
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:

th182

BIT Beta Team
Joined
Sep 11, 2018
Messages
689
Reaction score
1,204
Location
Minnesota
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!
 

th182

BIT Beta Team
Joined
Sep 11, 2018
Messages
689
Reaction score
1,204
Location
Minnesota
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.
 

rmalbers

Getting the hang of it
Joined
Sep 13, 2014
Messages
90
Reaction score
89
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.
 
Top