NAS - Show data from devices - how to do

Hi all of you!

I would like some input to how to do a setup like this:

NAS server - python - webhost - php - socket - tcp - telnet - ftp - ajax

Raspberry pi - python

Arduino with ethernet - telnet - ???

I need a proper way (any communications form) to monitor my devices on the web.

I have done a project with my arduino but it can not capate the service of showing the data because I almost ran out of memory.

Therefore I decited to ask you how would you do a setup to display several devices on my nas server.

btw.
I am sorry if it ran out of categori...

Please let me know how you would do it

/jokerper

What do you mean by "monitor" your devices ? Simply regularly sending each one a (icmp) PING or TELNET on port 80 (or whatever, if anything, they respond to) to see if these devices are alive at the IP level ?
What solution did you attempt in the code you say you've already written?

Okay yeah I see.

I have been followed the great tutorial on how to use ajax javascript webserver on startingelectronic.com.

Have have set it up a lot of times but I keep running into mem problems. Therefore I desited to go with my nas server to show:

Status on different devices on my webpage. Like temperature and pins status and so on. It works pretty cool but as you know arduino can only handle one process at time. That why I would use my NAS server or raspberry to host the web page and get the result from other devices.

I need to know which communication type I should go for I think something like python tcp.
My layout can maybe tell a little. attached.

ardforside.png

I have been searching and find that udp is a way along with some jQuery ajax.

But I miss ur way to do things like that, no answers.

I found techboy's video 16 about python and arduino (pretty cool) helped me alot. But I am still dealing with endup solution.

Now I can ask for data (arduino/raspberry) and make the connection and get result back.

So right now I need some help to get it into my web page via jQuery/ajax and php. If you would like to give me some advice/help.

It became a very big solution.

SETUP:
webpage load onready start get latest file (latest.txt or xml) read into innerHTML.

Please, I am getting stuck in this, my head is nearly blowing off.

Well, the web page in post #2 has nice colours but is otherwise almost unreadable.
I think, however, I could see the equivalent of Temperature and Humididy.

Anyway, let us take one example of temperature.
You have a Web server running on a NAS or Raspberry Pi and you want to display temperature on a Web page hosted by that web server. Is that correct ?
Somewhere, you must have a network connected device which is capable of measuring temperature.

There are a number of possible solutions depending on the functionality of the device which measures temperature.

(1) If the device is capable of running a Web client, simply regularly post (using http GET or POST) the temperature to the web server. The web server must have pre-prepared web page which takes this temperature data and stores it somewhere (e.g. a database), so it can be displayed to users who access the temperature page on the web server.

(2) more complex solutions exist if the device measuring the temperature can run some sort of server application (e.g. web server) so it can respond to commands to send temperature data on demand. You have already mentioned names of some technologies including some which could be relevant.

Would the temperature measuring device be based on some sort of Arduino ?

Hi

I have it almost up and run.

Take a look at my lovely layout full-size in action.

I am testing right now.