[LUA+Bash] Calcul de DJU
Re: Calcul de DJU
Merci Papoo
J'ai corrigé
J'ai corrigé
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
Re: Calcul de DJU
c'est moi qui te remercie
Re: Calcul de DJU
Bonsoir Papoo
Un petit souci quand même :
"DJU méthode COSTIC" n'est pas un custom sensor? avec nom de l'axe: degré ?
Merci d'avance.
Un petit souci quand même :
Code : Tout sélectionner
2019-01-24 18:02:00.155 Status: dzVents: Info: DJU MéthodeCOSTIC v2.3: ------ Start internal script: dju_methode_COSTIC:, trigger: at 18:02
2019-01-24 18:02:00.237 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: Processing device-adapter for Module extérieur: Temperature+humidity device adapter
2019-01-24 18:02:00.237 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- Température Ext : 4.2 °C
2019-01-24 18:02:00.238 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- température maximale du jour : 5.1999998092651 °C
2019-01-24 18:02:00.238 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- température minimale du jour : 0.20000000298023 °C
2019-01-24 18:02:00.238 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- température moyenne du jour : 2.6999999061227 °C
2019-01-24 18:02:00.239 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- Le Seuil de 18°C est supérieur à la température maximum atteinte lors des dernières 24 heures (5.1999998092651°C)
2019-01-24 18:02:00.239 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- djc : 15
2019-01-24 18:02:00.239 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: Processing device-adapter for DJU méthode COSTIC: Custom sensor device adapter
2019-01-24 18:02:00.239 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- compteur avant mise à jour DJU méthode COSTIC : nil DJU
2019-01-24 18:02:00.240 Status: dzVents: Debug: DJU MéthodeCOSTIC v2.3: --- --- --- mise à jour compteur DJU méthode COSTIC : 15 DJU
2019-01-24 18:02:00.240 Status: dzVents: Error (2.4.9): DJU MéthodeCOSTIC v2.3: Method updateCounter is not available for device "DJU méthode COSTIC" (deviceType=General, deviceSubType=Custom Sensor). If you believe this is not correct, please report.
2019-01-24 18:02:00.253 Status: dzVents: Info: DJU MéthodeCOSTIC v2.3: ------ Finished dju_methode_COSTICMerci d'avance.
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
Re: Calcul de DJU
Non c’est un compteur
Mais je peux adapter si tu préfères, et ca permettrait la customisation de l’icône
Je regarde ça dès que possible
Mais je peux adapter si tu préfères, et ca permettrait la customisation de l’icône
Je regarde ça dès que possible
Re: Calcul de DJU
Merci Papoo
Quoiqu'il en soit, ce n'est pas urgent....
Quoiqu'il en soit, ce n'est pas urgent....
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
Re: Calcul de DJU
script mis à jour dans sa version 2.4
Re: Calcul de DJU
Bonsoir Papoo
C'est ton bon avec un custom sensor en corrigeant :
par
Remerciement pour ta disponibilité.
C'est ton bon avec un custom sensor en corrigeant :
Code : Tout sélectionner
elseif (domoticz.devices('@pap_oo').deviceSubType) == 'Custom Sensor' then
domoticz.devices(deviceTwitter).updateCustomSensor(cpt_djc_index)Code : Tout sélectionner
elseif (domoticz.devices(cpt_djc).deviceSubType) == 'Custom Sensor' then
domoticz.devices(cpt_djc).updateCustomSensor(cpt_djc_index)_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
Re: Calcul de DJU
Je lisais sur wikipedia que la période de chauffe est de 232 jours, allant du 1er octobre au 20 mai...
Ne pourrait-on pas l'intégrer directement dans le script? au cas où...
Ne pourrait-on pas l'intégrer directement dans le script? au cas où...
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
Re: Calcul de DJU
Mercicalouis a écrit : 27 janv. 2019, 19:07 Bonsoir Papoo
C'est ton bon avec un custom sensor en corrigeant :
je viens de mettre à jour (v2.5) mais cela ne fera qu’arrêter le calcul deux fois par jour, l'historisation des données étant à chaque changementcalouis a écrit : 27 janv. 2019, 19:12 Je lisais sur wikipedia que la période de chauffe est de 232 jours, allant du 1er octobre au 20 mai...
Ne pourrait-on pas l'intégrer directement dans le script? au cas où...
Re: Calcul de DJU
OK j'ai mis à jour les apports....Par ailleurs, je t'ai de nouveau sollicité dans ce forum pour détecter présence au travers routeur xiaomi ; je me suis cassé la tête en vain cette a-midi. Une histoire de token...
Bonne soirée
Bonne soirée
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d