I have a working website that is connected to a raspberry pi and it can control 2 pumps and monitor value of 2 to 3 sensors.
the website is working fine.
I need an android app to do the same function.
For example, if i have turned off pump P1 from raspberry pi, the staus of pump P1 goes off on website, so android app should also show that pump P1 is off. Also, if i turn on a pump P1 from website, the status of pump P1 should be "on" on android app as well. Also, if i turn "off" pump P1 from android app, the status of pump P1 should change to "off" on website too.