Comfort Automation/ Security System Forums
not getting the counter value I am expecting - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Support (https://www.comfortforums.com/forum-2.html)
+--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html)
+---- Forum: Responses and Actions (https://www.comfortforums.com/forum-74.html)
+---- Thread: not getting the counter value I am expecting (/thread-4551.html)

Pages: 1 2 3


- Ingo - 10-29-2016

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



- wexfordman - 10-30-2016

Thanks again ingo,

Cytech, can you help with this one?


- tech07 - 10-30-2016

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


- wexfordman - 10-30-2016

[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



- slychiu - 10-31-2016

There seems to be something wrong. we are investigating



- wexfordman - 10-31-2016

[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.


- slychiu - 11-01-2016

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




- wexfordman - 11-01-2016

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


- slychiu - 11-02-2016

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



- wexfordman - 11-02-2016

Thanks slychiu, I will have a look this evening after work, thanks for quick response