delta t lua

Moderator: leecollings

Post Reply
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

delta t lua

Post by tiga »

hello im programming a fan for free cooling in the summer but i am not so good in programming in lua

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?? :mrgreen:
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: delta t lua

Post by jvdz »

Help or code it for you? ;)

Jos
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

Re: delta t lua

Post by tiga »

help me on the way jos for 90% ;)

i am realy a dumbass with lua :D

to make it a little bit more challenging, im temporarely using the weather underground for my outside temp(im buying my own soon).
i beleve you have to filter out the temp value??????
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest