the temperatue comes when the currents cross the solenoid it will heat it and, it will open " so we want to see which time and temperature make it open !
Solenoids don't "open" they are activated, and I've never heard of one that was activated by heat. And anyway you don't have any components for measuring heat in your parts list.
Do you perhaps mean a thermostat? As in something used to set the temperature for an air-conditioner or a fridge.
Rob