Sending a fake device event

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

In certain cases you do not want to enter twice the same scene entirely.
Eg: when you disable the alarm, send a fake device motion event, to turn on the lights.

Step 1:
Trigger a device event

Step 2: look inside the core log file, so see this message.
It looks something like:
scene: Message received – 1|zwave|scene|CHECKSCENESEVENT|zwave-15_ON|1458344682927|494abcd26057a6cf69bb1321913917f8
You take everything in this message, before the starting of the range of numbers:
1|zwave|scene|CHECKSCENESEVENT|zwave-15_ON

Step 3: Add a php block inside your scene, that calls the url to trigger this device event:
file_get_contents(“http://your.local.ip:4020/message=1|zwave|scene|CHECKSCENESEVENT|zwave-15_ON”)