Skip to content

Using one button to toggle another device (approach 1)

You are here:

WARNING!

We recommend to use the second approach to create an one button toggle control as people tend to have issues with the first approach described below.
You can find the article about the second approach here: Using one button to toggle another device (approach 2)
KB: One button to toggle another device: Sonof RF remote
KB: One button to toggle another device: Sonof RF remote

Quite often you will find yourself in a situation where you would like to have the ability where you want to want to use one button to toggle another device between ON and OFF states. The best way to operate a device with 1 button on another device is to use scenes but you will see scenes don’t have a toggle feature (at least at the moment of writing this tutorial at October 23rd, 2020 and eWeLink 4.6.0). How do you solve that issue?

With thanks to the community we created this tutorial. Special thanks to Anuar Ahmad who shared his idea and screenshots on Facebook and allowed us to use his text and images.

This tutorial assumes the button to control the other device with is a RF button. This could be Zigbee button too.

In short

KB: One button to toggle another device: Scene overview
KB: One button to toggle another device: Scene overview

Create the tap-to-perform scenes for on and off

  1. Go to the Scene screen of the eWeLink app and tap the + sign in the upper right corner.
  2. Right below If tap the Add button.
  3. Tap the row Tap to perform.
  4. You wil return to the If / Then screen.
  5. Tap Add right below Then.
  6. Tap Smart Device.
  7. Choose the target device.
  8. Choose the action: ON.
  9. Tap Save in the upper right corner.
  10. Tap Save in the upper right corner again.
  11. Give the scene a name. E.g. “Device on”. In the example on the screenshots of this page “On light 2” is chosen.
  12. Choose an icon if desired.
  13. Tap Save in the upper right corner.
  14. You will return to the Scene overview screen.
  15. Repeat steps 1 to 14 for the OFF command of the target device and at step 11 you need to change “on” into “off” this time.

Create the automated scene to turn the target device on

  1. Go to the Scene screen of the eWeLink app and tap the + sign in the upper right corner.
  2. Right below If tap the Add button.
  3. Tap the row Smart Device.
  4. Choose the target device (in the example in the screenshot on the right the target device is “Light 2”).
  5. Choose OFF.
  6. Tap Save in the upper right corner.
  7. You will return to the If / Then screen.
  8. On the right of the header “If” a blue + sign is shown. Tap that sign.
  9. Tap the row Smart Device.
  10. Choose the device that holds your button. In this example it will be a RF button linked to a RF bridge called “Bridge 2”.
  11. Select the correct button.
  12. Tap Save in the upper right corner.
  13. Tap the line any condition is met.
  14. Tap all conditions are met in the popup at the bottom of the screen.
  15. Tap Add right below Then.
  16. Tap Smart Scenes.
  17. Tap Perform manual scenes.
  18. Choose the scene you created in the chapter “Create the tap-to-perform scenes for on and off” that turns the target device on. In the example on the screenshot on the right it is On light 2. A tick will show up at the right of the name.
  19. Tap Save in the upper right corner.
  20. You will get back to the If / Then screen.
  21. Leave the Effective period at 24 hours.
  22. The result will look like something as displayed on the screenshot on the right.
  23. Tap Save in the upper right corner.
  24. Give the scene a name. E.g. “Turn target device on”.
  25. Tap Save in the upper right corner.
  26. You will return to the Scene overview screen.

The end result will look like the screenshot below. Click a black i symbol to get more information about the refering step of the actionlist at the left of the image.

Step 8
Step 13 & 14
Step 21
Step 25

Create the automated scene to turn the target device off

  1. Go to the Scene screen of the eWeLink app and tap the + sign in the upper right corner.
  2. Right below If tap the Add button.
  3. Tap the row Smart Device.
  4. Choose the target device (in the example in the screenshot on the right the target device is “Light 2”).
  5. Choose ON.
  6. Tap Save in the upper right corner.
  7. You will return to the If / Then screen.
  8. On the right of the header “If” a blue + sign is shown. Tap that sign.
  9. Tap the row Smart Device.
  10. Choose the device that holds your button. In this example it will be a RF button linked to a RF bridge called “Bridge 2”. It should be the same device as chosen in the chapter “Create the automated scene to turn the target device on” above.
  11. Select the correct button. It should be the same button as chosen in the chapter “Create the automated scene to turn the target device on” above.
  12. Tap Save in the upper right corner.
  13. Tap the line any condition is met.
  14. Tap all conditions are met in the popup at the bottom of the screen.
  15. Tap Add right below Then.
  16. Tap Smart Scenes.
  17. Tap Perform manual scenes.
  18. Choose the scene you created in the chapter “Create the tap-to-perform scenes for on and off” that turns the target device off. In the example on the screenshot on the right it is Off light 2. A tick will show up at the right of the name.
  19. Tap Save in the upper right corner.
  20. You will get back to the If / Then screen.
  21. Leave the Effective period at 24 hours.
  22. The result will look like something as displayed on the screenshot on the right.
  23. Tap Save in the upper right corner.
  24. Give the scene a name. E.g. “Turn target device on”.
  25. Tap Save in the upper right corner.
  26. You will return to the Scene overview screen.

The end result will look like the screenshot below. Click a black i symbol to get more information about the refering step of the actionlist at the left of the image.

KB: One button to toggle another device: automated scene: OFF
Step 8
Step 13 & 14
Step 21
Step 25

In case you think there is an error in a Knowledge Base article, there is something missing or when you have an idea for a new Knowledge Base article please contact us on our Contact form!

If you refer to an existing Knowledge Base article please include the link to the article involved!

Table of Contents
%d bloggers like this: