I have setup a website using php, where i can change the data the device will retrieve using a certain link. (I can elaborate more on this if anyone is interested)
I have programmed the Arduino that it communicates with soft serial to the esp8266 in AT commands, and that works. For a while at least. If I leave the whole circuit for a time(could be anything from a few minutes to almost a day) somehow it will disconnect and the Arduino needs a reset. (I have spend a very long time in making the most robust code possible).
I have programmed the esp8266 directly using the Arduino IDE, same issue. After a while(be it minutes or hours) it will just disconnect and this time it will need to be re flashed to work again.
I haven't tried NodeMCU yet, at this stage I am just at that level where it is hard to see the point.
Now after investing a LOAD of time into this I am still quite sure that there exist a solution which is reliable and works. So if anyone can help me by pointing me into the direction I need to go, it would be so helpful.