can someone please help me with i think is a simple script.
i have an outside temp sensor and an inside temp sensor and i want it to set a user variable Delta t (like every 5 minutes or so)
so for example: outside temp is 25 degrees and inside temp is 20 degrees i want a uservariable (delta_t) that states: -5 degrees
i can not find a simmular lua script that does only this.only verry complex ones but i'm nog good enough to filter out this pease.
can someone please help me??