Please provide me the link from where I can download PIR sensor java/html code.
This should help, i guess
http://icanseedeadcats.com/tag/java/
This would help http://www.esp8266-projects.com/2015/03/esp8266-pir-motion-sensor-detection.html
@rjkrishna73
This would surely help! Regards