control over network
Posted: Sun Feb 15, 2015 8:45 am
Hello,
I want to control my arduino over the internet. My first idea was to have a notepad on a server (have one for my website), then with arduino and esp8266 I read the information (eg. which led to turn on) in that notepad (which is changed with php).
For now I have tested it and it kinda work, but the problem is that it takes too long to link, the esp8266 unlinks from the website when it opens the notepad (after GET request ), and then it takes about 8 sec. to link again to the website and read the notepad. My question is, can I somehow change the commands so that it doesnt unlink from the website , or I cant do that? I have read somewhere that it unlinks when there is no more data to receive, can I make something on the server side that it always sends that notepad once it is requested?
Or maybe there is some better way to control over internet, I saw that the esp could be a server but then I couldn't have a fancy looking website or could I ?
I am not a pro and have some basic knowelage about all that networking.
Thank you.
I want to control my arduino over the internet. My first idea was to have a notepad on a server (have one for my website), then with arduino and esp8266 I read the information (eg. which led to turn on) in that notepad (which is changed with php).
For now I have tested it and it kinda work, but the problem is that it takes too long to link, the esp8266 unlinks from the website when it opens the notepad (after GET request ), and then it takes about 8 sec. to link again to the website and read the notepad. My question is, can I somehow change the commands so that it doesnt unlink from the website , or I cant do that? I have read somewhere that it unlinks when there is no more data to receive, can I make something on the server side that it always sends that notepad once it is requested?
Or maybe there is some better way to control over internet, I saw that the esp could be a server but then I couldn't have a fancy looking website or could I ?
I am not a pro and have some basic knowelage about all that networking.
Thank you.