This is very nice, the idea is very cool actually. It is about time that such alarms get broadcasted to different social media as people are spending most of their time on those websites. As for how he did it, I did a small search, I guess her could have done something like
this for the sensor. I guess J4D would have a clearer explanation or idea about it.