Similar project using GSM communications successfully developed.
The main idea is to have two names/identifiers (and passwords), one for the user and the other for the device. Any unique username is valid, device id is set to the MAC address of the ESP8266.
Two system players: Central Web Server (CWS) and device (Raspberry + ESP 8266).
My proposal:
- On the device
1) Web server. Accepts requests from CWS and reacts accordingly (to be specified!).
2) A specifically developed program shows ESP8266 MAC address. This uniquely identifies the device; it is part of the user profile data in the CWS. Once user enters device password (this information is stored to avoid having to enter it every time) the device connects with the CWS (using device name and password) informing of what is its IP address.
- On the CWS (developed in PHP code that connects to a MySQL database) there are the following web pages:
1) Site home page
2) Register. Here the user selects a username and password, enter his/her personal details (optional), device name and selects device password. All this information is stored in the CWS database
3) Log in. Once logged the user is redirected to the user home page
4) User profile. To change user profile information
5) User home page. Connect with device from here. Can also log out, change profile data, or delete account.
Must clarify what the device must do when a request is received.
Total project bid: 1,000$ (5 working days, 8h/day, 25$/h)