Create a scene to turn on the lights and add 2 triggers selecting the door lock device: the A PIN code is entered event and the A door is locked or unlocked event.
I have a door lock firm Yale and devices Sofit Light. When I create a scene for the door lock and light, everything works (the door opens and light turn on).
but my door lock has the function of the input pin code and open with the key and I have the problem, how to do it. I need when I enter the pin code or when I use door key , the door should open and the light should turn on.
I did what you advised but it did not work, but thanks anyway. mcvflorin
When you created the Trigger, where it asked for the PIN code index number, did you put the PIN code or the PIN code index (for example 1 for the first PIN code in the list, 2 for the second one, etc.)? You must put the index, otherwise it won’t work.
On your advice, I introduced the index (thanks for this information), but the light does not turn on.
maybe we should prescribe Luup-code.
How do you think? mcvflorin
Luup code isn’t required for such a scene. I attached some screenshots with how the scene is supposed to look if created correctly. Does you scene look similar?
Is the scene on the same Vera as the door lock? Try making the scene on the Vera with the door lock first, and if it’s not working, make it on the other Vera.
Best Home Automation shopping experience. Shop at Ezlo!