The temperature web server that I put together on this post:
is just not stable. I've tried everything I can think of, looked at and tweaked the code. It just runs for an hour or two then stops answering web service requests.
It seems I'm not alone:
Perhaps the maintainers will fix this eventually. For now, I guess I'm going to program using Arduino, which is a bit messier but will hopefully be stable.