@@ -0,0 +1,829 @@
+# I only modified the lines 18, 19 and 20. Source: fpaez.com/enviar-notificaciones-push-con-raspberry-pi/%0Aimport urllib2%0Aimport json%0Aimport sys %0A%0Adef sendNotification(token, channel, message):%0A        data = %7B%0A                %22body%22 : message,%0A                %22message_type%22 : %22text/plain%22%0A        %7D%0A%0A        req = urllib2.Request('http://api.pushetta.com/api/pushes/%7B0%7D/'.format(channel))%0A        req.add_header('Content-Type', 'application/json')%0A        req.add_header('Authorization', 'Token %7B0%7D'.format(token))%0A%0A        response = urllib2.urlopen(req, json.dumps(data))%0A# Source for the following: http://stackoverflow.com/questions/4429966/how-to-make-a-python-script-pipeable-in-bash%0Aif __name__ == %22__main__%22: %0A    for line in sys.stdin:%0A        sendNotification(%2276543keykeykeykeykeykeykey28765465%22, %22Stairs PIR%22, line)%0A

Create pushetta_notification.py