Jump to content
NOTICE / HINWEIS: iOS 18 Update and Today Widgets ×

Switch to steer Shelly


Recommended Posts

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. 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 2 weeks later...
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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...