Model: IM6001-MPP04
Protocol: Zigbee
- Set up the SmartThings CLI according to the configuration document.
- Add the Edge Driver plugin to the CLI.
- Configure your development environment for the SmartThingsEdgeDrivers
- A SmartThings hub with firmware version 000.038.000XX or greater and a SmartThings Multipurpose sensor (Zigbee).
Note: Review the installation tutorial in our Developer's Community.
- Compile the driver:
smartthings edge:drivers:package driver/
- Next, create a channel for your driver
smartthings edge:channels:create
- Enroll your driver into the channel
smartthings edge:channels:enroll
- Publish your driver to the channel
smartthings edge:drivers:publish
- If the package was successfully created, you can call the command below and follow the on-screen prompts to install the Driver in your Hub:
smartthings edge:drivers:install
You should see the confirmation message: "Driver {driver-id} installed to Hub {hub-id}"
-
Use your WiFi router or the SmartThings IDE > My Hubs to locate and copy the IP Address for your Hub.
-
From a computer on the same local network as your Hub, open a new terminal window and run the command to get the logs from all the installed drivers.
smartthings edge:drivers:logcat --hub-address=x.x.x.x -a
-
Open the SmartThings App and go to the location where the hub is installed.
-
Go to Add (+) > Device or select Scan Nearby (If you have more than one, select the corresponding Hub as well)
-
Put your device in pairing mode; the specifications will vary by manufacturer (for the SmartThings Multipurpose sensor, press the device’s reset button once).
-
Keep the terminal view open until you see only reporting values messages in the logs.
Example Output
<ZigbeeDevice: device-id [source-id] (Multipurpose Sensor f1)> emitting event: {"attribute_id":"temperature","component_id":"main","state":{"unit":"C","value":28.66},"capability_id":"temperatureMeasurement"}
If your Device paired correctly and the Driver was applied, you should not see any errors in the logs (including "UNSUPPORTED" responses to any Zigbee TX message). You can validate this by opening the SmartThings app and controlling and/or viewing all of the devices Capabilities (e.g., open/close or change the temperature).