J’ai créé des modes et je m’appuie dessus dans le scenario:
le scénario se lance une fois par heure
(bon j’affiche aussi les modes sur le design si on veut forcer, mais au final pas besoin
Si besoin je peux expliciter avec des mots ce qu’il fait exactement
voici l’export:
- Nom du scénario : IA Climatisation et Chauffage
- Objet parent : Tous
- Mode du scénario : schedule
- Programmation : 5 * * * *
- Nom du scénario : IA Climatisation et Chauffage
- Objet parent : Tous
- Mode du scénario : schedule
- Programmation : 5 * * * *
SI #[Tous][Présence][Mode]#!="Vacances" AND #mois# in [1,2,3,4,5,9,10,11,12]
ALORS
SI #[2eme Etage][Th Chambre Parents][Température]# >21 AND #[1er Etage][Clim Salon][Température int. (sonde)]# >22
ALORS
SI #[Tous][Climatisation][Mode]# != "OFF"
ALORS
#[Tous][Climatisation][OFF]# - Options : {"enable":"1","background":"0"}
SINON
SI #[Tous][Chauffage][Mode]# != "OFF"
ALORS
#[Tous][Chauffage][OFF]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #time# >0900 AND #time# < 2300 OR #[Tous][Réglages IA Chauffage et Climatisation][Clim après 23h:]# == "oui"
ALORS
SI #[2eme Etage][Th Chambre Parents][Température]# <19 OR #[1er Etage][Clim Salon][Température int. (sonde)]# <19 OR #[Tous][Climatisation][Mode]# != "OFF" OR #[Tous][Chauffage][Mode]# != "OFF"
ALORS
SI #[Tous][Méteo Officielle][Température Min]# < #[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMiniClim]#
ALORS
SI #[Tous][Chauffage][Mode]# != "ON"
ALORS
#[Tous][Chauffage][ON]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Méteo Officielle][Température Min]# >= #[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMiniClim]#
ALORS
SI #[Tous][Climatisation][Mode]# != "Chaud Etage" AND #[Tous][Méteo Officielle][Température Min]# <= #[Tous][Réglages IA Chauffage et Climatisation][SeuilSolChauffant]#
ALORS
SI #[Tous][Réglages IA Chauffage et Climatisation][Clim et Sol Chauffant:]# != "Clim et Sol"
ALORS
#[Tous][Climatisation][Chaud Etage]# - Options : {"enable":"1","background":"0"}
SINON
SI #[Tous][Réglages IA Chauffage et Climatisation][Clim et Sol Chauffant:]# == "Clim et Sol"
ALORS
#[Tous][Climatisation][Chaud]# - Options : {"enable":"1","background":"0"}
SINON
#[Tous][Chauffage][Mixte]# - Options : {"enable":"1","background":"0"}
#[1er Etage][Thermostat Nest Salon][Thermostat]# - Options : {"enable":"1","background":"0","slider":"#[Tous][R\u00e9glages Chauffage Confort][TempConfortSalon]#"}
SINON
SI #[Tous][Méteo Officielle][Température Min]# > #[Tous][Réglages IA Chauffage et Climatisation][SeuilSolChauffant]#
ALORS
#[1er Etage][Thermostat Nest Salon][Eteint]# - Options : {"enable":"1","background":"0"}
SINON
SI #[Tous][Climatisation][Mode]# != "Chaud" AND #[Tous][Méteo Officielle][Température Min]# > #[Tous][Réglages IA Chauffage et Climatisation][SeuilSolChauffant]#
ALORS
#[Tous][Climatisation][Chaud]# - Options : {"enable":"1","background":"0"}
#[Tous][Chauffage][Mixte]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SINON
SINON
SI #time# > 2300 or #time# <0900 AND #[Tous][Réglages IA Chauffage et Climatisation][Clim après 23h:]# != "oui"
ALORS
SI #[2eme Etage][Th Chambre Parents][Température]# <19 OR #[1er Etage][Clim Salon][Température int. (sonde)]# <19 OR #[Tous][Climatisation][Mode]# != "OFF" OR #[Tous][Chauffage][Mode]# != "OFF"
ALORS
SI #[Tous][Méteo Officielle][Température Min]# >= #[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMiniClim]#
ALORS
SI #[Tous][Climatisation][Mode]# != "Chaud RDC"
ALORS
#[Tous][Climatisation][Chaud RDC]# - Options : {"enable":"1","background":"0"}
SI #[Tous][Méteo Officielle][Température Min]# < #[Tous][Réglages IA Chauffage et Climatisation][SeuilSolChauffant]# AND #[Tous][Réglages IA Chauffage et Climatisation][Clim et Sol Chauffant:]# == "Clim et Sol"
ALORS
#[1er Etage][Thermostat Nest Salon][Thermostat]# - Options : {"enable":"1","background":"0","slider":"#[Tous][R\u00e9glages Chauffage Confort][TempConfortSalon]#"}
SINON
SI #[Tous][Méteo Officielle][Température Min]# < #[Tous][Réglages IA Chauffage et Climatisation][SeuilSolChauffant]# AND #[Tous][Réglages IA Chauffage et Climatisation][Clim et Sol Chauffant:]# != "Clim et Sol"
ALORS
#[1er Etage][Thermostat Nest Salon][Eteint]# - Options : {"enable":"1","background":"0"}
SINON
#[Tous][Chauffage][Mixte]# - Options : {"enable":"1","background":"0"}
#[2eme Etage][Th Bibliotheque][Confort]# - Options : {"enable":"1","background":"0"}
#[2eme Etage][Th Chambre enfant][Confort]# - Options : {"enable":"1","background":"0"}
#[2eme Etage][Th Chambre Parents][Confort]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Méteo Officielle][Température Min]# < #[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMiniClim]#
ALORS
SI #[Tous][Chauffage][Mode]# == "OFF"
ALORS
#[Tous][Chauffage][ON]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SINON
SINON
SINON
SI #[Tous][Présence][Mode]#=="Vacances" AND #mois# in [1,2,3,4,5,9,10,11,12]
ALORS
SI #[Tous][Chauffage][Mode]# != "ECO"
ALORS
#[Tous][Chauffage][ECO]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Présence][Mode]#=="Vacances" AND #mois# in [6,7,8,9]
ALORS
SI #[Tous][Climatisation][Mode]# != "OFF"
ALORS
#[Tous][Climatisation][OFF]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Présence][Mode]#=="Présent" AND #mois# in [6,7,8,9] AND #time# >1000 AND #time# < 2200
ALORS
SI #[1er Etage][Clim Salon][Température int. (sonde)]# >=#[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMaxiClim]# AND #[2eme Etage][Th Chambre Parents][Température]# >=#[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMaxiClim]#
ALORS
SI #[Tous][Climatisation][Mode]# != "Froid"
ALORS
#[Tous][Climatisation][Froid]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[1er Etage][Clim Salon][Température int. (sonde)]# <#[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMaxiClim]# AND #[2eme Etage][Th Chambre Parents][Température]# >=#[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMaxiClim]#
ALORS
SI #[Tous][Climatisation][Mode]# != "Froid Etage"
ALORS
#[Tous][Climatisation][Froid Etage]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Climatisation][Mode]# != "OFF" AND #[1er Etage][Clim Salon][Température int. (sonde)]# +2 < #[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMaxiClim]# AND #[2eme Etage][Th Chambre Parents][Température]# +2 <#[Tous][Réglages IA Chauffage et Climatisation][SeuilTempMaxiClim]#
ALORS
#[Tous][Climatisation][OFF]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Présence][Mode]#=="Présent" AND #mois# in [6,7,8,9] AND #time# >2300
ALORS
SI #[Tous][Réglages IA Chauffage et Climatisation][Clim après 23h:]# != "oui" AND #[Tous][Climatisation][Mode]# != "OFF"
ALORS
#[Tous][Climatisation][OFF]# - Options : {"enable":"1","background":"0"}
SINON
SINON
SI #[Tous][Climatisation][Mode]# != "OFF"
ALORS
SI #time# >0800 AND #time# < 2100 AND #[Tous][Clim Ventilation][Mode]#!="Vitesse 1"
ALORS
#[Tous][Clim Ventilation][Vitesse 1]# - Options : {"enable":"1","background":"0"}
SINON
SI #time# > 2100 or #time# <0100 AND #[Tous][Clim Ventilation][Mode]#!="Silence"
ALORS
#[Tous][Clim Ventilation][Silence]# - Options : {"enable":"1","background":"0"}
SINON
SI #time# >0100 AND #time# < 0800 AND #[Tous][Clim Ventilation][Mode]#!="Auto"
ALORS
#[Tous][Clim Ventilation][Auto]# - Options : {"enable":"1","background":"0"}
SINON
SINON