Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not getting the counter value I am expecting
#11
I did a quick test on your code and found that at the point shown below the results do not appear to be correct as per the documentation. Perhaps I am missing something but adding immediate \'78\' works but adding a counter with value \'78\' doesn\'t.
Code:
get counter 91
get negative
add living_stback_tmp
set living_stback_tmp
Get counter living_dset_temp
add living_stback_tmp <-- Here the result is not as expected.
Set living_stback_temp
get counter heat_hyst
Get negativeadd living_stback_tmp
Set heat_livingdelta
Do heat living allign
Reply
#12
Thanks again ingo,

Cytech, can you help with this one?
Reply
#13
Is this what you expect and not getting?

get counter 91 (= 22)
get negative   ( -22)
add living_stback_tmp (+ 100 = 78)
set living_stback_tmp ( 78)
Get counter living_dset_temp (25 )

add living_stback_tmp (+78 = 103)

Set living_stback_temp (103)

get counter heat_hyst (2)

Get negative (-2)

add living_stback_tmp (+103 = 101)

Set heat_livingdelta (101)

counter 91 is not changed by the code but you say it becomes 2 so there may be other responses changing it
For testing can you send the cclx file to support@cytech.biz as it will be easier to simulate with the actual code
Reply
#14
[user=2250]tech07[/user] wrote:
Quote:Is this what you expect and not getting?

get counter 91 (= 22)
get negative   ( -22)
add living_stback_tmp (+ 100 = 78)
set living_stback_tmp ( 78)
Get counter living_dset_temp (25 )add living_stback_tmp (+78 = 103)Set living_stback_temp (103)get counter heat_hyst (2)Get negative (-2)add living_stback_tmp (+103 = 101)Set heat_livingdelta (101)

counter 91 is not changed by the code but you say it becomes 2 so there may be other responses changing it
For testing can you send the cclx file to support@cytech.biz as it will be easier to simulate with the actual code

Hi,
Thats the problem alright, I am not getting the correct value in either living_stbck_temp or in heat_livingdelta
I have emailed my file, thanks.
Regards,Eamon
Reply
#15
There seems to be something wrong. we are investigating
Reply
#16
[user=1]slychiu[/user] wrote:
Quote:There seems to be something wrong. we are investigating
Thanks slychiu, been doingng my head in the last few weeks, was convinced I had it wrong.
Reply
#17
We have found a bug with add counter and add sensor actions and will get a new version with the fix soon
Thanks for the information

Reply
#18
Brilliant thats slychiu.
How long do you think before a fix ? Winter encroaches, and I need this to get my scs thermostat controlled heating working 

Regards,Eamon
Reply
#19
ULT 7.115 Beta can be diwnloaded from https://www.cytech.biz/product_details.php?item_id=210 to fix this problem
Please test and let me know that it fixes this problem for you
Reply
#20
Thanks slychiu, I will have a look this evening after work, thanks for quick response
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)