Aeotec Door / Window Sensor 7 with SmartThings Print
- June 7, 2024
- Aeotec
Table of Contents
This page shows how you can setup your Door / Window Sensor 7 with a custom device handler in SmartThings and forms part of the larger Door / Window Sensor 7 user guide.
Special Thanks to Erocm123 for his configuration code, and SmartThings for the basic contact sensor code.
If you have any feedback, please contact support@aeotec.freshdesk.com.
Version V1.1
- Settings configure upon Wakeup of Sensor
- Parameter 2 details changed to normal state and reverse state of DWS7 output.
Version V1.0
-
Adds tilt sensor status to SmartThings Classic interface
-
Adds preference settings for Parameter 1.
-
Adds preference settings for Parameter 2.
-
-
Installing Device Handler:
Steps
-
Log in to Web IDE and click on the “My Device Types” link on the top menu (login here: https://graph.api.smartthings.com/)
-
Click on “My Locations”
-
Select your SmartThings Home Automation gateway that you want to put the device handler in. (in the image below, my SmartThings gateway is called “Home” , this may be different for you).
-
Select tab “My Device Handlers” (If you correctly performed steps 2 and 3 above, you should be in your gateways home page now).
-
Create a new Device Handler by clicking on “New Device Handler” button in the upper-right corner.
-
Click on “From Code.”
-
Copy the code from the text file found here (Mouse middle-click to open a new tab): https://aeotec.freshdesk.com/helpdesk/attachments/6111533037
-
Open up the .txt file containing the code.
-
Now copy everything highlighted by pressing (CTRL + c)
-
Click on the SmartThings code page and paste all code (CTRL + v)
-
Click on “Save” , then wait for the spinning wheel to disappear before continuing.
-
Click on “Publish” - > “Publish for me”
-
(Optional) You can skip steps 11 – 16 if you pair D/W Sensor 7 after installing the custom device handler. D/W sensor 7 should automatically pair with the new added device handler. If already paired, please continue forward to the following steps.
-
Install it on your D/W sensor 7 by going to “My Devices” page in the IDE
-
Find your D/W sensor 7.
-
Go to the bottom of the page for the current D/W sensor 7 and click on “Edit.”
-
Find the “Type” field and select your device handler. (should be located at the bottom of the list as Aeotec Door Window Sensor 7 Basic).
-
Click on “Update”
-
Save Changes
Configure your Door Window Sensor 7 using SmartThings Connect.
Steps
-
Open up SmartThings Connect app.
-
Remove the cover of the Door Window Sensor 7. (recommended for convenience, in preparation for step 8)
-
Find and open up Door Window Sensor 7 page.
-
Select the more options icon at the top right corner (3 dots).
-
Select “ Settings “.
-
Change the settings based on what you want the Door Window Sensor 7 to do.
- Parameter 1 – Dry Contact Enabled/Disabled
- Allows you to disable magnet sensor and enable dry contact output on terminal 3 and 4.
- Parameter 2 – Sensor State
- Allows you to reverse the state of the DWS7 status output.
-
When done, press the back arrow button located at the top left corner.
-
Now tap the physical tamper switch on the Door Window Sensor 7 to send a wakeup report to SmartThings. (LED on DWS7 should light up once for 1-2 seconds).
The parameter settings will configure when the device sends a wakeup report, so alternatively, you could wait until the next time the Door Window Sensor 7 sends a wakeup report to your hub which is once per a day.
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>