I just installed a Fibaro Smart Implant, with two temperature sensors, into my furnace to monitor the input and output temperatures across the heat exchanger. I have them being displayed in my Dashboard, but I'd also like to put in a tile that shows the (absolute) delta temperature. Is there a way to create a virtual temperature sensor that is the (positive) difference between the two physical sensors? I say positive because I want it to display a positive value whether I'm in heating mode or cooling mode.
I can't figure out how to compare two temp sensors and show the difference in another virtual device. I don't have Webcore installed, but I will if this is the way to do it.
This is fairly simple to do with rule machine, and hub variables. Here are the things you will need to do:
Create two decimal variables corresponding to each of your real temperature sensors, and a third hub variable corresponding to the temperature difference. Create a temperature sensor connector only for the third hub variable.
Create a single rule in rule machine that will run whenever either of your two real temperature sensors changes value. This rule sets the value of each of the two variables to the value of the real temperature sensors, and the third variable to the value of the difference. You have to use the variable math function. Here's the rule:
Yes! Thank you! This worked perfectly! I added one more step to get absolute value of the difference. I never knew about the global variables. This opens up another world of possibilities.