npm node-red-contrib-ccu 4.4.2
v4.4.2

latest release: 4.4.3
4 hours ago

Fixed

  • getRegaVariables Error: socket hang up every few minutes on a CCU
    (B-18, RedMatic #601
    follow-up). Since 4.3.0 a local install talks to ReGaHSS itself on port 8183. ReGaHSS answers HTTP/1.1 without Connection: close — and then
    closes the connection 0.4–7 ms after every response (measured on a
    CCU3 3.89.8, median 0.55 ms). homematic-rega 2.0 (since 4.0.0) sent
    its requests through Node's http.globalAgent, which pools connections
    (keepAlive: true since Node 19), so the next request on such a socket —
    regaPoll right after a setVariable, or getRegaPrograms right after
    getRegaVariables — could land in that window and die with
    ECONNRESET / socket hang up; the sysvar nodes then showed
    "disconnected" until the next poll. lighttpd on 8181 (the remote path,
    and the local path before 4.3.0) keeps connections alive properly, which
    is why nobody saw it before. In the lab (CCU3 3.89.8, Node 24.18.1, ReGaHSS kept busy by a script loop) a poll every 10 s preceded by a write, timed as the addon does it, lost 20 of 810 requests in 45 minutes with the pooled socket (27 per hour; the reporter's log shows about 6), 7 of 807 with a few milliseconds of client-side jitter, and 0 of 807 without keep-alive. Fixed in
    homematic-rega 2.0.1, which uses an agent without keep-alive (the 1.x
    behaviour) and takes an agent option; this release requires it. No
    change to the addon's own code paths.

Commits since v4.4.1

  • 4.4.2 (46e0ff7)
  • agent documents move to the maintainer's agents repository (6525dc3)

Don't miss a new node-red-contrib-ccu release

NewReleases is sending notifications on new releases.