Hey all,
I just came to know that with CCU2 firmware version 2.17 and greater the limitation on duty cycle was enforced. Since I’m having some troubles with not reahable devices I was looking for a way to get a number item in OH2 containing the DUTY_CYCLE value.
All information found on internet is about a CCU2 script using CUXd and writing a CCU2 variable. Thats not very comfortable so I was wondering if homematic binding already has an option to directly query a datapoint or something using GATEWAY-EXTRAS-CCU2 or similar.
Does anyone graph the duty cycle in OH2 already? Some advice would be really appreciated.
Thanks much.
Some german blog post I found about graphing duty cycle: Link
Hi Sebastian,
I have a script running on my CCU every 15min to send the current duty cycle to an InfluxDB. Together with Grafana I visualise the data in a graph:
Hey Matthias,
thanks much for you reply and idea. I’m using Influx as well as persistance storage. So the idea is to bind the DUTY_CYCLE value to an item in order to graph it.
At the end, I went for the following approach which does not rely on CUXd:
Now one has the duty cycle already as system-var in CCU2
add GATEWAY-EXTRAS-CCU2 homematic thing. This can read all CCU2 variables
create an number item for the duty cycle using the GATEWAY-EXTRAS-CCU2 thing (e.g. eg_wz_ccu2_dutycycle)
Variables are not pushed from CCU to OH in case they change, so one has to write a small rule to force a refresh.
import org.eclipse.smarthome.core.types.RefreshType
rule "Update CCU2 variables"
when
Time cron "0 0/10 * * * ?" // Every 10 mins
then
eg_wz_ccu2_dutycycle.sendCommand(RefreshType.REFRESH)
end
Hi, this is exactly what I am looking for, but unfortunately I cannot find the script (without CUxD) in the mentioned link anymore. Maybe, it is already too old. Can you send me an URL or post the script again here?
Many thanks
Ulrich