Calcul du coût de l'électricité
Re: Calcul du coût de l'électricité
Pourquoi masques tu le port 192.1xx.x.xx;80xx ? Ca devrait correspondre à 127.0.0.1:8081, le port de ton serveur DomoticZ ?
Tu as vérifié que le 127.0.0.1 avait le droit d'accès à DomoticZ (Menu Configuration / Paramètres) ?
Tu as vérifié que le 127.0.0.1 avait le droit d'accès à DomoticZ (Menu Configuration / Paramètres) ?
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Re: Calcul du coût de l'électricité
Bonsoir oui mon adresse 192.xxx.x.xx;127.0.0.1 à l'emplacement Réseaux locaux (pas d'authentification):
Re: Calcul du coût de l'électricité
Bonjour, j'ai un mot de passe dans domoticz Basic-Auth cela peut empêcher dzVent de s'exécuter ?
Re: Calcul du coût de l'électricité
Essayes en enlevant le mot de passe mais cela ne doit rien changer.
Remet nous ton script et tous les logs d'exécution du script (pas seulement la ligne d'erreur).
Remet nous ton script et tous les logs d'exécution du script (pas seulement la ligne d'erreur).
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Re: Calcul du coût de l'électricité
Bonjour Keros, j'ai retirer le mot de passe mes compteur coût se son mis a zéro
j'ai 5 code en voici 2 il son identique
et voici mes log ( tout )
et voici mes log ( Statut )
et voici mes log ( Erreur )
Code : Tout sélectionner
--[[ - dzVents_device_coutElectricité_Pompe_a_chaleur -
]]--
local nomCompteur = '1986' -- Nom/idx compteur consommation électrique - Conso électrique Pompe a chaleur
local nomCout = '1988' -- Nom/idx comteur coût électrique (type compteur RFXmeter/compteur, unité cents d'€) - Coût Pompe à chaleur
local coutkWh = 0.0952 -- Coût du kWh en €
local coutAbonnement = 177.48 -- Coût annuel abonnement en €
local scriptName = 'coutElectricité' -- Nom du script
local scriptVersion = '1.0' -- Version du script
return {
on = {
devices = {
nomCompteur
}
},
logging = {
level = domoticz.LOG_NONE,
marker = scriptName..' v'..scriptVersion
},
execute = function(domoticz, device)
cost = ((device.counterToday * coutkWh) + (coutAbonnement / 365)) * 100 -- coût /kWh + 1/365eme du coût annuel de l'abonnement * 100 (pour l'avoir en cents)
previousCost = domoticz.devices(nomCout).counter -- Compteur coût
if previousCost > cost then -- Compteur journalier remis à zéro
domoticz.log('Remise à zéro du côut électricité, coût '..tostring(cost)..', précédent = '..tostring(previousCost),domoticz.LOG_INFO)
cost = 0 -- Force la valeur mini à zéro, indispensable pour un compteur juste
end
domoticz.devices(nomCout).setValues(nil, tostring(cost))
end
}Code : Tout sélectionner
[img]--[[ - dzVents_device_coutElectricité_VMC_DuolixMax -
]]--
local nomCompteur = '1904' -- Nom/idx compteur consommation électrique - Conso electrique VMC DuolixMax
local nomCout = '1989' -- Nom/idx comteur coût électrique (type compteur RFXmeter/compteur, unité cents d'€) - Cout VMC DuolixMax
local coutkWh = 0.0952 -- Coût du kWh en €
local coutAbonnement = 177.48 -- Coût annuel abonnement en €
local scriptName = 'coutElectricité' -- Nom du script
local scriptVersion = '1.0' -- Version du script
return {
on = {
devices = {
nomCompteur
}
},
logging = {
level = domoticz.LOG_NONE,
marker = scriptName..' v'..scriptVersion
},
execute = function(domoticz, device)
cost = ((device.counterToday * coutkWh) + (coutAbonnement / 365)) * 100 -- coût /kWh + 1/365eme du coût annuel de l'abonnement * 100 (pour l'avoir en cents)
previousCost = domoticz.devices(nomCout).counter -- Compteur coût
if previousCost > cost then -- Compteur journalier remis à zéro
domoticz.log('Remise à zéro du côut électricité, coût '..tostring(cost)..', précédent = '..tostring(previousCost),domoticz.LOG_INFO)
cost = 70 -- Force la valeur mini à zéro, indispensable pour un compteur juste
end
domoticz.devices(nomCout).setValues(nil, tostring(cost))
end
}[/img]Code : Tout sélectionner
2021-07-06 13:47:03.715 Error: dzVents: Error: (3.1.7) airQuality v2.0: This should not happen
2021-07-06 13:47:03.715 Error: dzVents: Error: (3.1.7) airQuality v2.0: I will call url again
2021-07-06 13:47:05.644 Error: dzVents: Error: (3.1.7) airQuality v2.0: This should not happen
2021-07-06 13:49:26.810 Carte mère PC: General/Percentage (Memory Usage)
2021-07-06 13:49:26.827 Carte mère PC: General/Custom Sensor (Process Usage)
2021-07-06 13:49:33.085 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:49:35.451 RFXCom: Energy (OWL)
2021-07-06 13:49:36.832 Carte mère PC: Temp (Temperature Raspberry)
2021-07-06 13:49:43.069 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:49:47.438 RFXCom: Energy (OWL)
2021-07-06 13:49:53.815 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:49:56.848 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:49:56.881 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:49:56.912 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:49:56.943 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:49:56.975 Carte mère PC: General/Percentage (HDD /boot)
2021-07-06 13:49:56.983 Carte mère PC: General/Percentage (HDD /)
2021-07-06 13:50:03.097 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:50:13.069 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:50:21.986 ConBeeII: (ConBeeII) onMessage called
2021-07-06 13:50:21.987 ConBeeII: (ConBeeII) ### WebSocket Data : {'attr': {'id': '1', 'lastannounced': None, 'lastseen': '2021-07-06T11:50Z', 'manufacturername': 'dresden elektronik', 'modelid': 'ConBee II', 'name': 'Configuration tool 1', 'swversion': '0x26660700', 'type': 'Configuration tool', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}, 'e': 'changed', 'id': '1', 'r': 'lights', 't': 'event', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}
2021-07-06 13:50:21.987 ConBeeII: (ConBeeII) Banned/Ignored device > 1 (lights)
2021-07-06 13:50:23.089 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:50:23.440 RFXCom: Energy (OWL)
2021-07-06 13:50:27.000 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:50:27.045 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:50:27.090 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:50:27.119 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:50:33.057 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:50:35.448 RFXCom: Energy (OWL)
2021-07-06 13:50:43.079 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:50:47.147 Carte mère PC: Temp (Temperature Raspberry)
2021-07-06 13:50:47.162 Carte mère PC: General/Percentage (Memory Usage)
2021-07-06 13:50:47.168 Carte mère PC: General/Custom Sensor (Process Usage)
2021-07-06 13:50:47.441 RFXCom: Energy (OWL)
2021-07-06 13:50:53.056 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:50:57.166 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:50:57.196 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:50:57.227 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:50:57.250 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:50:59.443 RFXCom: Temp + Humidity ()
2021-07-06 13:51:03.074 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:51:13.091 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:51:22.457 ConBeeII: (ConBeeII) onMessage called
2021-07-06 13:51:22.458 ConBeeII: (ConBeeII) ### WebSocket Data : {'attr': {'id': '1', 'lastannounced': None, 'lastseen': '2021-07-06T11:51Z', 'manufacturername': 'dresden elektronik', 'modelid': 'ConBee II', 'name': 'Configuration tool 1', 'swversion': '0x26660700', 'type': 'Configuration tool', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}, 'e': 'changed', 'id': '1', 'r': 'lights', 't': 'event', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}
2021-07-06 13:51:22.459 ConBeeII: (ConBeeII) Banned/Ignored device > 1 (lights)
2021-07-06 13:51:23.060 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:51:23.440 RFXCom: Energy (OWL)
2021-07-06 13:51:27.272 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:51:27.328 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:51:27.373 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:51:27.399 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:51:33.085 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:51:43.052 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:51:47.437 RFXCom: Energy (OWL)
2021-07-06 13:51:53.822 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:51:57.441 Carte mère PC: Temp (Temperature Raspberry)
2021-07-06 13:51:57.469 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:51:57.480 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:51:57.517 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:51:57.549 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:51:59.445 RFXCom: Energy (OWL)
2021-07-06 13:52:01.628 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-07-06 13:52:01.751 Status: LUA: =========== Pollens (v0.1) ===========
2021-07-06 13:52:01.751 Status: LUA: --- --- --- Alert Pollens idx : 1845
2021-07-06 13:52:01.751 Status: LUA: --- --- --- Pollens risque élevé idx : 1844
2021-07-06 13:52:01.751 Status: LUA: --- --- --- Pollens risque moyen idx : 1843
2021-07-06 13:52:01.751 Status: LUA: --- --- --- /usr/bin/curl -m8 "https://www.pollens.fr/risks/thea/counties/57"
2021-07-06 13:52:01.963 Status: LUA: {"countyName":"Moselle","countyNumber":"57","risks":[{"pollenName":"Tilleul","level":0},{"pollenName":"Ambroisies","level":0},{"pollenName":"Olivier","level":0},{"pollenName":"Plantain","level":1},{"pollenName":"Noisetier","level":0},{"pollenName":"Aulne","level":0},{"pollenName":"Armoise","level":0},{"pollenName":"Ch\u00e2taignier","level":0},{"pollenName":"Urticac\u00e9es","level":1},{"pollenName":"Oseille","level":0},{"pollenName":"Gramin\u00e9es","level":4},{"pollenName":"Ch\u00eane","level":0},{"pollenName":"Platane","level":0},{"pollenName":"Bouleau","level":0},{"pollenName":"Charme","level":0},{"pollenName":"Peuplier","level":0},{"pollenName":"Fr\u00eane","level":0},{"pollenName":"Saule","level":0},{"pollenName":"Cupressac\u00e9es","level":0}],"riskLevel":4}
2021-07-06 13:52:01.967 Status: LUA: ##Tilleul--->0
2021-07-06 13:52:01.967 Status: LUA: ##Ambroisies--->0
2021-07-06 13:52:01.967 Status: LUA: ##Olivier--->0
2021-07-06 13:52:01.967 Status: LUA: ##Plantain--->1
2021-07-06 13:52:01.967 Status: LUA: ##Noisetier--->0
2021-07-06 13:52:01.967 Status: LUA: ##Aulne--->0
2021-07-06 13:52:01.967 Status: LUA: ##Armoise--->0
2021-07-06 13:52:01.967 Status: LUA: ##Châtaignier--->0
2021-07-06 13:52:01.967 Status: LUA: ##Urticacées--->1
2021-07-06 13:52:01.967 Status: LUA: ##Oseille--->0
2021-07-06 13:52:01.967 Status: LUA: ##Graminées--->4
2021-07-06 13:52:01.967 Status: LUA: ##Chêne--->0
2021-07-06 13:52:01.967 Status: LUA: ##Platane--->0
2021-07-06 13:52:01.967 Status: LUA: ##Bouleau--->0
2021-07-06 13:52:01.967 Status: LUA: ##Charme--->0
2021-07-06 13:52:01.967 Status: LUA: ##Peuplier--->0
2021-07-06 13:52:01.967 Status: LUA: ##Frêne--->0
2021-07-06 13:52:01.967 Status: LUA: ##Saule--->0
2021-07-06 13:52:01.968 Status: LUA: ##Cupressacées--->0
2021-07-06 13:52:01.968 Status: LUA: pollens risque élevé (>=4) : Graminées
2021-07-06 13:52:01.968 Status: LUA: pollens risque moyen (=3) :
2021-07-06 13:52:01.968 Status: LUA: --- --- --- countyName : Moselle --- --- ---
2021-07-06 13:52:01.968 Status: LUA: --- --- --- riskLevel : 4 --- --- ---
2021-07-06 13:52:01.968 Status: LUA: ========= Fin Pollens (v0.1) =========
2021-07-06 13:52:01.991 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:52:02.474 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:52:02.771 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:52:02.771 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:52:02.805 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:52:02.834 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:52:02.834 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:52:02.834 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:52:02.834 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:52:02.835 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:52:02.836 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:52:02.837 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:52:02.838 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:52:03.058 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:52:07.553 Carte mère PC: General/Percentage (Memory Usage)
2021-07-06 13:52:07.580 Carte mère PC: General/Custom Sensor (Process Usage)
2021-07-06 13:52:11.434 RFXCom: Energy (OWL)
2021-07-06 13:52:11.636 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:52:11.651 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:52:13.083 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:52:22.900 ConBeeII: (ConBeeII) onMessage called
2021-07-06 13:52:22.901 ConBeeII: (ConBeeII) ### WebSocket Data : {'attr': {'id': '1', 'lastannounced': None, 'lastseen': '2021-07-06T11:52Z', 'manufacturername': 'dresden elektronik', 'modelid': 'ConBee II', 'name': 'Configuration tool 1', 'swversion': '0x26660700', 'type': 'Configuration tool', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}, 'e': 'changed', 'id': '1', 'r': 'lights', 't': 'event', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}
2021-07-06 13:52:22.901 ConBeeII: (ConBeeII) Banned/Ignored device > 1 (lights)
2021-07-06 13:52:23.052 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:52:27.570 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:52:27.624 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:52:27.658 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:52:27.678 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:52:33.080 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:52:35.447 RFXCom: Energy (OWL)
2021-07-06 13:52:35.650 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:52:35.666 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:52:43.055 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:52:47.439 RFXCom: Energy (OWL)
2021-07-06 13:52:47.721 Carte mère PC: General/Percentage (HDD /boot)
2021-07-06 13:52:47.736 Carte mère PC: General/Percentage (HDD /)
2021-07-06 13:52:47.691 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:52:47.715 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:52:53.781 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:52:57.746 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:52:57.791 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:52:57.834 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:52:57.859 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:52:59.446 RFXCom: Energy (OWL)
2021-07-06 13:52:59.695 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:52:59.711 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:53:00.389 Status: dzVents: Info: Livebox 1.15: ------ Start external script: script_dzVents_Livebox.lua:, trigger: "every 1 minutes"
2021-07-06 13:53:00.850 Status: dzVents: Info: Livebox 1.15: Wifi 2.4 Ghz : Up
2021-07-06 13:53:00.869 Status: dzVents: Info: Livebox 1.15: Wifi 5 Ghz : Up
2021-07-06 13:53:00.979 Status: dzVents: Info: Livebox 1.15: CallList : 16
2021-07-06 13:53:00.979 Status: dzVents: Info: Livebox 1.15: Dernier Appel : 0387647500
2021-07-06 13:53:00.979 Status: dzVents: Info: Livebox 1.15: Dernier Appel : réussi
2021-07-06 13:53:00.982 Status: dzVents: Info: Livebox 1.15: Appels manqués :
2021-07-06 13:53:00.982 Aucun appel à afficher
2021-07-06 13:53:00.983 Status: dzVents: Info: Livebox 1.15: delai depuis la dernière MAJ du device appels manqués : 200196 minutes
2021-07-06 13:53:00.983 Status: dzVents: Info: Livebox 1.15: Appels sans réponse :
2021-07-06 13:53:00.983 Aucun appel à afficher
2021-07-06 13:53:00.985 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:53:00.985 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:53:00.985 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:53:00.985 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:53:00.985 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:53:00.985 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:53:00.985 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:53:00.985 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:53:00.985 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:53:00.985
2021-07-06 13:53:01.665 Status: dzVents: Info: Livebox 1.15: Version Firmware : SR40_sip-fr-4.01.12.1_7.21.3.1
2021-07-06 13:53:01.667 Status: dzVents: Info: Livebox 1.15: IPTV : true
2021-07-06 13:53:01.668 Status: dzVents: Info: Livebox 1.15: IP WAN : 83.194.46.230
2021-07-06 13:53:01.716 Status: dzVents: Info: Livebox 1.15: ------ Finished script_dzVents_Livebox.lua
2021-07-06 13:53:01.716 Status: dzVents: Info: sun azimuth v1.0: ------ Start external script: script_dzVents_sunAzimuth.lua:, trigger: "every minute"
2021-07-06 13:53:01.716 Status: dzVents: Debug: sun azimuth v1.0: latitude : 49.053253
2021-07-06 13:53:01.716 Status: dzVents: Debug: sun azimuth v1.0: longitude : 6.344672
2021-07-06 13:53:01.824 Status: dzVents: Info: sun azimuth v1.0: solar altitude : 63
2021-07-06 13:53:01.824 Status: dzVents: Info: sun azimuth v1.0: solar azimut : 187
2021-07-06 13:53:01.826 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Altitude du soleil: Custom sensor device adapter
2021-07-06 13:53:01.827 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Azimut du soleil: Custom sensor device adapter
2021-07-06 13:53:01.827 Status: dzVents: Info: sun azimuth v1.0: ------ Finished script_dzVents_sunAzimuth.lua
2021-07-06 13:53:01.828 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua:, trigger: "every minute"
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: url = http://vigilance2019.meteofrance.com/data/NXFR33_LFPW_.xml
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: method = GET
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: post data = nil
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: headers = nil
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: callback = vigilance_meteoFrance
2021-07-06 13:53:01.829 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:53:01.831 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-07-06 13:53:01.978 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:53:02.398 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:53:02.643 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:53:02.643 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:53:02.676 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:53:02.707 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:53:02.708 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:53:02.710 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:53:02.710 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:53:03.058 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:53:07.907 Carte mère PC: Temp (Temperature Raspberry)
2021-07-06 13:53:11.454 RFXCom: Energy (OWL)
2021-07-06 13:53:11.679 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:53:11.694 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:53:13.082 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:53:23.100 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:53:23.400 ConBeeII: (ConBeeII) onMessage called
2021-07-06 13:53:23.401 ConBeeII: (ConBeeII) ### WebSocket Data : {'attr': {'id': '1', 'lastannounced': None, 'lastseen': '2021-07-06T11:53Z', 'manufacturername': 'dresden elektronik', 'modelid': 'ConBee II', 'name': 'Configuration tool 1', 'swversion': '0x26660700', 'type': 'Configuration tool', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}, 'e': 'changed', 'id': '1', 'r': 'lights', 't': 'event', 'uniqueid': '00:21:2e:ff:ff:06:bc:7f-01'}
2021-07-06 13:53:23.401 ConBeeII: (ConBeeII) Banned/Ignored device > 1 (lights)
2021-07-06 13:53:23.444 RFXCom: Energy (OWL)
2021-07-06 13:53:23.681 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:53:23.699 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:53:27.916 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:53:27.954 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:53:27.986 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:53:28.008 Carte mère PC: General/Custom Sensor (Core Clock Speed)
2021-07-06 13:53:28.014 Carte mère PC: General/Percentage (Memory Usage)
2021-07-06 13:53:28.031 Carte mère PC: General/Custom Sensor (Process Usage)
2021-07-06 13:53:33.075 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:53:35.450 RFXCom: Energy (OWL)
2021-07-06 13:53:35.700 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:53:35.715 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:53:43.092 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:53:53.060 ConBeeII: (ConBeeII) onHeartbeat called
2021-07-06 13:53:55.118 Meteo: Temp + Humidity + Baro (Temp + Humidité + Baromètre)
2021-07-06 13:53:55.134 Meteo: Wind (Vent)
2021-07-06 13:53:55.141 Meteo: UV (UV Index)
2021-07-06 13:53:55.153 Meteo: Rain (Pluie)
2021-07-06 13:53:55.160 Meteo: General/Visibility (Visibility)
2021-07-06 13:53:55.166 Meteo: General/Custom Sensor (Ozone Sensor)
2021-07-06 13:53:55.170 Meteo: General/Percentage (Cloud Cover)
2021-07-06 13:53:55.174 météo: Temp + Humidity + Baro (THB)
2021-07-06 13:53:55.178 météo: Wind (Unknown)
2021-07-06 13:53:55.182 météo: UV (UV Index)
2021-07-06 13:53:55.195 météo: Rain (Rain)
2021-07-06 13:53:55.201 météo: General/Visibility (Unknown)
2021-07-06 13:53:55.205 météo: General/Custom Sensor (Ozone Sensor)
2021-07-06 13:53:55.209 météo: General/Percentage (Cloud Cover)
2021-07-06 13:53:58.033 Carte mère PC: General/Percentage (CPU_Usage)
2021-07-06 13:53:58.084 Carte mère PC: General/Custom Sensor (Arm Clock Speed)
2021-07-06 13:53:58.120 Carte mère PC: General/Custom Sensor (V3D Clock Speed)
2021-07-06 13:53:58.145 Carte mère PC: General/Custom Sensor (Core Clock Speed)Code : Tout sélectionner
2021-07-06 13:53:00.985 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:53:00.985 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:53:00.985 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:53:00.985 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:53:00.985 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:53:00.985 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:53:00.985 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:53:00.985 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:53:00.985 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:53:00.985 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:53:00.985
2021-07-06 13:53:01.665 Status: dzVents: Info: Livebox 1.15: Version Firmware : SR40_sip-fr-4.01.12.1_7.21.3.1
2021-07-06 13:53:01.667 Status: dzVents: Info: Livebox 1.15: IPTV : true
2021-07-06 13:53:01.668 Status: dzVents: Info: Livebox 1.15: IP WAN : 83.194.46.230
2021-07-06 13:53:01.716 Status: dzVents: Info: Livebox 1.15: ------ Finished script_dzVents_Livebox.lua
2021-07-06 13:53:01.716 Status: dzVents: Info: sun azimuth v1.0: ------ Start external script: script_dzVents_sunAzimuth.lua:, trigger: "every minute"
2021-07-06 13:53:01.716 Status: dzVents: Debug: sun azimuth v1.0: latitude : 49.053253
2021-07-06 13:53:01.716 Status: dzVents: Debug: sun azimuth v1.0: longitude : 6.344672
2021-07-06 13:53:01.824 Status: dzVents: Info: sun azimuth v1.0: solar altitude : 63
2021-07-06 13:53:01.824 Status: dzVents: Info: sun azimuth v1.0: solar azimut : 187
2021-07-06 13:53:01.826 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Altitude du soleil: Custom sensor device adapter
2021-07-06 13:53:01.827 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Azimut du soleil: Custom sensor device adapter
2021-07-06 13:53:01.827 Status: dzVents: Info: sun azimuth v1.0: ------ Finished script_dzVents_sunAzimuth.lua
2021-07-06 13:53:01.828 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua:, trigger: "every minute"
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: url = http://vigilance2019.meteofrance.com/data/NXFR33_LFPW_.xml
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: method = GET
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: post data = nil
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: headers = nil
2021-07-06 13:53:01.829 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: callback = vigilance_meteoFrance
2021-07-06 13:53:01.829 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:53:01.831 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-07-06 13:53:01.978 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:53:02.398 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:53:02.643 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:53:02.643 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:53:02.676 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:53:02.706 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:53:02.707 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:53:02.708 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:53:02.710 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:53:02.710 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:53:11.679 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:53:11.694 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:53:23.681 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:53:23.699 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:53:35.700 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:53:35.715 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:54:00.382 Status: dzVents: Info: Livebox 1.15: ------ Start external script: script_dzVents_Livebox.lua:, trigger: "every 1 minutes"
2021-07-06 13:54:00.906 Status: dzVents: Info: Livebox 1.15: Wifi 2.4 Ghz : Up
2021-07-06 13:54:00.925 Status: dzVents: Info: Livebox 1.15: Wifi 5 Ghz : Up
2021-07-06 13:54:01.019 Status: dzVents: Info: Livebox 1.15: CallList : 16
2021-07-06 13:54:01.019 Status: dzVents: Info: Livebox 1.15: Dernier Appel : 0387647500
2021-07-06 13:54:01.019 Status: dzVents: Info: Livebox 1.15: Dernier Appel : réussi
2021-07-06 13:54:01.022 Status: dzVents: Info: Livebox 1.15: Appels manqués :
2021-07-06 13:54:01.022 Aucun appel à afficher
2021-07-06 13:54:01.024 Status: dzVents: Info: Livebox 1.15: delai depuis la dernière MAJ du device appels manqués : 200198 minutes
2021-07-06 13:54:01.024 Status: dzVents: Info: Livebox 1.15: Appels sans réponse :
2021-07-06 13:54:01.024 Aucun appel à afficher
2021-07-06 13:54:01.025 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:54:01.025 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:54:01.025 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:54:01.025 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:54:01.025 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:54:01.025 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:54:01.025 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:54:01.025 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:54:01.025 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:54:01.025 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:54:01.025 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:54:01.025 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:54:01.025 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:54:01.025
2021-07-06 13:54:01.630 Status: dzVents: Info: Livebox 1.15: Version Firmware : SR40_sip-fr-4.01.12.1_7.21.3.1
2021-07-06 13:54:01.632 Status: dzVents: Info: Livebox 1.15: IPTV : true
2021-07-06 13:54:01.633 Status: dzVents: Info: Livebox 1.15: IP WAN : 83.194.46.230
2021-07-06 13:54:01.680 Status: dzVents: Info: Livebox 1.15: ------ Finished script_dzVents_Livebox.lua
2021-07-06 13:54:01.681 Status: dzVents: Info: ------ Start external script: script_dzVents_PrevitionMeteo.lua:, trigger: "every 6 minutes"
2021-07-06 13:54:01.681 Status: dzVents: Info: ------ Finished script_dzVents_PrevitionMeteo.lua
2021-07-06 13:54:01.681 Status: dzVents: Info: sun azimuth v1.0: ------ Start external script: script_dzVents_sunAzimuth.lua:, trigger: "every minute"
2021-07-06 13:54:01.681 Status: dzVents: Debug: sun azimuth v1.0: latitude : 49.053253
2021-07-06 13:54:01.681 Status: dzVents: Debug: sun azimuth v1.0: longitude : 6.344672
2021-07-06 13:54:01.791 Status: dzVents: Info: sun azimuth v1.0: solar altitude : 63
2021-07-06 13:54:01.791 Status: dzVents: Info: sun azimuth v1.0: solar azimut : 187
2021-07-06 13:54:01.792 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Altitude du soleil: Custom sensor device adapter
2021-07-06 13:54:01.794 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Azimut du soleil: Custom sensor device adapter
2021-07-06 13:54:01.794 Status: dzVents: Info: sun azimuth v1.0: ------ Finished script_dzVents_sunAzimuth.lua
2021-07-06 13:54:01.794 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua:, trigger: "every minute"
2021-07-06 13:54:01.796 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:54:01.796 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: url = http://vigilance2019.meteofrance.com/data/NXFR33_LFPW_.xml
2021-07-06 13:54:01.796 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: method = GET
2021-07-06 13:54:01.796 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: post data = nil
2021-07-06 13:54:01.796 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: headers = nil
2021-07-06 13:54:01.796 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: callback = vigilance_meteoFrance
2021-07-06 13:54:01.796 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:54:01.798 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-07-06 13:54:01.952 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:54:02.373 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:54:02.688 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:54:02.688 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:54:02.725 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:54:02.756 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:54:02.756 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:54:02.756 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:54:02.756 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:54:02.756 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:54:02.758 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:54:02.759 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:54:02.759 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:54:02.967 Status: dzVents: Info: Handling httpResponse-events for: "prevision-meteo_response"
2021-07-06 13:54:02.967 Status: dzVents: Info: ------ Start external script: script_dzVents_PrevitionMeteo.lua: HTTPResponse: "prevision-meteo_response"
2021-07-06 13:54:03.162 Status: dzVents: Info: ------ Finished script_dzVents_PrevitionMeteo.lua
2021-07-06 13:55:00.493 Status: dzVents: Info: Livebox 1.15: ------ Start external script: script_dzVents_Livebox.lua:, trigger: "every 1 minutes"
2021-07-06 13:55:01.072 Status: dzVents: Info: Livebox 1.15: CallList : 16
2021-07-06 13:55:01.072 Status: dzVents: Info: Livebox 1.15: Dernier Appel : 0387647500
2021-07-06 13:55:01.072 Status: dzVents: Info: Livebox 1.15: Dernier Appel : réussi
2021-07-06 13:55:01.075 Status: dzVents: Info: Livebox 1.15: Appels manqués :
2021-07-06 13:55:01.075 Aucun appel à afficher
2021-07-06 13:55:01.077 Status: dzVents: Info: Livebox 1.15: delai depuis la dernière MAJ du device appels manqués : 200199 minutes
2021-07-06 13:55:01.077 Status: dzVents: Info: Livebox 1.15: Appels sans réponse :
2021-07-06 13:55:01.077 Aucun appel à afficher
2021-07-06 13:55:01.078 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:55:01.078 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:55:01.078 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:55:01.078 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:55:01.078 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:55:01.078 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:55:01.078 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:55:01.078 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:55:01.078 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:55:01.078 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:55:01.078 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:55:01.078 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:55:01.078 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:55:01.078
2021-07-06 13:55:01.772 Status: dzVents: Info: Livebox 1.15: Version Firmware : SR40_sip-fr-4.01.12.1_7.21.3.1
2021-07-06 13:55:01.774 Status: dzVents: Info: Livebox 1.15: IPTV : true
2021-07-06 13:55:01.775 Status: dzVents: Info: Livebox 1.15: IP WAN : 83.194.46.230
2021-07-06 13:55:01.825 Status: dzVents: Info: Livebox 1.15: ------ Finished script_dzVents_Livebox.lua
2021-07-06 13:55:01.825 Status: dzVents: Info: sun azimuth v1.0: ------ Start external script: script_dzVents_sunAzimuth.lua:, trigger: "every minute"
2021-07-06 13:55:01.825 Status: dzVents: Debug: sun azimuth v1.0: latitude : 49.053253
2021-07-06 13:55:01.825 Status: dzVents: Debug: sun azimuth v1.0: longitude : 6.344672
2021-07-06 13:55:01.939 Status: dzVents: Info: sun azimuth v1.0: solar altitude : 63
2021-07-06 13:55:01.940 Status: dzVents: Info: sun azimuth v1.0: solar azimut : 188
2021-07-06 13:55:01.941 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Altitude du soleil: Custom sensor device adapter
2021-07-06 13:55:01.943 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Azimut du soleil: Custom sensor device adapter
2021-07-06 13:55:01.943 Status: dzVents: Info: sun azimuth v1.0: ------ Finished script_dzVents_sunAzimuth.lua
2021-07-06 13:55:01.943 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua:, trigger: "every minute"
2021-07-06 13:55:01.944 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:55:01.944 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: url = http://vigilance2019.meteofrance.com/data/NXFR33_LFPW_.xml
2021-07-06 13:55:01.945 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: method = GET
2021-07-06 13:55:01.945 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: post data = nil
2021-07-06 13:55:01.945 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: headers = nil
2021-07-06 13:55:01.945 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: callback = vigilance_meteoFrance
2021-07-06 13:55:01.945 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:55:01.947 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-07-06 13:55:02.090 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:55:02.483 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:55:02.759 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:55:02.759 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:55:02.794 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:55:02.825 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:55:02.825 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:55:02.825 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:55:02.825 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:55:02.825 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:55:02.827 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:55:02.828 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:55:02.828 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:56:00.430 Status: dzVents: Info: Livebox 1.15: ------ Start external script: script_dzVents_Livebox.lua:, trigger: "every 1 minutes"
2021-07-06 13:56:01.017 Status: dzVents: Info: Livebox 1.15: CallList : 16
2021-07-06 13:56:01.018 Status: dzVents: Info: Livebox 1.15: Dernier Appel : 0387647500
2021-07-06 13:56:01.018 Status: dzVents: Info: Livebox 1.15: Dernier Appel : réussi
2021-07-06 13:56:01.020 Status: dzVents: Info: Livebox 1.15: Appels manqués :
2021-07-06 13:56:01.020 Aucun appel à afficher
2021-07-06 13:56:01.022 Status: dzVents: Info: Livebox 1.15: delai depuis la dernière MAJ du device appels manqués : 200200 minutes
2021-07-06 13:56:01.022 Status: dzVents: Info: Livebox 1.15: Appels sans réponse :
2021-07-06 13:56:01.022 Aucun appel à afficher
2021-07-06 13:56:01.023 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:56:01.023 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:56:01.023 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:56:01.023 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:56:01.023 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:56:01.023 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:56:01.023 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:56:01.023 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:56:01.023 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:56:01.023 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:56:01.023 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:56:01.023 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:56:01.023 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:56:01.023
2021-07-06 13:56:01.728 Status: dzVents: Info: Livebox 1.15: Version Firmware : SR40_sip-fr-4.01.12.1_7.21.3.1
2021-07-06 13:56:01.730 Status: dzVents: Info: Livebox 1.15: IPTV : true
2021-07-06 13:56:01.732 Status: dzVents: Info: Livebox 1.15: IP WAN : 83.194.46.230
2021-07-06 13:56:01.790 Status: dzVents: Info: Livebox 1.15: ------ Finished script_dzVents_Livebox.lua
2021-07-06 13:56:01.790 Status: dzVents: Info: sun azimuth v1.0: ------ Start external script: script_dzVents_sunAzimuth.lua:, trigger: "every minute"
2021-07-06 13:56:01.791 Status: dzVents: Debug: sun azimuth v1.0: latitude : 49.053253
2021-07-06 13:56:01.791 Status: dzVents: Debug: sun azimuth v1.0: longitude : 6.344672
2021-07-06 13:56:01.900 Status: dzVents: Info: sun azimuth v1.0: solar altitude : 63
2021-07-06 13:56:01.900 Status: dzVents: Info: sun azimuth v1.0: solar azimut : 189
2021-07-06 13:56:01.901 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Altitude du soleil: Custom sensor device adapter
2021-07-06 13:56:01.903 Status: dzVents: Debug: sun azimuth v1.0: Processing device-adapter for Azimut du soleil: Custom sensor device adapter
2021-07-06 13:56:01.903 Status: dzVents: Info: sun azimuth v1.0: ------ Finished script_dzVents_sunAzimuth.lua
2021-07-06 13:56:01.903 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua:, trigger: "every minute"
2021-07-06 13:56:01.905 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:56:01.905 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: url = http://vigilance2019.meteofrance.com/data/NXFR33_LFPW_.xml
2021-07-06 13:56:01.905 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: method = GET
2021-07-06 13:56:01.905 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: post data = nil
2021-07-06 13:56:01.905 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: headers = nil
2021-07-06 13:56:01.905 Status: dzVents: Debug: Vigilance météo France v2.06: OpenURL: callback = vigilance_meteoFrance
2021-07-06 13:56:01.905 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:56:01.907 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-07-06 13:56:02.090 Status: LUA: Erreur lors du decodage du fichier JSON dans le script script_time_meteofrance_pluie
2021-07-06 13:56:02.171 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:56:02.593 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:56:02.847 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:56:02.848 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:56:02.881 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:56:02.923 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:56:02.923 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:56:02.923 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:56:02.923 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:56:02.923 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:56:02.925 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:56:02.927 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:56:02.927 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:56:59.687 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:56:59.706 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:57:00.438 Status: dzVents: Info: Livebox 1.15: ------ Start external script: script_dzVents_Livebox.lua:, trigger: "every 1 minutes"
2021-07-06 13:57:00.914 Status: dzVents: Info: Livebox 1.15: Wifi 2.4 Ghz : Up
2021-07-06 13:57:00.936 Status: dzVents: Info: Livebox 1.15: Wifi 5 Ghz : Up
2021-07-06 13:57:01.034 Status: dzVents: Info: Livebox 1.15: CallList : 16
2021-07-06 13:57:01.034 Status: dzVents: Info: Livebox 1.15: Dernier Appel : 0387647500
2021-07-06 13:57:01.034 Status: dzVents: Info: Livebox 1.15: Dernier Appel : réussi
2021-07-06 13:57:01.037 Status: dzVents: Info: Livebox 1.15: Appels manqués :
2021-07-06 13:57:01.037 Aucun appel à afficher
2021-07-06 13:57:01.038 Status: dzVents: Info: Livebox 1.15: delai depuis la dernière MAJ du device appels manqués : 200201 minutes
2021-07-06 13:57:01.038 Status: dzVents: Info: Livebox 1.15: Appels sans réponse :
2021-07-06 13:57:01.038 Aucun appel à afficher
2021-07-06 13:57:01.040 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:57:01.040 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:57:01.040 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:57:01.040 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:57:01.040 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:57:01.040 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:57:01.040 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:57:01.040 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:57:01.040 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:57:01.040 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:57:01.040 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:57:01.040 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:57:01.040 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:57:01.040
2021-07-06 13:57:02.047 Status: LUA: script_time_iss_localisation.lua
2021-07-06 13:57:02.425 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_iss_localisation.lua
2021-07-06 13:57:02.680 Status: dzVents: Info: Handling httpResponse-events for: "vigilance_meteoFrance"
2021-07-06 13:57:02.680 Status: dzVents: Info: Vigilance météo France v2.06: ------ Start external script: scripts_dzVents_vigilanceMeteoFrance.lua: HTTPResponse: "vigilance_meteoFrance"
2021-07-06 13:57:02.715 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Vigilance météo: Alert sensor adapter
2021-07-06 13:57:02.746 Status: dzVents: Debug: Vigilance météo France v2.06: departement : 57
2021-07-06 13:57:02.746 Status: dzVents: Debug: Vigilance météo France v2.06: Couleur vigilance : 2
2021-07-06 13:57:02.746 Status: dzVents: Debug: Vigilance météo France v2.06: 3
2021-07-06 13:57:02.746 Status: dzVents: Debug: Vigilance météo France v2.06: orages,
2021-07-06 13:57:02.747 Status: dzVents: Info: Vigilance météo France v2.06: ------ vigilance 2 orages pour le département 57
2021-07-06 13:57:02.748 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Conseils météo: Alert sensor adapter
2021-07-06 13:57:02.750 Status: dzVents: Debug: Vigilance météo France v2.06: Processing device-adapter for Commentaire météo: Alert sensor adapter
2021-07-06 13:57:02.750 Status: dzVents: Info: Vigilance météo France v2.06: ------ Finished scripts_dzVents_vigilanceMeteoFrance.lua
2021-07-06 13:57:11.700 Status: EventSystem: Script event triggered: Amp
2021-07-06 13:57:11.715 Status: EventSystem: Script event triggered: Electricite
2021-07-06 13:58:00.455 Status: dzVents: Info: Livebox 1.15: ------ Start external script: script_dzVents_Livebox.lua:, trigger: "every 1 minutes"
2021-07-06 13:58:00.920 Status: dzVents: Info: Livebox 1.15: Wifi 2.4 Ghz : Up
2021-07-06 13:58:00.940 Status: dzVents: Info: Livebox 1.15: Wifi 5 Ghz : Up
2021-07-06 13:58:01.047 Status: dzVents: Info: Livebox 1.15: CallList : 16
2021-07-06 13:58:01.047 Status: dzVents: Info: Livebox 1.15: Dernier Appel : 0387647500
2021-07-06 13:58:01.047 Status: dzVents: Info: Livebox 1.15: Dernier Appel : réussi
2021-07-06 13:58:01.050 Status: dzVents: Info: Livebox 1.15: Appels manqués :
2021-07-06 13:58:01.050 Aucun appel à afficher
2021-07-06 13:58:01.051 Status: dzVents: Info: Livebox 1.15: delai depuis la dernière MAJ du device appels manqués : 200202 minutes
2021-07-06 13:58:01.051 Status: dzVents: Info: Livebox 1.15: Appels sans réponse :
2021-07-06 13:58:01.051 Aucun appel à afficher
2021-07-06 13:58:01.053 Status: dzVents: Info: Livebox 1.15: Appels réussis :
2021-07-06 13:58:01.053 0387647500 - 2021-07-05 - 15.0:06:52
2021-07-06 13:58:01.053 0387647714 - 2021-07-01 - 18.0:37:37
2021-07-06 13:58:01.053 0387646924 - 2021-07-01 - 16.0:38:02
2021-07-06 13:58:01.053 0387646924 - 2021-07-01 - 16.0:11:42
2021-07-06 13:58:01.053 Private - 2021-07-01 - 14.0:24:24
2021-07-06 13:58:01.053 0387576237 - 2021-07-01 - 9.0:57:04
2021-07-06 13:58:01.053 0645352401 - 2021-07-01 - 8.0:44:15
2021-07-06 13:58:01.053 0387381492 - 2021-07-01 - 8.0:10:34
2021-07-06 13:58:01.053 0387653333 - 2021-07-01 - 8.0:04:36
2021-07-06 13:58:01.053 0387381492 - 2021-07-01 - 8.0:01:41
2021-07-06 13:58:01.053 0387381492 - 2021-07-01 - 8.0:00:49
2021-07-06 13:58:01.053 0387381492 - 2021-07-01 - 8.0:00:06
2021-07-06 13:58:01.053 et voici mes log ( Erreur )
Code : Tout sélectionner
2021-07-06 13:47:03.715 Error: dzVents: Error: (3.1.7) airQuality v2.0: This should not happen
2021-07-06 13:47:03.715 Error: dzVents: Error: (3.1.7) airQuality v2.0: I will call url again
2021-07-06 13:47:05.644 Error: dzVents: Error: (3.1.7) airQuality v2.0: This should not happen- Pièces jointes
-
- Sans titre 1.png (110.94 Kio) Consulté 4574 fois
Dernière modification par Keros le 06 juil. 2021, 19:27, modifié 1 fois.
Raison : Ajout des balide code pour réduire la place prise par les logs
Raison : Ajout des balide code pour réduire la place prise par les logs
Re: Calcul du coût de l'électricité
On parle dans ce sujet d'un script pour le coût de l'électricité et tu nous montres des erreurs pour quelque choses qui s'appellerait airQuality v2.0
Je te demande les logs pour ton script en particulier, pas tous les logs de DomoticZ : là on est perdu sous la masse d'information et je n'ai pas vu un log en rapport avec ton (ou tes) script de calcul de coût de l'électricité.
Et quand tu as vu tes compteurs se remettre à zéro, tu n'aurais pas eu ce log : Remise à zéro du côut électricité xxxxxxxxx ???
Je te demande les logs pour ton script en particulier, pas tous les logs de DomoticZ : là on est perdu sous la masse d'information et je n'ai pas vu un log en rapport avec ton (ou tes) script de calcul de coût de l'électricité.
Et quand tu as vu tes compteurs se remettre à zéro, tu n'aurais pas eu ce log : Remise à zéro du côut électricité xxxxxxxxx ???
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Re: Calcul du coût de l'électricité
Bonsoir désoler Keros je suis un peux perdu, je n'ai plus erreur sur mes (Coût) j'attend le passage à minuit pour voir si sa ce remet à zéro, j'ai un 2 ème domoticz qui tourne identique, j'ai laisser le mot de passe pour voir.
et non aucun message.
une question sur comment écrire exemple 1986 entre crochet ou pas cela change quoi ?
local nomCompteur = '1986'
local nomCompteur = 1986
et non aucun message.
une question sur comment écrire exemple 1986 entre crochet ou pas cela change quoi ?
local nomCompteur = '1986'
local nomCompteur = 1986
Re: Calcul du coût de l'électricité
Quand tu écris variable = nombre (par exemple 1234), la variable enregistre une valeur de type nombre.
Lorsque tu écris variable ='nombre' (par exemple '1234), la variable enregistre une valeur de type texte.
Mais si tu écrivais variable = texte (sans les guillemets), la variable enregistrerait la valeur d'une autre variable qui s'appellerait texte.
Mais là, on s'éloigne du sujet initial.
Lorsque tu écris variable ='nombre' (par exemple '1234), la variable enregistre une valeur de type texte.
Mais si tu écrivais variable = texte (sans les guillemets), la variable enregistrerait la valeur d'une autre variable qui s'appellerait texte.
Mais là, on s'éloigne du sujet initial.
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Re: Calcul du coût de l'électricité
Bonjour, bon ce matin rien de changer ni dans les log, j'ai créer le code dans /home/pi/domoticz/scripts/dzVents/scripts/
nom du scripts (scrips_dzVents_cout_Electricite_PAC)
voici le code
nom du scripts (scrips_dzVents_cout_Electricite_PAC)
voici le code
Code : Tout sélectionner
--[[ - dzVents_device_coutElectricité_PAC -
]]--
local nomCompteur = '1986' -- Nom/idx compteur consommation électrique - Conso électrique Pompe a chaleur
local nomCout = '1988' -- Nom/idx comteur coût électrique (type compteur RFXmeter/compteur, unité cents d'€) - Coût Pompe à chaleur
local coutkWh = 0.0952 -- Coût du kWh en €
local coutAbonnement = 177.48 -- Coût annuel abonnement en €
local scriptName = 'coutElectricité' -- Nom du script
local scriptVersion = '1.0'
return {
on = {
devices = {
nomCompteur
}
},
logging = {
level = domoticz.LOG_NONE,
marker = scriptName..' v'..scriptVersion
},
execute = function(domoticz, device)
cost = ((device.counterToday * coutkWh) + (coutAbonnement / 365)) * 100 -- coût /kWh + 1/365eme du coût annuel de l'abonnement * 100 (pour l'avoir en cents)
previousCost = domoticz.devices(nomCout).counter -- Compteur coût
if previousCost > cost then -- Compteur journalier remis à zéro
domoticz.log('Remise à zéro du côut électricité, coût '..tostring(cost)..', précédent = '..tostring(previousCost),domoticz.LOG_INFO)
cost = 0 -- Force la valeur mini à zéro, indispensable pour un compteur juste
end
domoticz.devices(nomCout).setValues(nil, tostring(cost))
end
Re: Calcul du coût de l'électricité
Ok, donc il ne se passe rien. Tu as vérifié si ton script se lançait ? Ton compteur change bien de valeur ?
Rajoute une ligne pour afficher quelque chose dans les log. Normalement, à chaque fois que ton compteur change, tu devrais voir la ligne dans les logs.
Rajoute une ligne pour afficher quelque chose dans les log. Normalement, à chaque fois que ton compteur change, tu devrais voir la ligne dans les logs.
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos