I've developed an Android app for my dad for monitoring temperature from a specific room. He wants to be able to see the temperature even when he is not home.
I got working with Amazon IoT and it's pretty great:
- You publish the temperature to the Amazon IoT server
- You forward the result to your app
But I also want a device like this using the same app, so how can I make my android app identify with a specific device? I don't want a login mechanism, I just want to give my dad a digital key and based on that my app will identify which devices are his and subscribe only to that.
What am I thinking is this: generate a key that will be stored on the raspberry and when you send a message to the server append that ID. Similar when using the app it will ask for the key which you should get from a admin.
Is this a good way? or do you now an easier alternative through Amazon IoT?