I need a controller based on ESP8266 to do the following:
1- Read the values from LDR,PIR,ON/OFF Switches,Temp. Sensor & Modbus Port then Send them to the webserver via MQTT protocol.
2. receive instructions from the server via MQTT Protocol to switch ON/OFF or to generate a PWM.
3. ESP8266 should first authenticate the webserver then send and receive data as per the following format (Esp no., pin no., action (ON/OFF or PWM), starting time).
please read well the requirements and quote only if you are committed and ready to work.