Posted: Sunday Feb 8th, 2009 12:35 pm |
|
1st Post |
juwi_uk
Member
back to top
|
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
Last edited on Sunday Feb 8th, 2009 12:36 pm by juwi_uk
|
Posted: Monday Feb 9th, 2009 11:57 am |
|
2nd Post |
admin
Administrator
Joined: | Saturday Mar 3rd, 2007 |
Location: | Singapore |
Posts: | 1200 |
Status: |
Offline
|
back to top
|
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
|
Posted: Monday Feb 9th, 2009 12:20 pm |
|
3rd Post |
juwi_uk
Member
back to top
|
Thanks. Sounds great. I look forwards to having the opportunity to test this.
Regards
Julian
|
Posted: Saturday Feb 14th, 2009 08:44 am |
|
4th Post |
slychiu
Administrator
Joined: | Saturday Apr 29th, 2006 |
Location: | Singapore |
Posts: | 5498 |
Status: |
Offline
|
back to top
|
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
|
Posted: Saturday Feb 14th, 2009 08:54 am |
|
5th Post |
juwi_uk
Member
back to top
|
Cool, I'm going to test this later today and let you know how I get on.
J
|
Posted: Saturday Feb 14th, 2009 09:08 am |
|
6th Post |
juwi_uk
Member
back to top
|
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. Last edited on Saturday Feb 14th, 2009 09:09 am by juwi_uk
|
Posted: Saturday Feb 14th, 2009 09:14 am |
|
7th Post |
Posted: Saturday Feb 14th, 2009 03:49 pm |
|
8th Post |
juwi_uk
Member
back to top
|
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)
Last edited on Sunday Feb 15th, 2009 12:25 pm by juwi_uk
|
Posted: Sunday Feb 15th, 2009 12:57 pm |
|
9th Post |
juwi_uk
Member
back to top
|
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
Last edited on Sunday Feb 15th, 2009 01:19 pm by juwi_uk
|
|