Concept Temperature Map

User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Concept Temperature Map

Post by DaveL17 »

This is something that I've wanted to play with for a while. The concept is to display a visual representation of things like temperature or humidity to understand the relationship of these values across the entire house. The color map is set to 50ºF to 80ºF for these images, so the apparently "hot" attic is actually 75ºF here. A couple of you have seen them already...
Volumetric view
Volumetric view
Figure_1a.png (218.68 KiB) Viewed 4963 times
I also have a "planar" view of the same data that makes it easier to see the relationship of interior rooms.
Planar view
Planar view
Figure_1b.png (145.67 KiB) Viewed 4963 times
There are some slight differences in scale between the two images beyond the obvious--that have more to do with ensuring that each plot is displayed proportionately. For giggles, I've also thrown up an animated version of the first one.

While we would probably never use it this way, the plot could also be used to show occupancy (I've included a point in the basement to demonstrate one way to do that, and the script could be easily adapted to change the color of an entire room to display occupancy). The first plot shows one way to do that. This isn't something that could be easily adapted to a plugin because the representation of our home is hard coded into the script. In other words, the script would need to be individually adapted to another house by hand.

I do plan to share the scripts on GitHub once they're in better shape if folks want to fork them (they're not even tied directly to Indigo yet) but wanted to throw these out there to get folks' reaction in a blatant attempt to get good ideas for nothing. :D
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
User avatar
RogueProeliator
Posts: 2517
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Concept Temperature Map

Post by RogueProeliator »

While we would probably never use it this way, the plot could also be used to show occupancy (I've included a point in the basement to demonstrate one way to do that, and the script could be easily adapted to change the color of an entire room to display occupancy). The first plot shows one way to do that. This isn't something that could be easily adapted to a plugin because the representation of our home is hard coded into the script. In other words, the script would need to be individually adapted to another house by hand.
Everyone Else: "Hey, maybe we could get a variable to update with room occupancy"
Dave: "I've seen Star Trek, hold my beer..."
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Concept Temperature Map

Post by DaveL17 »

My wife might want to ask the computer where I am so that she can avoid me. Wouldn't want that!
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
Dual
Posts: 267
Joined: Tue Feb 05, 2019 6:01 pm

Re: Concept Temperature Map

Post by Dual »

RogueProeliator wrote: Everyone Else: "Hey, maybe we could get a variable to update with room occupancy"
Dave: "I've seen Star Trek, hold my beer..."
Hahahahahahahaha.

Very cool Dave.


Sent from my iPhone using Tapatalk
Dual
Posts: 267
Joined: Tue Feb 05, 2019 6:01 pm

Re: Concept Temperature Map

Post by Dual »

DaveL17 wrote:My wife might want to ask the computer where I am so that she can avoid me. Wouldn't want that!
If you build your house out of transparent aluminum she could always see you.


Sent from my iPhone using Tapatalk
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Concept Temperature Map

Post by DaveL17 »

Dual wrote:If you build your house out of transparent aluminum she could always see you.
It'd take years just to figure out the dynamics of that matrix. :D
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
Dual
Posts: 267
Joined: Tue Feb 05, 2019 6:01 pm

Re: Concept Temperature Map

Post by Dual »

DaveL17 wrote:
Dual wrote:If you build your house out of transparent aluminum she could always see you.
It'd take years just to figure out the dynamics of that matrix. :D
Scotty can help. Image


Sent from my iPhone using Tapatalk
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Concept Temperature Map

Post by DaveL17 »

I've uploaded sample scripts to GitHub. They use Python 3 so they aren't suited to run directly in Indigo. In other words, they need to be called some other means with the data passed as a parameter to the script. Given the relative complexity of the scripts, they require at least a moderate knowledge of Python to implement. You'll need to install Python 3, ffmpeg (or another compatible video encoder), add a vehicle to transport the data, and modify the map (unless you want a map of my house). I'm happy to answer any questions about the scripts themselves, but I can't commit to helping with the intricacies of all the mods that are needed to use them.

3D Temperature Map
3D Temperature Map Planar
3D Temperature Map Wiki
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
User avatar
mundmc
Posts: 1064
Joined: Fri Sep 14, 2012 4:34 pm

Re: Concept Temperature Map

Post by mundmc »

Amazing and thank you for sharing! I finally have a fleet of esp32 motion/temp sensors ready to deploy (after my gutted house is rebuilt) and this looks great for it.
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Concept Temperature Map

Post by DaveL17 »

mundmc wrote:Amazing and thank you for sharing! I finally have a fleet of esp32 motion/temp sensors ready to deploy (after my gutted house is rebuilt) and this looks great for it.
My pleasure. Please share when the time comes if you are comfortable doing that. I would love to see what you do with it.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
User avatar
mundmc
Posts: 1064
Joined: Fri Sep 14, 2012 4:34 pm

Re: Concept Temperature Map

Post by mundmc »

DaveL17 wrote:
mundmc wrote:Amazing and thank you for sharing! I finally have a fleet of esp32 motion/temp sensors ready to deploy (after my gutted house is rebuilt) and this looks great for it.
My pleasure. Please share when the time comes if you are comfortable doing that. I would love to see what you do with it.
Of COURSE I will.

To me, this is one of the most critical parts of home automation and energy savings. I love the idea of visualizing the temperatures in different rooms and how they relate with each other and the main HVAC system. The fact that I love that probably makes me a gigantic nerd who should have been an engineer in a different life.

I am also honored to be your first Youtube subscriber.
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Concept Temperature Map

Post by DaveL17 »

Sweet. I know you share a lot, but I didn't want to presume. :)
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
Post Reply

Return to “Dave's Scripts”