Sending data to a local web server

A fridge is normally a metal box. That won't let RF signals out. You will need to get the antenna on the outside of the fridge.

Have a look at my temp/humidity/barometer sensors. They use a remote web server, but might give you some ideas.