I use Popp POPE010101 (= Danfoss) and at the beginning I had similar strange problems with this device. Then I turned off polling (which was activated as default) and immediately the problems disappeared.
I tried it with no problem.
For me your problem looks similar to my former problems. After some surveillance I noticed, that the real wakeup period of device and the wakeup period of the device noticed in vera were different. If vera and the device did not connect for a certain time, then the device seems to go in a “sleeping” state with a long wakeup cycle. Then the device was not more reacheable from vera.
First I bypassed the problem with 5 min wakeup time - and so the device and vera met for setpoint sync all 10 min (! not all 5 min ! ). Then I realized, that the problem was caused by polling. After switch off polling (settings > Poll this node at most once every 0 sec) the wakeuptime in the device and in vera matched and all problems disappeared.
By the way: Normally I also use lua to set and watch the devices. I use “SetCurrentSetpoint”.
Best Home Automation shopping experience. Shop at Ezlo!