Dnia 08-01-2012 o 01:35:09 Peter Hollenbeck <[email protected]> napisaĆ(a):
Ah. I am beginning to get it. I could run owserver and owhttp on the WRT and access the data from 192.168.1.xxx:nnnn. Correct?
Yes owserver talks directly to the hardware and then you can use many clients to get/present data from it. You can mount 1-wire like a file system to get /mnt/owfs/ds18b20_id/temperature using owfs also you can read it with shell command owread. The owhttp can also get data from owserver this is my /etc/rc.local script on wrt54g mknod /dev/fuse c 10 229 #it's needed if you want to mount 1-wire on 2.4 kernels #kill and umount all in case it's already running killall owserver umount /mnt/owfs sleep 1 owserver -d /dev/tts/1 -p 2485 -a /etc/owfsalias owfs -s 127.0.0.1:2485 -a /etc/owfsalias /mnt/owfs #owfsalias is a file which translates slaves ids to human readable numbers it's optional Now you can log in to the router using ssh and see the 1-wire sensors in /mnt/owfs also the owsever is running so you can also mount owfs on your computer. RRD is a separate project it stands for Round Robin Database it can store all kinds of readings e.g. temperatures. RRD can also create charts. http://oss.oetiker.ch/rrdtool/ I attaches also a script that runs every 2 minutes and gets readings. The comments are in Polish so ask if something is unclear.
I think, Poland. I apologize if I'm wrong.
Yes I'm half way around the world. And I even remember the world how it was without the internet ;-) -- p4trykx
readings
Description: Binary data
------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
