Mr. Gus,
There might be the problem that the temperature of the room varies considerably from floor to ceiling - especially if you are in an upstairs bedroom.
So, whatever temperature sensor you use, needs to be located at the right height, and preferably not adjacent to a wall that has been bathed in sunlight all day and is therfore warm.
It would be perfectly possible to have a small battery powered wireless temperature sensor that sends a signal to a remote controlled plug. In fact, last year I hacked a Lidls wireless plug, so that it could be turned on and off remtely via the internet - so the kit is out there and its cheap.
If it is specifically a bedroom you wish to cool, it would be better to have a retrofit blower fan in a window frame, that is clipped onto an existing opening light.
This would extract the hot air from ceiling level and replace it with cooler night air from outside. Have it running on a photosensor so it starts after dusk, and continues until the room is comfortable.
In general in the UK there are only a few days of the year when indoor temperatures become unbearable. Perhaps this is due to poor insulation, lack of window blinds or window sun awnings.
I remember as a kid in the 60s - every High St shop had a sun awning when they were on the south facing side of the street, to keep the high summer sun off the produce and goods in the window.
But I agree that fans are a cost effective way of providing cooling, by air replacement or just providing a cooling breeze. A 40W fan can go a long way to providing comfort compared to a 3kW airconditioning unit - and is well within the capabilities of being powered by a couple of pV panels and a small inverter/battery system.
Perhaps a combined flexible solar pV awning and solar fan for shading those south and south west facing windows? Perhaps a venetian or roller blind made from pV strips? The Evergreen Solar "String Ribbon" technology pV would be ideal for incorporating into blinds - and use a small motor to track the azimuth of the blind to that of the sun.
http://www.evergreensolar.com/app/en/home/Ken