
- #Smartthings ct100 smartapp drivers#
- #Smartthings ct100 smartapp full#
- #Smartthings ct100 smartapp code#
- #Smartthings ct100 smartapp mac#
#Smartthings ct100 smartapp full#
#Smartthings ct100 smartapp mac#
#Smartthings ct100 smartapp code#
Testing has only been done so far with ngrok and Mosquitto-based configurations on a Raspberry Pi running Raspberry Pi OS (Linux), although there is nothing inherent in the code that would prevent it from running on other operating environments. The intention is to expand this list to nearly all relevant SmartThings device types, but the speed at which this support is expanded will depend entirely on community interest and priorities. Currently, the following device types are supported: switch, button, contact, motion, presence This SmartApp is still being refined and tested as of July 2022.
#Smartthings ct100 smartapp drivers#
(This is unlike the new Edge device drivers which can run on a local SmartThings hub even when the internet connection is down.) Caveats Although the nodeJS implementation of the SmartApp is running locally, it still is dependent on an internet connection to receive subscribed events from SmartThings. It is intended to run on your own local LAN server, using any available MQTT broker. This SmartApp was developed for the new architecture using the new SmartApp SDK, and implemented as a supported webhook nodeJS application. As a result, all Groovy-based drivers and SmartApps are going to have to be re-written and re-platformed or they will no longer be available. When the transition is completed, any SmartApp needs to be running on its own internet server or AWS. These existing SmartApps were written in Groovy and run on SmartThings servers today.Īs most users know already, SmartThings is kicking off all device drivers and SmartApps from their own infrastructure. There already exist solutions to integrate SmartThings with MQTT, often using some kind of bridge. This SmartApp is intended to be run on a local computer with internet access, but could be modified fairly easily to run on AWS or other cloud server environment. This will work with all SmartThings devices - whether new Edge-based devices, legacy Groovy/DTH-based devices, or cloud-based devices. The message itself simply contains the updated attribute value. The topic used for the message allows message recipients to determine the source device, capability, and attribute. With this SmartApp, users can select SmartThings devices and then for the chosen capability, any state (attribute) changes will be published as an MQTT message. It runs on your local network so there is no need for any additional bridges. This SmartApp provides a mechanism to externalize SmartThings device states using MQTT.
