Just a shelly user Posted September 21 Share Posted September 21 How can I use an external switch to trigger my Shelly switch. I use a 1pm plus and configured it to switch on and stay on for 5 sec, than switch of. I.e. a button with 5 sec delay. When I use the external switch, I also need those 5sec delay. This is to switch a door lock. It needs to stay switched on for 5sec to open the door. Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Dreckfresse Posted September 21 Share Posted September 21 Dein Empfänger Shelly ist doch bestimmt mit Auto Off 5Sec konfiguriert. also kannst du mit jedem Shelly oder Browser den Empfänger Shelly per HTTP Request An schalten, 5Sec später schaltet der Empfänger aus. teste mit der Richtigen IP einfach das hier in einem Browser http://192.168.178.xxx/relay/0?turn=on Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Heinz Posted September 30 Share Posted September 30 On 9/21/2024 at 6:31 PM, Just a shelly user said: How can I use an external switch to trigger my Shelly switch. I use a 1pm plus and configured it to switch on and stay on for 5 sec, than switch of. I.e. a button with 5 sec delay. When I use the external switch, I also need those 5sec delay. This is to switch a door lock. It needs to stay switched on for 5sec to open the door. Just so I understand Do you want to turn the device on for 5 seconds using an API? as stated above you can set the device to auto-off after 5 seconds automatically every time its turned on. you can then also use that API above to turn on the device. if you want to send the command only via API when you don't have the auto-off setting set then you can use the following API http://<DEVICE_IP>/relay/0?turn=on&timer=5 Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.