

There is custom code from 2015 or so you. Yes, there is a simulated Alexa switch option in the device handler section at the very bottom. Still must create a custom device handle and custom device in the smartthings IDE.

#Smartthings smartapp create simulated device how to#
Congratulations you have created your first app. How to create Virtual SmartThings Switches (no IDE or smartapp required) ST Labs - Android Only & Region Specific. Return back to the browser SmartThings IDE and Select Simulator -> Set the location to your available locations -> Choose your device and you should be able to test toggling on and off your physical device.A quick email to support and they will be able to verify that information. If this doesn’t work you may be on the wrong endpoint as mentioned above. (Android app) If you are unable to see your apps you may need to try and logout of the app and log back in. In SmartThings mobile app select Automations, tap +, select Add SmartApp, select Smart. Once you App is published you can then got the SmartThings App add one of your accessories to the app so your custom code can query and modify the values. Create a Simulated Switch, it will the the master switch for the group.Once you have the code created you can then go ahead and publish it so you can access the app in for your smart accessories.See the bottom of the page for the complete code. These instructions were very helpful in creating the initial app to be able to make API calls.Originally I created an app and was trying to add it the SmartThings app on my phone so I could connect it to my light bulbs but I eventually reached out to SmartThings support who stated I was using the wrong endpoint.įor example I was supposed to be connecting to instead of .

