-->
Page 1 of 2

Log/append text strings to a file on a remote website?

PostPosted: Wed Jan 04, 2017 5:06 pm
by bugs
I have a logging device which sends data to a couple of thingspeak channels.
If there is a data anomaly it sends me an email.
This (usually) works for days without any problems.

There are numerous routine status messages which are verbose ( for examination in the event of a failure) and would exceed the ESP memory in less than a day.
There are no permanently powered PCs in the house but I do have a remote website and dropbox etc.
I would like to log the text messages by appending to a file on a website (or something) but have little web knowledge and at the moment I can't see how to do this using ESP BASIC.
Any suggestions?
I could use a local serial->sdcard solution but don't really want to tie up yet another Arduino to do this.

Re: Log/append text strings to a file on a remote website?

PostPosted: Wed Jan 04, 2017 5:42 pm
by Mmiscool
Take a look at this thread.

It shows a php script on a web server that logs data to a my sql database.

Re: Log/append text strings to a file on a remote website?

PostPosted: Wed Jan 04, 2017 11:24 pm
by heckler
Hi Bugs,

I am trying to do something similar and would love to see how you have implemented this in your code.

Would you be willing to share your code and how you have accomplished this and how you are sending the email alert.

thanks in advance
dwight

Re: Log/append text strings to a file on a remote website?

PostPosted: Thu Jan 05, 2017 10:34 am
by bugs
Mmiscool wrote:Take a look at this thread.

It shows a php script on a web server that logs data to a my sql database.


Ok - I am looking at how to do it that way. Steep learning curve for me - but I will come back with an update later...