The code was written by the manufacturer of the sensor. The formatting is probably off because I copy and pasted it.
I don't want people to pay for my feed, I just want to use cosm because it allows me to be notified of events, I can view it on my iPhone and I can track the data.
Honestly I'm not on here to be criticized why I'm doing what I'm doing, but because I want to know how to do it.
Hopefully someone is willing to help.
Thank you.