Thanks a lot for your comments. Just to brief you about it, I am planning split this in certain steps as below, 1 ] Set up web server on Raspberry Pi. 2 ] Make settings in a way that, if I will ping some IP from my android phone, it should give me two buttons ON/OFF. 3 ] Next step is to read status ...