Device handler question


#1

I want to understand the flow how the device handler we create in web interface work?

  1. When we create the device handler in the web interface does it on the fly deploy on the hub?
  2. What all the steps we need to perform to access the device handler we create in step 1 in the mobile device, to add the new device to the network

(Jason) #2

For anything to run locally on the v2 hub it needs to be pushed via a firmware update from SmartThings, for the device handler to have a chance at running locally it would need to be officially published by ST.


We don’t have the ability to switch DTH’s on the mobile app.

If you included the device fingerprint in the DTH and published it before adding the device it may auto select that dth, but you should check in the IDE.

For a device that was already added to the network, or if you didn’t add the fingerprint you will need to change th device to the newly created/published device handler(will run on cloud not locally) in the IDE:

  1. In the IDE click device tab
  2. Click on a device
  3. Click edit
  4. Under Device handler find the newly created dth, It should be at the bottomish of the drop down
  5. Click save

Device will pretty much instantly switch over. Depending on the device, sometimes it takes some of the data a minute or a refresh/configure or two to populate.

Hope that helps -


#3

The following thread lists the steps: