Smac sample applications
Web app and android
How to add a adevice
How to delete a device
How to create a group and add devices to the group
How to create a context and add actions and triggers