Forum eedomus https://forum.eedomus.com/ |
|
A script to control temperature setpoint https://forum.eedomus.com/viewtopic.php?f=45&t=4746 |
Page 1 sur 1 |
Auteur: | @VincentRecipon [ 03 Nov 2016 00:34 ] |
Sujet du message: | A script to control temperature setpoint |
Hi I've written a small php script for our beloved eedomus in order to control my floor heating system. Php script isn't so complicated to write, particularly when you have such first draft. It's also easier to read that multiple rules working in parallel. I've made a post about how to use this script in this post : http://www.vrdigitalworld.com/smarthome/domotiser-son-chauffage-au-sol?lang=en Don't hesitate to have some question here or at the end of the post. Finally here is the script you can also donwload from the post
|
Auteur: | annemanike2 [ 27 Mai 2023 07:20 ] |
Sujet du message: | Re: A script to control temperature setpoint |
The script then proceeds to analyze the heating requirements based on the provided arguments. If the heating status is 0 (off), the set temperature is set to 7. If the heating status is 200 (forced on), the set temperature is set to 30. If the heating status is any other value, further analysis is performed based on the day phase: If the day phase is "absence prolongée" (prolonged absence) or "porte ouverte" (door open), the set temperature is set to 12. If the day phase is "nuit" (night), the set temperature is set to the desired temperature minus 1. If the day phase is "absence" (absence), the set temperature is set to the desired temperature minus 0.5. If the day phase is "réveil" (wake-up) or "retour" (return), the set temperature remains the same as the desired temperature. For any other day phase (presumably "présence" - presence or "soirée" - evening), the set temperature is adjusted based on room activity: If there is no activity in the room, the set temperature is decreased by 0.25. If there is activity in the room, the set temperature remains the same as the desired temperature. |
Page 1 sur 1 | Le fuseau horaire est UTC+1 heure |
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/ |