This repo contains tools to create a controller for a dryer that can be run using the smartthings Classis app. And, it includes sample openHAB config files for a dryer.
This directory consists of:
- The Simulated Dryer device handler
- A set of openHAB config files (.things, .items and .sitemap) for testing the Smartthings dryer cpabilities
This is a Smartthings "Device Handler" that can be used to control a "Virtual" Simulated dryer. This is useful for testing the openHAB Dryer components.
To use this you will have to first create a virtual Device named simulated dryer.
- Locate SimulatedDryer.groovy file.
- Open it in an editor (Some program you can use to copy the contents to the clipboard)
- Copy the contents to the clipboard
- Using the Smartthings developers tools:
- Select My Device Handlers
- Click on the + Create New Device Handler near the top right
- Click on the From Code tab
- Paste the contents of the clipboard
- Click on the Create button near the bottom left
- Click on Publish -> For Me
- The Device Handler is now ready
These three files are a set of openHAB config files for testing the dryer.
Copy each of the files to the appropriate directory on your openHAB server.
You will need to make the following changes to the DryerTest.things file
- Update the smartthingsIp to match the IP of your smartthings hub
- Update the smartthingsName to match your dryer Device