Closed Jaydyou closed 8 years ago
Which pmatic version did you use?
First I tried the version which pip installs, but the problem persists with the latest git version (7ad6c425ccdab1421a59553fb4dfa33e85e7d1bb) of pmatic on Python 2.7.9.
param.channel.summary_state
seems to trigger an update check of the values of the corresponding Channel. After the 60 seconds timeout an update is performed and the update-callback-function is triggered while it has not finished yet. Thats causing the endless loop.
The root cause is how the function _value_update_needed
works.
The recursion issue of the callbacks should be fixed in current git build.
Thanks for the fix, now it is working as expected.
After some minutes of running the temperature update example on an Raspberrypi in conjunction with an CCU2 I get the following exception, which seems then repeated for all further updates: