How to have sensor input data into Raspberry Pi and display the responses into smartphone?

I want to create a project which allows feedback from the sensors is sent to the smartphone via internet (cloud). for example, using a PIR sensor for detecting movement of people, if human movement is detected, the display on the phone application will display the Yes (Green) and vice versa. I'll build the application using MIT App Inventor for Android. I also use the Raspberry Pi.

Picture of How to have sensor input data into Raspberry Pi and display the responses into smartphone?
rickharris1 year ago