https://github.com/bradymholt/smart-aladdin-bridge
This project allows one or more Genie Aladdin Connect enabled garage doors to be added as devices on the SmartThings platform
https://github.com/bradymholt/smart-aladdin-bridge
garage-door-opener iot nodejs smartthings smartthings-platform
Last synced: 30 days ago
JSON representation
This project allows one or more Genie Aladdin Connect enabled garage doors to be added as devices on the SmartThings platform
- Host: GitHub
- URL: https://github.com/bradymholt/smart-aladdin-bridge
- Owner: bradymholt
- License: mit
- Created: 2020-05-20T20:47:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T13:15:25.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T04:15:10.461Z (3 months ago)
- Topics: garage-door-opener, iot, nodejs, smartthings, smartthings-platform
- Language: JavaScript
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Support: support/jbash.js
Awesome Lists containing this project
README
# raspberrypi-relay-controller
This Node.js application runs on a Raspberry Pi and allows you to control a Relay attached to the GPIO pins using a simple web page.
## Requirements
- Node.js >= 9.9.0
- A user account with sudo access (for deployment)## Setup
1. Run `./run init`. This will install dependencies.
1. Run `./run` to start the server## Deployment
Run `./run deploy username@hostname`. It is assumed _username_ has sudo access on _hostname_.
To see log output on the deployed host, run `sudo journalctl -u raspberrypi-relay-controller`. Add `-f` argument to follow the log.
# SmartThings Setup
## Device Handler Setup
1. Login to [https://graph.api.smartthings.com/](https://graph.api.smartthings.com/)
2. Go to: My Device Handlers > Create New Device Handler > From Code
3. Paste contents of `support/pi-relay-control-device-handler.groovy`
4. Click: Create, Publish > For Me## Device Setup
1. Login to [https://graph.api.smartthings.com/](https://graph.api.smartthings.com/)
2. Go to: My Devices > New Device
3. Specify: Name, Device Network Id (arbitrary), Location, Hub, Type ("Pi Relay Control")
4. Click: Create, Preferences > edit
5. Specify: IP, port, Relay #
6. Click: Save