Cela concerne au début sur
Code : Tout sélectionner
commandArray['Variable:VMC_VAR_Histo_Hum2_SDB1'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE1]))
commandArray['Variable:VMC_VAR_Histo_Hum1_SDB1'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE1]))
commandArray['Variable:VMC_VAR_Histo_Hum2_SDB2'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE2]))
commandArray['Variable:VMC_VAR_Histo_Hum1_SDB2'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE2]))
commandArray['Variable:VMC_VAR_Histo_Hum2_SDB1'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE1]))
commandArray['Variable:VMC_VAR_Histo_Hum1_SDB1'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE1]))
commandArray['Variable:VMC_VAR_Histo_Hum2_SDB2'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE2]))
commandArray['Variable:VMC_VAR_Histo_Hum1_SDB2'] = tostring(math.floor(otherdevices_humidity[NOM_CAPTEUR_HUMIDITE2]))et à la fin sur
Code : Tout sélectionner
commandArray['Variable:VMC_VAR_Histo_Hum2_SDB1'] = tostring(math.floor(VMC_VAR_Histo_Hum2_SDB1))
commandArray['Variable:VMC_VAR_Histo_Hum1_SDB1'] = tostring(math.floor(VMC_VAR_Histo_Hum1_SDB1))
commandArray['Variable:VMC_VAR_Histo_Hum2_SDB2'] = tostring(math.floor(VMC_VAR_Histo_Hum2_SDB2))
commandArray['Variable:VMC_VAR_Histo_Hum1_SDB2'] = tostring(math.floor(VMC_VAR_Histo_Hum1_SDB2))