My ambition is to create a wireless sensor network to monitor temperature in a large facility. Right now I'm thinking of using CoAP to GET the temperatures from each sensor node, either from a CoAP client anywhere on the internet or possibly through a http-coap proxy (see attached picture)
I'm running the cc26xx-web-demo on a bunch of CC2650 Sensortags now. I also have a 6lbr border router up and running. I'm I correct in assuming that I can access my Sensortag CoAP servers from anywhere on the internet? I.e. ping the "aaaa::................." address of each of my sensortags (as long as I'm/my constrained network & 6lbr router is not behind a firewall blocking port 5683)? The aaaa:: address issued by the 6lbr border router is globally unique?
For low power purposes it would perhaps be better to do something like the very-sleepy-demo, with an observable resource instead of manually GETting the temperature at regular intervals? Can my CoAP client/server on the internet observe several CoAP servers at the same time? Is it possible to observe resources through a http-coap proxy?
Are there any examples of http-coap proxies with contiki coap on cc2650?
As you can tell I'm quite confused by the possibilities, and I'm not sure of where to start.
Is this even a good way to get temperatures from a wireless sensor network to a server on the internet? Is MQTT a better alternative?
Please point me in the right direction, link examples etc. How do I even get started writing my own applications instead of just running the different cc26xx-demos?