
- #PROCESS OF SMARTTHINGS SMARTAPP DEVELOPMENT GENERATOR#
- #PROCESS OF SMARTTHINGS SMARTAPP DEVELOPMENT CODE#
Let us know if you had any issues with the tutorial, so we could improve. Your rule will be visible in 'Automation' tab under 'SmartApps' section In section 'Show message when' choose SmartSense Motion and select LaMetric Time, which will receive a notification.įor the icon let's use Alarm, barking dog as a sound and set this event as very important.Īfter that click 'Save'. So, go to ‘Marketplace’, scroll down to ‘My Apps’ and tap on LaMetric Notifier. Also you can customize them by changing default text, adding icon, sound and set notification priority.Īs an example, let's create a rule to send notification to LaMetric Time when movement is detected. Great, all is setup! Now you can use SmartApps to send notifications to LaMetric. After that application will find your LaMetric Time devices in the network. Tap on LaMetric (connect) and login with your LaMetric Account credentials Open SmartThings app on your phone, select Marketplace, tap SmartApps and scroll down to ‘MyApps’ Do not forget to turn on OAuth2 for this application. Paste your Client ID and Client Secret in LaMetric (Connect) application under Settings section. Go to, open ‘My SmartApps’ and edit LaMetric (Connect) application. Do not forget to enable 'basic' and 'devices_read' permissions.Īfter that, click on your app and obtain your Client ID and Client Secret.
#PROCESS OF SMARTTHINGS SMARTAPP DEVELOPMENT GENERATOR#
You may use this Privacy Policy Generator to create your own Privacy Policy and host it on your site or any file storage cloud service like Google Drive or Dropbox. Also, you will need to provide your Privacy Policy URL. Our smart apps will use LaMetric API to get some additional data, like the list of clock faces.Ĭonnecting LaMetric with SmartThings (OAuth2)įirst of all, you need to create a Notification App at. We need to connect LaMetric and SmartThings ecosystems. Now, when device handler and smart apps are ready, one last step is left. Let's repeat steps 3-4 from previous section but this time, use LaMetric Notifier source code. This smart app is responsible for handling events and sending notifications to LaMetric Time devices.
#PROCESS OF SMARTTHINGS SMARTAPP DEVELOPMENT CODE#
Select ‘From Code’ tab, paste the code and press ‘Create’. Lets create one.Ĭhoose ‘My SmartApps’ section and press ‘New SmartApp’ button. This smart app is responsible for discovering your LaMetric Time devices in the local network. Now we are ready to create some SmartApps. Select ‘From Code’ tab, paste the code and press ‘Create’ button.Īfter that you will able to see newly created device handler in ‘My Device Handlers’ menu. Device HandlerĬhoose ‘My Device Handlers’ menu item and then click on ‘Create New Device Handler’ button. So, let's get started by creating device handler.

LaMetric Notifier smart app, that will send notifications to your smart clock when something happens.LaMetric (Connect) smart app, that will discover your LaMetric Time devices inside your network.

Or write custom code to integrate any app or API in seconds.

If you’re using HomeAssistant, please don’t judge me :) I decided to go with SmartThings because there is a good balance of easy to use and extensibility. Hello, fellow home automation enthusiasts!įor the last couple of months I’ve been setting up my smart home.
