je bute sur un script contacteur ouverture reconnu par RFX433 avec deux états : Alarme et en mouvement .
j'ai essayé avec Open , on, Off rien à faire .
Mon script :
Code : Tout sélectionner
---- carillon sur ouverture0
if stateChange('ouverture0') == "Alarm"
then
commandArray['carillon'] = "On"
log("Chalet ouvert")
end
2019-05-08 17:16:27 Motion
2019-05-08 17:13:44 Alarm
2019-05-08 17:13:41 Motion
2019-05-08 17:13:40 Alarm
log domoticz:
2019-05-08 17:13:40.439 (RFXTRX433) Security (ouverture0)
2019-05-08 17:13:41.720 (RFXTRX433) Security (ouverture0)
2019-05-08 17:13:44.138 (RFXTRX433) Security (ouverture0)
2019-05-08 17:16:27.901 (RFXTRX433) Security (ouverture0)
Merci pour votre aide