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
Thanks again ingo,
Cytech, can you help with this one?
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
[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
There seems to be something wrong. we are investigating
[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.
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
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
Thanks slychiu, I will have a look this evening after work, thanks for quick response