Comfort Automation/ Security System Forums

Full Version: Sensors and Counters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have temperature monitored by a SCS and temperature monitored by the Smartfit UCM card.

Smartfit stores it\'s temperature in a counter in Celcius.

SCS stores it\'s temperature in a sensor register in Fahrenheit.

We can\'t convert from one to the other in a response as no divide/multiply calcs  (presumably difficult to implement as integer counters rather than decimal counters).

Looked through both SCS and Smartfit docs and whilst you can change the scale the keypads report on,  I cant see any way to change what the registers/counters store.

So how do I compare the two temperatures?  In my example above the SCS is measuring outside temp and Smartfit the inside Central Heating room temp. Want to know the difference!

J

 
We will introduce a beta firmware soon which will have new actions to announce any value
There will also be an action to convert a value from F to C
hence you could have the follwoing actions

Get Sensor Register 6
Convert to C
Announce in Degrees

This will replace all the If /Then lines that you had before


Thanks.  Sounds great.  I look forwards to having the opportunity to test this.

Regards

Julian
Ultra II 5.166 beta firmware is now available for testing, see http://www.comfortforums.com/view_topic.php?id=1352&forum_id=60
This allows the temperature to be converted from deg F to deg C and announced
Note that this is a version after the release firmware 5.164

This may overcome any shortcomings with the smartfit temperature readings not available when heating is off
Cool, I\'m going to test this later today and let you know how I get on.

J
Any chance you can publish the \"What\'s fixed\" list for the 5.164 firmware too (even if you dont want to post it yet) so we can see what is fixed.
Hi

I\'m trying to correct the problem with the 69 being set in the counter (counter 19) by Smartfit when the heating is off. My base offset is 16.

If Counter RoomTempSP = 69 Then
    Copy Counter SaveRoomSP To RoomTempSP ! Replace wrong setting
Else
    Copy Counter RoomTempSP To SaveRoomSP ! Save correct setting
End If

So under normal situation the Room Temperature setpoint is stored in \"RoomTempSP\" and for my system normally reads 21 when heating is on.  When off it goes to 69 which is incorrect as should always be 21!!.

So here I\'m trying to copy the counter to a SAVE counter to be used later if the counter flips to 69.  The idea is that I make this a response attached to the Smartfit (RoomTempSP) counter so it corrects itself. {Update:  Actually thinking about this without the benefit of the 3 Gin and Tonics I had at the time yesterday then this would not be such a good idea as it\'ll loop forever if i did this?}

Trouble is the \"SaveRoomTemp\" counter value is always zero (after the response is run) and the Smartfit counter still shows 69.

What am I doing wrong? (I\'m using beta firmware 5.166)
OK, with a clear head I fixed this now.

Just created a new counter (RoomTempSP),  renamed the normal Smartfit Counter (to RoomTempSPOld) and created this response:

If Counter RoomTempSPOld <> 69 Then
    Copy Counter RoomTempSPOld To RoomTempSP ! Save correct setting
End If


Added this response as a CounterResponse for RoomTemSPOld so that every time Smartfit updates this counter the response also updates my modified one.

I show the modified one as a feedback in the control menu.

Was simple, dont know why I didn\'t think of this earlier (the G+T factor I guess)!:?.

Thanks.

J