lua through blocky
Posted: Monday 31 October 2016 21:48
Hi all,
I have domoticz controlling my floor heating, switching on and off the circulation pump based on ingoing temperature in to header from a blocky script. Now this works OK but I rather have it based on differential temperature between in and outlet, which is not dependent on the ambient temperature.
I have an ESP8266 running ESP_EASY with 2 DS18B20's reading 'Aanvoertemp VVW' en 'Afvoertemp VVW' from the header.
Now I cannot calculate the difference in blocky sadly so I need some other measures...
Could anyone point me out how to generate a variable 'DeltaT' in a LUA script which I can use in blocky for switching the pump ??
Thanks !
I have domoticz controlling my floor heating, switching on and off the circulation pump based on ingoing temperature in to header from a blocky script. Now this works OK but I rather have it based on differential temperature between in and outlet, which is not dependent on the ambient temperature.
I have an ESP8266 running ESP_EASY with 2 DS18B20's reading 'Aanvoertemp VVW' en 'Afvoertemp VVW' from the header.
Now I cannot calculate the difference in blocky sadly so I need some other measures...
Could anyone point me out how to generate a variable 'DeltaT' in a LUA script which I can use in blocky for switching the pump ??
Thanks !