Mike, Your question was how to add temperature data to a mysql dataase.
The gereral algorithm should be: 1. save a list of all temperasture sensors 2. loop every three seconds 3. send a "Skip ROM" then a "convert" 4. wait 1 second 5. read the current temperature from every sensor in your list. 6. place into database (the time stamp should be from the 7. loop again This assumes powered sensors. If you use OWFS, you may want to consider the owphp module. Basically, you initiate the convertion by writing "1" to "/simultaneous/temperature" then loop through all devices reading temperatures. There will be a delay for the first one only. Storing into mysql should be simple with php. The next write to simultaneuous will start a new conversion and delay. I think OWFS will compile with bsd. If you also want to access the sensors from another program or web page, use owserver in between. Paul Alfille >Hi i have been useing a windows app that i have made and am quite >comfortable with that however, > >www.walkersauto.net ( is my app now) > >I love bsd all my web servers i have are bsd the one @ walkersauto.net >is windows i dont care for IIS and the limitations of windows. > >My question for you is how can i poll chips "skip rom" like windows so >all temps come in fast ie under 3 seconds, and go into mysql data base > >system is freebsd 6.0 > apache 2.0 > msql (current version) > php5 > >my goal is just to get chip id and current temp into data base from >there php website should be relitivly easy > >Thank you for any help you can get me ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers