This is 98% of what your want, already done for you. Just change the RS-232 commands to match your old lighting system and you’ll be there. I did not write it, but I helped the guy who did with getting started on the Arduino/ThingShield code. He made the Arduino code very simple - just a passthrough device between ST and the RS-232 shield. Note: You’ll want to use an Arduino MEGA 2560 along with my “SmartThings” ThingShield library (which is needed to support the extra HW UARTs on the MEGA 2560 for serial comms.)
Hi guys this is exactly what i have been looking for
Problem is that the ‘SmartThings Arduino shield’ is not available in the UK yet, would anyone be willing to ship one out to me? I will pay via PayPal in advance for all costs, it would really appreciate that.
The Thing Shield is currently out of stock in US and has been in and out of stock all summer. What’s interesting is it no longer appears on their Shop website either, previously it was there just showing out of stock. I hope SmartThings isn’t abandoning it!
Thanks for writing in. Unfortunately, we’re no longer selling the SmartThings Shield, and have yet to locate a suitable alternative that we can recommend. Please let me know if there is anything else I can answer for you!
Oh and Sony has a skunk works project called Mesh which is really interesting. It’s a bunch of Bluetooth tags, and one of them is a GPIO. The development kit runs on your phone or tablet. And from there you can get to IFTTT.
Again it will substitute for some use cases, not others.
Not 100% sure, but I think on an android device you could combine this with Tasker and SharpTools and stay local.
In addition to what JD has posted above, there are many other methods which have been explored in other community discussions. For example, you could use an ESP8266 board (~$10) which can be programmed via the Arduino IDE and has built-in WiFi. This could then be connected to the ST cloud via the Hub as shown in this discussion:
Others have implemented cloud-to-cloud integration via IFTTT or Particle.
Still others have tackled full bi-directional Ethernet communications via the hub, as show in:
At this point, I am not sure why one wouldn’t simply run an OAUTH SmartApp that exposes everything you want from the ST Cloud (including virtual devices that represent the physical devices attached to your local Arduino, Raspberry Pi, ESP8266, etc…) Then you simply have your micro-controller update everything bi-directionally.
Once upon a time, we were promised local control on the v2 Hub for our own custom code. A year+ later, and the Bluetooth and USB are still not enabled. I’ve given up hope for having the ability to run my own local code on the hub. Therefore, it is probably just best to bypass the local hub and talk directly to the ST cloud from your own device.
Very sad to hear ST has discontinued the ThingShield. This was one of the major reasons I chose the ST platform.
I bought a Thingshield at the beginning of the year (when I first saw this thread), knowing I’d end up putting it into storage for some months while moving house. I’m now ready to get this setup, but it seems dangerous to implement something that a) can’t be replaced if it fails, and b) relies on code that there’s dwindling demand for.
What I think is crazy is that this is not being spoken that much in the main forum. I would think that everyone would be up in arms with this. Am I missing something. Many projects like this will cease to exist without this board.