Visual Basic Controller


#1

Is there any way I can create a visual basic program that integrates with the Smartthings devices? I’m looking to mount a touch screen on the wall to offer a customized control of the house, speakers, etc. Can anyone point me in the right direction? Or maybe someone even has some sample code they can share?

Thanks in advance!


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #2

I’m not sure if you will consider this the “right direction”, but hopefully it’s a helpful suggestion.

The ActiON Dashboard application (by @625alex) is currently fully Open Source (so you can see all the code it uses), and implements what you describe, but it runs under any HTML5 web browser, rather than as a Visual BASIC program.

As such, it has all the “pieces” you need to learn in order to build a similar system in the language or platform of your choice – or maybe you’ll find that his application meets your requirements as is, or can be tweaked in-place.


(Joe) #3

I’m using asp.net web forms for my rule engine. All of the server side code is in C#, but I think VB could be used as well. You could do something similar using a SmartApp to expose SmartThings API endpoints and VB code on your end to receive data/send commands.

Link to the relevant documentation for calling web services: http://docs.smartthings.com/en/latest/smartapp-developers-guide/calling-web-services-in-smartapps.html?highlight=httppostjson

Link to my rule engine post if you’d like more info on that: