Freezer/Fridge OneWire DS18B20 temperature regulation with MySQL data recording and TimeStamp

I would like to present my solution for the control of my fridge / freezer.
Is not perfect, but it works.
The code has been copied together from other examples and adjusted.
Thanks for the help here -> ONEWIRE SUPPORT
Use at your own risk.

Change suggestions are welcome.

Looks good :slight_smile:

The PHP script is vulnable to SQL injection, but if you protect it with a key or something that dont really matter.

About SQL injection I have not though about.
Thanks for the tip.


Can you please post the circuit you used for the one wire as I have a application. I have been using a arduino and have them monitoring but would love to scrap the arduino completely.

Thanks in advance

Rob C \m/

look here