The use of the ESP8266 in the world of IoT

User avatar
By Ercan Balbay
#58504 Hi;
I am developing iot device for smart plant growing which monitor mositure,temperature and light intensity and control watering relay for time periods. I heva developed hardware side with arduino and esp8266 base. But i want to control device over internet.

My need is ;
- Device will be sell to different users in the world.
- Users connect to device with their mobile devices and enter wifi ssis and password(with wifi manager)
- Than they will sign up our database and send sensor values and receive commands from web server.
- They will show their sensor values and control relays over browser.
- Communication will be mqtt with mosquitto mqtt, not decided yet.

For backend Nodejs is ok and database will be mongodb. But i couldn't understand how every member will be sign in to database with different device ids. Is there any example/templete or reading suggestion ?

Thank you.