The Hubitat SmartThings Integration is a pair of apps that allow devices in a SmartThings system to report their events to Hubitat. This allows for integrating the two systems during migration from SmartThings to Hubitat, or as needed for devices that only work in SmartThings, while the primary system is Hubitat.
The first app is called Hub Link, and is a built-in app in Hubitat. The second app is called Send Hub Events, and is to be installed in the SmartThings system.
The steps to install and activate the SmartThings Integration are as follows:
Install Hub Link in your Hubitat system and enter the IP address of your SmartThings hub. The IP address of the SmartThings hub can be found in the SmartThings IDE under My Hubs. The SmartThings hub and the Hubitat Elevation Hub must be on the same lan (and same subnetwork if applicable).
Install the Send Hub Events SmartApp in the SmartThings system, by copying the source code from this Github location below (click on the Raw button, then select all and copy). Enter the IP address of your Hubitat Elevation Hub. The IP address of you Hubitat Elevation Hub can be found on the Settings page.
Select the devices in your SmartThings system that you want to appear in your Hubitat system. These will primarily be sensor devices. If you need more than one attribute of a sensor in Hubitat, you can use the Omni Sensor selection to select devices that report multiple attributes. When you hit Save for the SmartApp in the ST mobile app, Send Hub Events will send your device selections to Hubitat. Hub Link will create virtual devices for each SmartThing device with the same name as in SmartThings. You can edit the name in Hubitat if you want, but do not edit the Device Network Id, as this is the means by which the two systems identify the device. After you hit Save for the SmartApp, the events for the selected devices will happen in Hubitat for the shadow virtual devices. The virtual devices can by used in Rule Machine or other automations as needed in your Hubitat System.
This is a one way integration. Events that happen in SmartThings are sent to Hubitat. Events that happen in Hubitat are not sent to SmartThings. If you manipulate the virtual shadow device in Hubitat, no corresponding action will occur in SmartThings.
If you remove one of the selected devices in SmartThings, the shadow virtual device in Hubitat will still exist, but will no longer do anything. You will have to remove it manually in Hubitat. Similarly, if you de-select one of the selected devices in SmartThings, the shadow virtual device in Hubitat will have to be manually removed. If you remove a virtual shadow device in Hubitat, that has no effect on SmartThings, and you should de-select the device from Send Hub Events. If you remove Hub Link, it will attempt to remove all of the created virtual devices. This may fail if any of those devices are still in use in apps in Hubitat.