I have some automation projects, and wanted to develop my own app, which would control an arduino. With little research, I realized that there are several tools that create this communication and still get you an app ready, however, I would like to develop my own app. I want to know if there is any API to work with this communication, or if you just send commands via bluetooth or wifi and decipher these commands in the Arduino itself.