temperature alarm to smart phone

I want to know feasiblity of my project.
there is a temperature sensor in the ceiling which send to the temp data to my remote web server.
so the sensor requests the web page with its data when the temperature reach certain value.
the home is in wifi service.

What’s need to make this work?
and how much it costs approximatly?

Thank you.