I recently completed device integration with a fairly complex Particle Photon program that required I send multiple values simultaneously over to the Photon, and be able to receive multiple values back. For anyone else looking to do something more than just an on/off switch or other basic use case with the Particle Photon, Electron, or other similar device, the work I completed on this may save tons of time.
Anyways, here is the finished product, including Particle code and SmartThings device types: GitHub - Here-Be-Dragons/Pool-Controller: Cloud-based pump speed, solar collector controls, and temperature monitoring for your pool with SmartThings and Alexa integration
Here is the front-end on the two device types: