ST-Monoprice-Dual-Relay-Module | SmartThings device type and SmartApp for the Monoprice
kandi X-RAY | ST-Monoprice-Dual-Relay-Module Summary
kandi X-RAY | ST-Monoprice-Dual-Relay-Module Summary
ST-Monoprice-Dual-Relay-Module is a Groovy library. ST-Monoprice-Dual-Relay-Module has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
SmartThings device type and SmartApp for the Monoprice 11990 Dual Relay Adapter
SmartThings device type and SmartApp for the Monoprice 11990 Dual Relay Adapter
Support
Quality
Security
License
Reuse
Support
ST-Monoprice-Dual-Relay-Module has a low active ecosystem.
It has 17 star(s) with 23 fork(s). There are 9 watchers for this library.
It had no major release in the last 6 months.
There are 2 open issues and 3 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of ST-Monoprice-Dual-Relay-Module is current.
Quality
ST-Monoprice-Dual-Relay-Module has no bugs reported.
Security
ST-Monoprice-Dual-Relay-Module has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
ST-Monoprice-Dual-Relay-Module does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
ST-Monoprice-Dual-Relay-Module releases are not available. You will need to build from source code and install.
Installation instructions are available. Examples and code snippets are not available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ST-Monoprice-Dual-Relay-Module
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ST-Monoprice-Dual-Relay-Module
ST-Monoprice-Dual-Relay-Module Key Features
No Key Features are available at this moment for ST-Monoprice-Dual-Relay-Module.
ST-Monoprice-Dual-Relay-Module Examples and Code Snippets
No Code Snippets are available at this moment for ST-Monoprice-Dual-Relay-Module.
Community Discussions
No Community Discussions are available at this moment for ST-Monoprice-Dual-Relay-Module.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ST-Monoprice-Dual-Relay-Module
First, we need to install the custom device type into your SmartThings account. Don't worry, this won't hurt a bit.
Go ahead and install the module, and let SmartThings set it up as a "Z-Wave Device Multichannel".
Copy the code from monoprice-11990-dual-relay-module.groovy into your clipboard.
Log into your developer account at https://graph.api.smartthings.com/ You can sign up for a new account if you don't already have one. This site is referred to as "the IDE" from here out.
Click "My Device Types", then "New Device Type", then click the "From Code" tab.
Paste in the code you copied to your clipboard, and click the "Create" button.
From the resulting page, click the "Save" button, then click the "Publish" button, and click "For Me" from the dropdown.
You've now installed the custom device type, now you need to associate it with your Monoprice relay.
SmartThings doesn't really allow you to interact with the individual switches on a multichannel device very well. So, we'll be creating two "virtual switches". These virtual switches will look like a normal on/off switch to the SmartThings app, but in reality will just be associated to one of the two switches on our relay. Congratulations, you've done it!!! You can now assign your virtual switches to a room, and toggle them on and off just like normal light switches. They can be used in other SmartApps and Routines, just like any other on/off switch.
From the IDE, click "My Devices", and click the "New Device" button.
In the "Name" field, add whatever you want this switch to be called, ie "Front Porch Light"
Leave "Label" and "Zigbee Id" blank.
For "Device ID", pick an ID that you haven't used before. I recommend using a UUID for this purpose.
Under "Type", select "Simulated Switch" from the dropdown.
Under "Version", select "Published".
Pick the correct values for your setup under "Location" and "Hub".
Leave "Group" blank.
Repeat steps 1-8 for your 2nd switch
Copy the code from dual-relay-adapter.groovy into your clipboard.
From the IDE, click "My SmartApps", then "New SmartApp", then click the "From Code" tab.
Paste in the code you copied to your clipboard, and click the "Create" button.
From the resulting page, click the "Save" button, then click the "Publish" button, and click "For Me" from the dropdown.
You've now installed the SmartApp to your account, now to set it up!
Now, grab your phone, and open up the SmartThings app.
Touch the "Marketplace" icon in the lower right of the app -- it looks like an asterisk.
Touch the "SmartApps" tab at the top of the page.
Touch "My Apps", it's at the bottom of the list.
Touch "Dual Relay Adapter".
You'll be prompted with the question "Which Dual Relay Module?". Here, select whatever you named your relay (the one with two switches).
For the "Virtual Switch to link to Switch 1?" and "Virtual Switch to link to Switch 2?" questions, just pick the virtual switches that we created above.
Assign this instance of the SmartApp a name.
Touch "Done"
Go ahead and install the module, and let SmartThings set it up as a "Z-Wave Device Multichannel".
Copy the code from monoprice-11990-dual-relay-module.groovy into your clipboard.
Log into your developer account at https://graph.api.smartthings.com/ You can sign up for a new account if you don't already have one. This site is referred to as "the IDE" from here out.
Click "My Device Types", then "New Device Type", then click the "From Code" tab.
Paste in the code you copied to your clipboard, and click the "Create" button.
From the resulting page, click the "Save" button, then click the "Publish" button, and click "For Me" from the dropdown.
You've now installed the custom device type, now you need to associate it with your Monoprice relay.
SmartThings doesn't really allow you to interact with the individual switches on a multichannel device very well. So, we'll be creating two "virtual switches". These virtual switches will look like a normal on/off switch to the SmartThings app, but in reality will just be associated to one of the two switches on our relay. Congratulations, you've done it!!! You can now assign your virtual switches to a room, and toggle them on and off just like normal light switches. They can be used in other SmartApps and Routines, just like any other on/off switch.
From the IDE, click "My Devices", and click the "New Device" button.
In the "Name" field, add whatever you want this switch to be called, ie "Front Porch Light"
Leave "Label" and "Zigbee Id" blank.
For "Device ID", pick an ID that you haven't used before. I recommend using a UUID for this purpose.
Under "Type", select "Simulated Switch" from the dropdown.
Under "Version", select "Published".
Pick the correct values for your setup under "Location" and "Hub".
Leave "Group" blank.
Repeat steps 1-8 for your 2nd switch
Copy the code from dual-relay-adapter.groovy into your clipboard.
From the IDE, click "My SmartApps", then "New SmartApp", then click the "From Code" tab.
Paste in the code you copied to your clipboard, and click the "Create" button.
From the resulting page, click the "Save" button, then click the "Publish" button, and click "For Me" from the dropdown.
You've now installed the SmartApp to your account, now to set it up!
Now, grab your phone, and open up the SmartThings app.
Touch the "Marketplace" icon in the lower right of the app -- it looks like an asterisk.
Touch the "SmartApps" tab at the top of the page.
Touch "My Apps", it's at the bottom of the list.
Touch "Dual Relay Adapter".
You'll be prompted with the question "Which Dual Relay Module?". Here, select whatever you named your relay (the one with two switches).
For the "Virtual Switch to link to Switch 1?" and "Virtual Switch to link to Switch 2?" questions, just pick the virtual switches that we created above.
Assign this instance of the SmartApp a name.
Touch "Done"
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page