I have a Raspberry Pi that tells you through web sockets and a sensor the amount of electricity you are spending in real time.
I created an iPhone app as a front-end that basically just paints the info received through the web socket.
Evidently, this does not work when you are not in the same local network and now I am testing different technologies to solve this problem.
First option is a VPN, when when selling this to hundreds of customers, that probably don't have advance technical skills, this will not work.
Second option: Ngrok. I use this for accessing my macmini jenkins outside my office, works really well, however, its price, about 2 or 3 dollars per year, is too much for a IOT device.
Third option: Nabto (www.nabto.com). It seems it is what I need, and only a few cents/pence per year. But, integrating that library in my app is a bit painful.
Does anyone have more ideas about how to solve this problem or libraries/solutions I could use?
By the way, does anyone what technology is used by Philips Hue?