You are not logged in.
Pages: 1
Topic closed
I'm trying to build some kind of online data logger im gonna read data from analog sensors and send to a server and to be able to view the readings on the web and store the data for history graphs is that doable ?? Do i need real ip ??
Thank you
Offline
For reading analog values you can use any rex compatible hardware and now rex will read these analog values and you can write these analog value to mysql database , and from mysql database these values are connected to your website using mysql-php interface. Now dor mysql access you need to have an ip address of server.Or in case you have to make a localhost database.But either you need a ip address again to access via internet.
Offline
Hi mjerjawi,
online data logger with REX is doable. There are many ways how to do that:
1) First one is using your own My-sql database as soxso2011 already mentioned. The disadvantage is that you have to care about the database yourself. The advantage is that the complete solution is in your hands so you are able to do some custom modifications.
2) There are plenty of cloud services for logging data and/or displaying custom dashboards - e.g. Thingspeak.com, Beebotte.com, data.sparkfun.com and many more. They all are more or less using HTTP requests to push data to their databases. This can be done in REX using HTTP function block. Please, investigate ThingSpeakAPI example on our GitHub: https://github.com/rexcontrols/REXexamp … PI_example
In both cases you don't need a real IP address - just internet connection (or local connectivity in your own My-sql database).
Hope the above is useful for you.
If you have any additional questions, let us know.
Regards, Tomas
Offline
And one more solution came to my mind: logging to a text file - see following post.
Regards, Tomas
Offline
Pages: 1
Topic closed