J'utilisais le script initial dans sa V1.3, je suis passé à la V3.5.
J'ai 2 interrogations sur 2 fonctionnalités de ce script :
Ligne 45 du script initial :
Code : Tout sélectionner
on = {
timer = { 'on 01/10-20/05 at 06:02', 'on 01/10-20/05 at 18:02' },
devices = { device_temp_ext } -- nom de la sonde de température/humidité extérieure'
},Code : Tout sélectionner
timer = { 'at 06:02', 'at 18:02' },Autre anomalie, bloquante celle ci puisque retourne une erreur :
Code : Tout sélectionner
2019-01-29 18:21:00.646 Status: dzVents: Info: DJU Méthode COSTIC v2.5: ------ Start external script: dju_methode_COSTIC.lua:, trigger: at 18:21
2019-01-29 18:21:00.689 Status: dzVents: Debug: DJU Méthode COSTIC v2.5: Processing device-adapter for dev_temp_hum_baro: Temperature+humidity+barometer device adapter
2019-01-29 18:21:00.689 Status: dzVents: Debug: DJU Méthode COSTIC v2.5: --- --- --- Température Ext : 5.5 °C
2019-01-29 18:21:00.691 Status: dzVents: Debug: DJU Méthode COSTIC v2.5: --- --- --- température maximale du jour : 7.7 °C
2019-01-29 18:21:00.691 Status: dzVents: Error (2.4.6): DJU Méthode COSTIC v2.5: An error occured when calling event handler dju_methode_COSTIC
2019-01-29 18:21:00.691 Status: dzVents: Error (2.4.6): DJU Méthode COSTIC v2.5: .../domoticz/scripts/dzVents/scripts/dju_methode_COSTIC.lua:101: attempt to index a nil value
2019-01-29 18:21:00.691 Status: dzVents: Info: DJU Méthode COSTIC v2.5: ------ Finished dju_methode_COSTIC.luaCode : Tout sélectionner
Tnj = domoticz.data.Tn.getLatest().data