Hi,
I would like to lower the temperature of my freshwater tank at night. The idea was to turn off the heaters between 22:00-6:00 whenever the temperature is higher than the allowed temperature and turn them on again if it's under a certain limit. My problems:
1. how can I read the temperature of a probe in the code?
2. What value do I get for e.g. 30.5 °C? Probably 305?
3. Do I need some conversion between °F and °C or do I get the values according to SetTemperatureUnit?
cheers,
Christian
Lowering temperature at night
Re: Lowering temperature at night
I always find the answer just after posting
1) ReefAngel.Params.Temp[T1_PROBE] seems to do the job.
But 2. and 3.?
cheers,
Christian
1) ReefAngel.Params.Temp[T1_PROBE] seems to do the job.
But 2. and 3.?
cheers,
Christian
Re: Lowering temperature at night
Use this:
ReefAngel.Params.Temp[T2_PROBE]
ReefAngel.Params.Temp[T3_PROBE]
ReefAngel.Params.Temp[T2_PROBE]
ReefAngel.Params.Temp[T3_PROBE]
Roberto.
Re: Lowering temperature at night
with 2. and 3. I referred to the second and third question of the topic
But meanwhile I've seen, that Params.Temp is also used in the XML output of the WIFI interface. So it should be 305 and °C.
cheers,
Christian
But meanwhile I've seen, that Params.Temp is also used in the XML output of the WIFI interface. So it should be 305 and °C.
cheers,
Christian
Re: Lowering temperature at night
Correct. Use in Celsius and use no decimal point, just like you mentioned: 305
Roberto.