Welcome to Smart Home Forum by FIBARO
Search the Community
Showing results for tags 'calculate'.
Hi all, I need help for a (tricky) thing: I added 2 underwater temperature sensors on my Fibaro smart implant. Now i need to calculate the middle value of both sensors over a.e. two days. Example: -Sensor 1: 8 degree on day 1 and day 2 -Sensor 2: 10 degree on day 1 and day 2 - middle value: 9 degree This value should trigger a global variable like "summer" - for middle value >8 degree and "winter" for middle value <8 degree. I need this to know when i have to feed winter pellets for my kois and to trigger a scene that swi
Hello guys, would be anyone so kind and help me calculate hours and minutes between current sunset hour and the next days sunrise? local sunset = fibaro:getValue(1, "sunsetHour") local sunrise = fibaro:getValue(1, "sunriseHour") I would very appriciate having the information, that the night will last xy hours and xy minutes. Thank you very much in an advance, tampiss