[{"data":1,"prerenderedAt":260},["ShallowReactive",2],{"integration-node-red-contrib-ccu\u002F":3},{"_id":4,"categories":5,"author":7,"description":10,"npmOwners":11,"npmScope":13,"name":4,"ffCertified":14,"downloads":15,"version":17,"updatedAt":18,"maintainers":19,"homepage":22,"bugs":23,"repository":25,"time":28,"lastUpdated":18,"created":29,"license":232,"githubOwner":233,"githubRepo":4,"examples":234,"readme":259},"node-red-contrib-ccu",[6],"catalogue",{"name":8,"email":9},"Sebastian Raff","hobbyquaker@gmail.com","Node-RED Nodes for the Homematic CCU",[12],"hobbyquaker",null,false,{"week":16},2841,"4.18.1","2026-12-03T21:11:10.622Z",[20],{"name":12,"email":21},"bastiraff@googlemail.com","https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu#readme",{"url":24},"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fissues",{"url":26,"type":27},"git+https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu.git","git",{"created":29,"modified":18,"0.0.0":30,"0.0.1":31,"0.0.2":32,"0.1.0":33,"0.1.1":34,"0.1.2":35,"0.1.3":36,"0.1.4":37,"0.1.5":38,"0.1.6":39,"0.1.7":40,"0.1.8":41,"0.1.9":42,"0.1.10":43,"0.1.11":44,"0.1.12":45,"0.1.13":46,"0.1.14":47,"0.2.0":48,"0.3.0":49,"0.4.0":50,"0.5.0":51,"0.5.1":52,"0.5.2":53,"1.0.0":54,"1.0.1":55,"1.0.2":56,"1.1.0":57,"1.1.1":58,"1.1.2":59,"1.1.3":60,"1.1.4":61,"1.1.5":62,"1.1.6":63,"1.1.7":64,"1.1.8":65,"1.1.9":66,"1.1.10":67,"1.1.11":68,"1.1.12":69,"1.1.13":70,"1.1.14":71,"1.1.15":72,"1.1.16":73,"1.1.17":74,"1.1.18":75,"1.1.19":76,"1.1.20":77,"1.2.0":78,"1.2.1":79,"1.3.0":80,"1.3.1":81,"1.3.2":82,"1.3.3":83,"1.3.4":84,"1.4.0":85,"1.4.1":86,"1.4.2":87,"1.4.3":88,"1.4.4":89,"1.4.5":90,"1.5.0":91,"1.5.1":92,"1.5.2":93,"1.6.0":94,"1.6.1":95,"1.6.2":96,"1.6.3":97,"1.6.4":98,"1.6.5":99,"1.6.6":100,"1.6.7":101,"1.6.8":102,"1.6.9":103,"1.6.10":104,"1.6.11":105,"1.6.12":106,"1.6.13":107,"1.6.14":108,"1.6.15":109,"1.6.16":110,"1.6.17":111,"1.6.18":112,"1.6.19":113,"1.6.20":114,"1.7.0":115,"1.7.1":116,"1.8.0":117,"1.8.1":118,"1.8.2":119,"1.8.3":120,"1.9.0":121,"1.9.1":122,"1.9.2":123,"1.10.0":124,"1.10.1":125,"1.10.2":126,"1.10.3":127,"1.10.4":128,"1.10.5":129,"1.10.6":130,"1.10.7":131,"1.10.8":132,"1.10.9":133,"1.10.10":134,"1.10.11":135,"1.11.0":136,"1.11.1":137,"1.11.2":138,"1.12.0":139,"1.12.1":140,"1.13.0":141,"1.13.1":142,"1.13.2":143,"1.13.3":144,"1.13.4":145,"1.13.5":146,"1.14.0":147,"1.15.0":148,"1.16.0":149,"1.16.1":150,"1.16.2":151,"1.16.3":152,"1.16.4":153,"2.0.0":154,"2.0.1":155,"2.0.2":156,"2.0.3":157,"2.0.4":158,"2.0.5":159,"2.0.6":160,"2.0.7":161,"2.0.8":162,"2.0.9":163,"2.0.10":164,"2.0.11":165,"2.0.12":166,"2.0.13":167,"2.0.14":168,"2.0.15":169,"2.1.0":170,"2.1.1":171,"2.1.2":172,"2.1.3":173,"2.1.4":174,"2.1.5":175,"2.1.6":176,"3.0.0-beta.2":177,"3.0.0-beta.3":178,"3.0.0-beta.4":179,"3.0.0-beta.5":180,"3.0.0":181,"3.0.1":182,"3.1.0":183,"3.1.1":184,"3.1.2":185,"3.1.3":186,"3.1.4":187,"3.2.0":188,"3.2.1":189,"3.3.0":190,"3.4.0":191,"3.4.1":192,"3.4.2":193,"4.0.0":194,"4.1.0":195,"4.2.0":196,"4.3.0":197,"4.4.0":198,"4.4.1":199,"4.4.2":200,"4.4.3":201,"4.4.4":202,"4.4.5":203,"4.5.0":204,"4.5.1":205,"4.5.2":206,"4.5.3":207,"4.6.0":208,"4.6.1":209,"4.6.2":210,"4.7.0":211,"4.7.1":212,"4.7.2":213,"4.8.0":214,"4.9.0":215,"4.10.0":216,"4.10.1":217,"4.10.2":218,"4.10.3":219,"4.11.0":220,"4.11.1":221,"4.12.0":222,"4.13.0":223,"4.14.0":224,"4.14.1":225,"4.15.0":226,"4.16.0":227,"4.17.0":228,"4.17.1":229,"4.18.0":230,"4.18.1":231},"2018-04-10T16:26:47.076Z","2018-04-10T16:26:47.130Z","2018-04-23T16:40:00.300Z","2018-04-27T20:37:02.876Z","2018-04-28T19:46:39.464Z","2018-04-28T21:30:29.990Z","2018-04-29T00:31:33.275Z","2018-04-29T17:34:49.600Z","2018-05-01T15:04:42.344Z","2018-05-01T18:16:48.133Z","2018-05-02T18:57:25.655Z","2018-05-05T15:10:28.742Z","2018-05-05T17:30:39.741Z","2018-05-05T19:07:50.920Z","2018-05-11T15:32:25.948Z","2018-05-15T19:02:57.083Z","2018-05-20T13:08:05.011Z","2018-05-23T16:16:05.305Z","2018-05-27T12:12:18.460Z","2018-05-29T18:23:44.633Z","2018-06-01T18:29:10.794Z","2018-06-03T11:18:01.413Z","2018-06-03T18:03:41.254Z","2018-06-04T18:09:57.422Z","2018-06-05T19:43:19.255Z","2018-06-08T18:07:39.058Z","2018-06-11T15:19:37.483Z","2018-06-15T20:59:34.421Z","2018-07-02T17:15:49.769Z","2018-07-11T17:06:09.083Z","2018-07-12T18:59:54.350Z","2018-07-21T20:10:06.495Z","2018-07-22T19:32:23.417Z","2018-07-23T17:52:43.717Z","2018-07-23T18:41:13.490Z","2018-07-23T20:02:44.538Z","2018-07-23T20:05:05.253Z","2018-07-23T20:08:30.985Z","2018-07-23T20:10:11.645Z","2018-07-24T16:08:00.405Z","2018-07-24T17:14:01.206Z","2018-07-27T14:43:13.897Z","2018-07-27T15:33:11.964Z","2018-07-29T16:17:10.145Z","2018-08-03T16:15:22.624Z","2018-08-05T08:53:00.826Z","2018-08-13T16:14:34.509Z","2018-08-16T16:00:50.475Z","2018-08-16T16:21:22.619Z","2018-08-23T21:35:00.953Z","2018-08-23T23:20:54.514Z","2018-08-24T12:09:00.804Z","2018-08-24T19:48:43.245Z","2018-08-25T18:49:57.096Z","2018-08-29T15:11:07.555Z","2018-08-30T11:20:27.258Z","2018-08-30T15:53:44.536Z","2018-08-31T09:38:40.316Z","2018-08-31T12:56:07.783Z","2018-08-31T14:47:32.918Z","2018-09-01T00:19:53.918Z","2018-09-02T12:57:40.009Z","2018-09-07T16:50:32.100Z","2018-09-13T20:40:33.010Z","2018-09-14T15:51:30.223Z","2018-09-14T17:10:04.152Z","2018-09-14T21:35:39.230Z","2018-09-15T17:15:22.214Z","2018-09-15T17:16:46.943Z","2018-09-16T19:30:28.190Z","2018-09-16T20:07:12.220Z","2018-09-17T17:52:44.714Z","2018-09-18T15:57:45.275Z","2018-09-29T08:12:16.894Z","2018-10-02T18:10:38.524Z","2018-10-04T15:59:03.453Z","2018-10-04T16:30:43.406Z","2018-10-07T08:53:21.440Z","2018-10-12T16:09:47.276Z","2018-10-18T15:26:44.568Z","2018-10-20T12:51:52.090Z","2018-10-21T12:41:23.908Z","2018-10-22T16:00:36.759Z","2018-10-25T15:16:11.900Z","2018-10-27T14:39:23.212Z","2018-10-28T14:35:59.244Z","2018-10-31T21:24:19.740Z","2018-11-02T15:48:56.764Z","2018-11-04T12:13:49.962Z","2018-11-06T22:15:16.530Z","2018-11-16T18:50:11.817Z","2018-11-18T14:44:56.498Z","2018-11-18T20:02:53.758Z","2018-11-19T18:54:37.481Z","2018-11-27T19:42:43.453Z","2018-12-13T19:13:13.117Z","2018-12-14T15:38:12.585Z","2018-12-14T22:58:32.698Z","2018-12-19T17:32:21.934Z","2018-12-22T17:28:25.424Z","2018-12-22T19:49:42.946Z","2018-12-23T22:41:18.240Z","2018-12-27T17:05:05.246Z","2018-12-30T12:21:32.823Z","2018-12-30T17:55:33.406Z","2018-12-31T14:39:55.162Z","2019-01-02T16:42:42.173Z","2019-01-15T16:57:27.624Z","2019-01-19T19:21:25.188Z","2019-01-20T16:43:52.314Z","2019-02-02T12:49:25.596Z","2019-02-02T13:58:34.097Z","2019-02-02T20:45:06.774Z","2019-02-02T20:52:31.454Z","2019-02-03T14:03:54.387Z","2019-02-05T18:38:39.203Z","2019-02-07T16:37:38.532Z","2019-02-07T17:59:09.383Z","2019-02-14T21:18:33.019Z","2019-02-15T22:10:07.707Z","2019-02-16T10:29:37.350Z","2019-02-16T10:36:32.139Z","2019-02-19T20:18:18.624Z","2019-02-21T20:16:44.746Z","2019-03-04T17:46:13.812Z","2019-03-10T11:23:10.889Z","2019-03-10T13:48:54.233Z","2019-03-14T16:25:49.309Z","2019-03-22T02:03:42.440Z","2019-03-22T17:36:17.293Z","2019-03-22T21:24:47.558Z","2019-03-30T11:10:26.277Z","2019-04-08T17:22:48.791Z","2019-04-11T18:02:04.279Z","2019-04-12T18:16:06.609Z","2019-04-13T12:32:42.397Z","2019-04-13T15:16:25.031Z","2019-04-13T15:50:51.700Z","2019-05-05T13:13:11.246Z","2019-05-05T18:12:18.549Z","2019-05-10T20:18:29.079Z","2019-05-11T20:54:14.949Z","2019-05-11T21:00:30.288Z","2019-05-12T11:25:33.218Z","2019-05-15T16:38:39.867Z","2019-05-18T21:46:27.776Z","2019-05-19T09:58:09.411Z","2019-05-26T20:17:52.727Z","2019-05-29T21:39:23.845Z","2019-06-15T09:12:01.566Z","2019-08-24T17:08:00.216Z","2019-08-30T22:29:15.343Z","2019-10-02T21:30:51.637Z","2019-10-15T17:18:34.159Z","2019-10-17T16:31:33.970Z","2019-10-20T20:23:04.280Z","2019-11-08T21:35:21.158Z","2019-12-25T15:15:19.694Z","2019-12-27T11:14:38.455Z","2020-04-17T15:40:10.002Z","2020-08-03T18:50:25.324Z","2020-12-14T19:01:56.196Z","2020-12-19T17:40:53.448Z","2021-02-06T16:59:01.997Z","2021-03-05T20:48:18.542Z","2026-09-02T09:17:27.897Z","2026-09-04T15:53:35.075Z","2026-09-04T17:14:00.415Z","2026-09-04T19:29:43.441Z","2026-09-06T17:33:25.084Z","2026-09-07T17:14:48.605Z","2026-09-09T18:10:32.530Z","2026-09-09T20:15:41.436Z","2026-09-17T17:25:56.164Z","2026-09-26T18:52:28.696Z","2026-09-29T15:09:03.315Z","2026-10-02T11:20:32.800Z","2026-10-02T20:23:37.708Z","2026-10-05T15:06:45.726Z","2026-10-22T14:39:43.232Z","2026-10-22T15:19:02.127Z","2026-10-22T21:06:43.706Z","2026-10-27T15:33:24.494Z","2026-10-28T19:45:40.474Z","2026-10-28T23:27:42.664Z","2026-10-29T19:57:10.349Z","2026-11-09T20:30:34.588Z","2026-11-09T21:58:46.331Z","2026-11-10T16:02:33.656Z","2026-11-20T12:15:21.823Z","2026-11-20T17:06:47.144Z","2026-11-20T18:45:54.038Z","2026-11-21T17:09:30.996Z","2026-11-21T17:29:02.394Z","2026-11-22T18:21:26.753Z","2026-11-25T18:42:54.109Z","2026-11-25T19:21:50.120Z","2026-11-27T14:57:54.222Z","2026-11-28T11:32:31.992Z","2026-11-28T15:33:02.520Z","2026-11-29T09:47:33.328Z","2026-11-30T17:26:09.701Z","2026-12-03T21:11:10.273Z","MIT","rdmtc",[235,241,247,253],{"name":236,"path":237,"url":238,"downloadUrl":239,"flow":240},"home-assistant","examples\u002Fhome-assistant.json","https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fblob\u002Fmaster\u002Fexamples\u002Fhome-assistant.json","https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fexamples\u002Fhome-assistant.json","[{\"id\":\"ccu-mqtt-example\",\"type\":\"ccu-mqtt\",\"name\":\"ccu ⇄ mqtt\",\"ccuConfig\":\"ccu-conn-example\",\"cache\":true,\"topicOutputEvent\":\"hm\u002Fstatus\u002F${channelName}\u002F${datapoint}\",\"topicInputSetValue\":\"hm\u002Fset\u002F${channelNameOrAddress}\u002F${datapoint}\",\"topicOutputSysvar\":\"hm\u002Fstatus\u002F${name}\",\"topicInputSysvar\":\"hm\u002Fset\u002F${name}\",\"topicInputPutParam\":\"hm\u002Fparamset\u002F${channelNameOrAddress}\u002F${paramset}\u002F${param}\",\"topicInputPutParamset\":\"hm\u002Fparamset\u002F${channelNameOrAddress}\u002F${paramset}\",\"topicInputRpc\":\"hm\u002Frpc\u002F${iface}\u002F${method}\u002F${command}\u002F${callid}\",\"topicOutputRpc\":\"hm\u002Fresponse\u002F${callid}\",\"topicCounters\":\"hm\u002Fstatus\u002Fcounter\u002F${iface}\u002F${rxtx}\",\"payloadOutput\":\"mqsh-extended\",\"x\":380,\"y\":100,\"wires\":[[\"mqtt-out-example\"]]},{\"id\":\"mqtt-in-example\",\"type\":\"mqtt in\",\"name\":\"hm\u002Fset\u002F#\",\"topic\":\"hm\u002Fset\u002F#\",\"qos\":\"0\",\"datatype\":\"auto-detect\",\"broker\":\"mqtt-broker-example\",\"nl\":false,\"rap\":true,\"rh\":0,\"inputs\":0,\"x\":160,\"y\":100,\"wires\":[[\"ccu-mqtt-example\"]]},{\"id\":\"mqtt-out-example\",\"type\":\"mqtt out\",\"name\":\"\",\"topic\":\"\",\"qos\":\"\",\"retain\":\"\",\"respTopic\":\"\",\"contentType\":\"\",\"userProps\":\"\",\"correl\":\"\",\"expiry\":\"\",\"broker\":\"mqtt-broker-example\",\"x\":640,\"y\":140,\"wires\":[]},{\"id\":\"ccu-ha-example\",\"type\":\"ccu-homeassistant\",\"name\":\"Home Assistant discovery\",\"ccuConfig\":\"ccu-conn-example\",\"mqttNode\":\"ccu-mqtt-example\",\"prefix\":\"homeassistant\",\"generic\":true,\"devices\":{},\"x\":400,\"y\":180,\"wires\":[[\"mqtt-out-example\"]]},{\"id\":\"inject-republish\",\"type\":\"inject\",\"name\":\"republish discovery\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"\",\"payloadType\":\"date\",\"x\":170,\"y\":180,\"wires\":[[\"ccu-ha-example\"]]},{\"id\":\"mqtt-in-ha-status\",\"type\":\"mqtt in\",\"name\":\"homeassistant\u002Fstatus\",\"topic\":\"homeassistant\u002Fstatus\",\"qos\":\"0\",\"datatype\":\"utf8\",\"broker\":\"mqtt-broker-example\",\"nl\":false,\"rap\":true,\"rh\":0,\"inputs\":0,\"x\":170,\"y\":220,\"wires\":[[\"ccu-ha-example\"]]},{\"id\":\"comment-ha\",\"type\":\"comment\",\"name\":\"Tick the devices to publish in the Home Assistant node's config dialog, then deploy\",\"info\":\"\",\"x\":330,\"y\":40,\"wires\":[]},{\"id\":\"mqtt-broker-example\",\"type\":\"mqtt-broker\",\"name\":\"Broker\",\"broker\":\"mqtt-broker-hostname-or-ip\",\"port\":\"1883\",\"clientid\":\"\",\"autoConnect\":true,\"usetls\":false,\"protocolVersion\":\"4\",\"keepalive\":\"60\",\"cleansession\":true,\"autoUnsubscribe\":true},{\"id\":\"ccu-conn-example\",\"type\":\"ccu-connection\",\"name\":\"CCU\",\"host\":\"ccu3-hostname-or-ip\",\"regaEnabled\":true,\"bcrfEnabled\":true,\"iprfEnabled\":true,\"virtEnabled\":false,\"bcwiEnabled\":false,\"cuxdEnabled\":false,\"jackEnabled\":false,\"regaPoll\":true,\"regaInterval\":\"30\",\"rpcPingTimeout\":\"60\",\"rpcInitAddress\":\"\",\"rpcServerHost\":\"\",\"rpcBinPort\":\"2047\",\"rpcXmlPort\":\"2048\"}]",{"name":242,"path":243,"url":244,"downloadUrl":245,"flow":246},"rpc-events","examples\u002Frpc-events.json","https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fblob\u002Fmaster\u002Fexamples\u002Frpc-events.json","https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fexamples\u002Frpc-events.json","[{\"id\":\"rpc-events\",\"type\":\"ccu-rpc-event\",\"name\":\"all events\",\"iface\":\"\",\"ccuConfig\":\"ccu-conn-example\",\"rooms\":\"\",\"roomsRx\":\"str\",\"functions\":\"\",\"functionsRx\":\"str\",\"device\":\"\",\"deviceRx\":\"str\",\"deviceName\":\"\",\"deviceNameRx\":\"str\",\"deviceType\":\"\",\"deviceTypeRx\":\"str\",\"channel\":\"\",\"channelRx\":\"str\",\"channelName\":\"\",\"channelNameRx\":\"str\",\"channelType\":\"\",\"channelTypeRx\":\"str\",\"datapoint\":\"\",\"datapointRx\":\"str\",\"change\":true,\"working\":false,\"cache\":false,\"topic\":\"${CCU}\u002F${Interface}\u002F${channelName}\u002F${datapoint}\",\"x\":160,\"y\":100,\"wires\":[[\"debug-events\"]]},{\"id\":\"debug-events\",\"type\":\"debug\",\"name\":\"events\",\"active\":true,\"tosidebar\":true,\"complete\":\"true\",\"x\":380,\"y\":100,\"wires\":[]},{\"id\":\"ccu-conn-example\",\"type\":\"ccu-connection\",\"name\":\"CCU\",\"host\":\"ccu3-hostname-or-ip\",\"regaEnabled\":true,\"bcrfEnabled\":true,\"iprfEnabled\":true,\"virtEnabled\":false,\"bcwiEnabled\":false,\"cuxdEnabled\":false,\"jackEnabled\":false,\"regaPoll\":true,\"regaInterval\":\"30\",\"rpcPingTimeout\":\"60\",\"rpcInitAddress\":\"\",\"rpcServerHost\":\"\",\"rpcBinPort\":\"2047\",\"rpcXmlPort\":\"2048\"}]",{"name":248,"path":249,"url":250,"downloadUrl":251,"flow":252},"switch-datapoint","examples\u002Fswitch-datapoint.json","https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fblob\u002Fmaster\u002Fexamples\u002Fswitch-datapoint.json","https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fexamples\u002Fswitch-datapoint.json","[{\"id\":\"inject-on\",\"type\":\"inject\",\"name\":\"ON\",\"props\":[{\"p\":\"payload\"}],\"payload\":\"true\",\"payloadType\":\"bool\",\"x\":130,\"y\":80,\"wires\":[[\"value-set\"]]},{\"id\":\"inject-off\",\"type\":\"inject\",\"name\":\"OFF\",\"props\":[{\"p\":\"payload\"}],\"payload\":\"false\",\"payloadType\":\"bool\",\"x\":130,\"y\":140,\"wires\":[[\"value-set\"]]},{\"id\":\"value-set\",\"type\":\"ccu-value\",\"name\":\"Switch actuator\",\"iface\":\"HmIP-RF\",\"channel\":\"\",\"datapoint\":\"STATE\",\"mode\":\"\",\"start\":true,\"change\":true,\"cache\":false,\"queue\":true,\"on\":0,\"onType\":\"undefined\",\"ramp\":0,\"rampType\":\"undefined\",\"working\":false,\"ccuConfig\":\"ccu-conn-example\",\"topic\":\"${CCU}\u002F${Interface}\u002F${channel}\u002F${datapoint}\",\"x\":340,\"y\":110,\"wires\":[[\"debug-state\"]]},{\"id\":\"debug-state\",\"type\":\"debug\",\"name\":\"state\",\"active\":true,\"tosidebar\":true,\"complete\":\"payload\",\"x\":550,\"y\":110,\"wires\":[]},{\"id\":\"ccu-conn-example\",\"type\":\"ccu-connection\",\"name\":\"CCU\",\"host\":\"ccu3-hostname-or-ip\",\"regaEnabled\":true,\"bcrfEnabled\":true,\"iprfEnabled\":true,\"virtEnabled\":false,\"bcwiEnabled\":false,\"cuxdEnabled\":false,\"jackEnabled\":false,\"regaPoll\":true,\"regaInterval\":\"30\",\"rpcPingTimeout\":\"60\",\"rpcInitAddress\":\"\",\"rpcServerHost\":\"\",\"rpcBinPort\":\"2047\",\"rpcXmlPort\":\"2048\"}]",{"name":254,"path":255,"url":256,"downloadUrl":257,"flow":258},"system-variable","examples\u002Fsystem-variable.json","https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fblob\u002Fmaster\u002Fexamples\u002Fsystem-variable.json","https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fexamples\u002Fsystem-variable.json","[{\"id\":\"sysvar-watch\",\"type\":\"ccu-sysvar\",\"name\":\"Presence\",\"ccuConfig\":\"ccu-conn-example\",\"topic\":\"${CCU}\u002FSysVar\u002F${Name}\",\"change\":true,\"cache\":true,\"x\":340,\"y\":100,\"wires\":[[\"debug-sysvar\"]]},{\"id\":\"debug-sysvar\",\"type\":\"debug\",\"name\":\"sysvar\",\"active\":true,\"tosidebar\":true,\"complete\":\"payload\",\"x\":550,\"y\":100,\"wires\":[]},{\"id\":\"inject-set\",\"type\":\"inject\",\"name\":\"set true\",\"props\":[{\"p\":\"payload\"}],\"payload\":\"true\",\"payloadType\":\"bool\",\"x\":140,\"y\":100,\"wires\":[[\"sysvar-watch\"]]},{\"id\":\"ccu-conn-example\",\"type\":\"ccu-connection\",\"name\":\"CCU\",\"host\":\"ccu3-hostname-or-ip\",\"regaEnabled\":true,\"bcrfEnabled\":true,\"iprfEnabled\":true,\"virtEnabled\":false,\"bcwiEnabled\":false,\"cuxdEnabled\":false,\"jackEnabled\":false,\"regaPoll\":true,\"regaInterval\":\"30\",\"rpcPingTimeout\":\"60\",\"rpcInitAddress\":\"\",\"rpcServerHost\":\"\",\"rpcBinPort\":\"2047\",\"rpcXmlPort\":\"2048\"}]","\u003Ch1 id=\"node-red-contrib-ccu\">\u003Ca class=\"header-anchor\" href=\"#node-red-contrib-ccu\">node-red-contrib-ccu\u003C\u002Fa>\u003C\u002Fh1>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fnode-red-contrib-ccu\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fnode-red-contrib-ccu.svg\" alt=\"NPM version\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\" alt=\"CI\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fblob\u002Fmaster\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg?style=flat\" alt=\"License\" \u002F>\u003C\u002Fa>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Node-RED Nodes for the Homematic CCU\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>With these Nodes you can connect \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhobbyquaker\u002Fawesome-homematic\">Homematic\u003C\u002Fa> and\n\u003Ca href=\"https:\u002F\u002Fnodered.org\u002F\">Node-RED\u003C\u002Fa>. Homematic is a series of smart home automation hardware from the manufacturer\n\u003Ca href=\"http:\u002F\u002Fwww.eq-3.de\u002F\">eQ-3\u003C\u002Fa>, popular especially in Germany.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>⚠️ node-red-contrib-ccu &gt;= 4.0 needs Node-RED &gt;= 4.0 and Node.js &gt;= 20\u003C\u002Fstrong> (primary target: Node-RED 5 on Node 24).\nOn older Node-RED versions use the latest 3.x release of node-red-contrib-ccu.\u003C\u002Fp>\n\u003Cp>For the communication with the CCU both RPC and ReGaHSS remote script are used. It's possible to connect to multiple\nCCUs from one Node-RED instance. RPC setValue calls can be comfortably complemented with ON_TIME and RAMP_TIME values\nand special nodes ease the control of displays and mp3 actuators. RPC events can be filtered comprehensively (even\nthrough regular expressions and also by rooms and functions). It's possible to start rega-programs and set\nrega-variables and last but not least there are nodes to execute arbitrary rega-scripts and RPC calls.\u003C\u002Fp>\n\u003Cp>These nodes are included in \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002FRedMatic\">RedMatic\u003C\u002Fa> which ships Node-RED as an addon package\nfor installation on a Homematic CCU3 or RaspberryMatic.\u003C\u002Fp>\n\u003Cp>Some example flows can be found in the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002FRedMatic\u002Fwiki\">RedMatic Wiki\u003C\u002Fa> (German language).\u003C\u002Fp>\n\u003Ch2 id=\"openccu-lite\">\u003Ca class=\"header-anchor\" href=\"#openccu-lite\">openccu-lite\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fopenccu-lite\u002Fopenccu-lite\">openccu-lite\u003C\u002Fa> is a Homematic CCU firmware based on OpenCCU \u003Cstrong>without\nReGaHSS\u003C\u002Fstrong>. The interface processes (\u003Ccode>rfd\u003C\u002Fcode>, \u003Ccode>hs485d\u003C\u002Fcode>, \u003Ccode>hmipserver\u003C\u002Fcode>) are the same, so everything these nodes do over\nBINRPC\u002FXMLRPC works unchanged. Device, channel, room and function names come from the system's metadata API instead of\nReGaHSS; the connection node detects this at start (\u003Ccode>GET \u002Fapi\u002Fmeta\u002Fv1\u002Fversion\u003C\u002Fcode>), nothing has to be configured, and\n\u003Ccode>msg.channelName\u003C\u002Fcode>, \u003Ccode>msg.rooms\u003C\u002Fcode>, \u003Ccode>msg.functions\u003C\u002Fcode> and the room\u002Ffunction filters keep their shape.\u003C\u002Fp>\n\u003Cp>Since 4.7.0 the interface processes are reached through the system's \u003Cstrong>lite-rpc\u003C\u002Fstrong> as well, with\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Focculite-client\">occulite-client\u003C\u002Fa>: the requests over the system's web port, the events\nfrom a stream the connection opens (replayed after a break, re-read after a restart of the system), one subscriber at\nthe processes for every program on the system, no callback server and no \u003Ccode>init\u003C\u002Fcode> of this node's own; the value cache is\nfilled from the system's state store at deploy. The connection node's \u003Cstrong>openccu-lite interfaces\u003C\u002Fstrong> setting chooses\n\u003Cem>auto\u003C\u002Fem> (the default: lite-rpc on openccu-lite, the CCU way on a CCU), \u003Cem>openccu-lite\u003C\u002Fem> (lite-rpc only) or \u003Cem>CCU\u003C\u002Fem> (the\ndirect connection with callbacks, on openccu-lite too); an existing connection is moved to lite-rpc once at its first\nstart on openccu-lite, the log says so, and a choice made in the node is never changed by a later version. CUxD and\nCCU-Jack keep their own connections.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Node-RED \u003Cstrong>on the system\u003C\u002Fstrong> (RedMatic from its addon catalogue): lite-rpc with RedMatic's own token, which the system\nmints for it from RedMatic's manifest (RedMatic 9.15.1 or later); the names come with the system's read-only token.\nNothing to configure. An older RedMatic has no such token and connects the CCU way, the log says so.\u003C\u002Fli>\n\u003Cli>Node-RED \u003Cstrong>elsewhere\u003C\u002Fstrong>: enter the system's address and press \u003Cstrong>Pair with the system\u003C\u002Fstrong> in the connection node. The\ndialog shows a six-digit code; an administrator compares it on the system's Status page and approves the request.\nThe token and the fingerprint of the system's certificate are filled in, TLS is switched on where the system\noffers https, and after the deploy the connection accepts exactly that certificate - no \"ignore invalid\ncertificates\" needed for the system's own self-signed one. Pairing asks for devices at the \u003Cem>administer\u003C\u002Fem> level (the\nrpc node may call any method) and for reading the names. Alternatively an API token made on the system goes into\nthe \u003Cstrong>openccu-lite token\u003C\u002Fstrong> field by hand - for lite-rpc it needs the \u003Ccode>rpc:*\u003C\u002Fcode> scope of what the flow does\n(\u003Ccode>rpc:read\u003C\u002Fcode> for events and reads, \u003Ccode>rpc:operate\u003C\u002Fcode> for \u003Ccode>setValue\u003C\u002Fcode>, \u003Ccode>rpc:configure\u003C\u002Fcode> for paramsets and links,\n\u003Ccode>rpc:admin\u003C\u002Fcode> for the rest). A token without \u003Ccode>rpc:read\u003C\u002Fcode> (one made for the names alone) keeps the direct connection\nwith callbacks under \u003Cem>auto\u003C\u002Fem>, and the log says what lite-rpc would need.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>System variables and programs come from the Logic addon\u003C\u002Fstrong> (4.14.0). Logic offers them as devices of an interface\nof its own, \u003Ccode>Logic\u003C\u002Fcode>, which lite-rpc carries like the radio interfaces; the connection follows every interface the\nsystem lists, an addon's without a checkbox. The \u003Ccode>ccu-sysvar\u003C\u002Fcode> and \u003Ccode>ccu-program\u003C\u002Fcode> nodes find a variable or a program\nby its name, as on a CCU, so a flow written for a CCU keeps working once the variables and programs were imported\ninto Logic: a variable is read, written (a list entry or a logic value also by its text) and reported at every\nwrite (\u003Cem>Emit changed values only\u003C\u002Fem> leaves out a write of the same value); a program is switched by \u003Ccode>true\u003C\u002Fcode>\u002F\u003Ccode>false\u003C\u002Fcode>\nand started by anything else - the first \u003Cem>Then\u003C\u002Fem> without the conditions, as the CCU's \u003Cem>Start\u003C\u002Fem> does. The editor lists\nthem, and \u003Ccode>ccu-get-value\u003C\u002Fcode>, \u003Ccode>ccu-switch\u003C\u002Fcode> and \u003Ccode>ccu-mqtt\u003C\u002Fcode> find them too. Messages keep the CCU's shape, with\n\u003Ccode>iface: \"Logic\"\u003C\u002Fcode>, \u003Ccode>key\u003C\u002Fcode> and \u003Ccode>address\u003C\u002Fcode> (the Logic channel) in place of the ReGa \u003Ccode>id\u003C\u002Fcode>. This needs lite-rpc (RedMatic\non the system, or a paired connection); without the addon the nodes show \u003Cem>Logic addon not installed\u003C\u002Fem> and a write\nis refused with that reason. \u003Ccode>ccu-poll\u003C\u002Fcode> has nothing to poll there (the values are events). \u003Cstrong>HM-Script does not\nexist there\u003C\u002Fstrong>: the \u003Ccode>ccu-script\u003C\u002Fcode> node stays in the flows and answers every message with an error.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Alarm areas come from the alarm system addon.\u003C\u002Fstrong> It offers each area as a device \u003Ccode>area-&lt;key&gt;\u003C\u002Fcode> (type \u003Ccode>ALARM-AREA\u003C\u002Fcode>)\nof its interface \u003Ccode>Alarm\u003C\u002Fcode>, followed like Logic's without a checkbox, so the value and event nodes reach an area like\nany device. The \u003Ccode>ccu-alarm\u003C\u002Fcode> node is made for it: pick an area (the editor lists only alarm areas), and it emits the\narea's state as Home Assistant names it (\u003Ccode>disarmed\u003C\u002Fcode>, \u003Ccode>arming\u003C\u002Fcode>, \u003Ccode>armed_home\u003C\u002Fcode>, \u003Ccode>armed_away\u003C\u002Fcode>, \u003Ccode>pending\u003C\u002Fcode>, \u003Ccode>triggered\u003C\u002Fcode>)\nwith the alarm (kind, sensor), readiness, open sensors, delay and pre-alarm in one message per change; it takes\n\u003Ccode>arm_home\u003C\u002Fcode>, \u003Ccode>arm_away\u003C\u002Fcode>, \u003Ccode>disarm\u003C\u002Fcode>, \u003Ccode>silence\u003C\u002Fcode>, \u003Ccode>acknowledge\u003C\u002Fcode> and \u003Ccode>panic\u003C\u002Fcode> in \u003Ccode>msg.payload\u003C\u002Fcode>. The alarm system decides\nwhat a command may do: arming, disarming, silencing and acknowledging are refused until the area's switch\n\u003Cem>Scharf\u002FUnscharf über lite-rpc erlauben\u003C\u002Fem> (\u003Cem>Allow arming and disarming over lite-rpc\u003C\u002Fem>) is on - the node shows\n\u003Cem>refused: lite-rpc switch off\u003C\u002Fem> and its error names the switch -, arming is refused while sensors are open, and a\npanic alarm always works.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"topics\">\u003Ca class=\"header-anchor\" href=\"#topics\">Topics\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Every node that emits messages builds \u003Ccode>msg.topic\u003C\u002Fcode> from the same template, configurable per node, with these defaults:\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Node\u003C\u002Fth>\n\u003Cth>Default topic\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>rpc-event\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>${CCU}\u002F${Interface}\u002F${channelName}\u002F${datapoint}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>value\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>${CCU}\u002F${Interface}\u002F${channel}\u002F${datapoint}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>get value\u003C\u002Ftd>\n\u003Ctd>\u003Cem>(empty: \u003Ccode>msg.topic\u003C\u002Fcode> stays as it came in)\u003C\u002Fem>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>sysvar\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>hm\u002Fstatus\u002Fsysvar\u002F${Name}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>program\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>hm\u002Fstatus\u002Fprogram\u002F${Name}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>alarm\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>hm\u002Fstatus\u002Falarm\u002F${Name}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>rpc\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>${CCU}\u002F${Interface}\u002F${Method}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>script\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>${CCU}\u002F${Interface}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Placeholders are the message's properties, matched case-insensitively: \u003Ccode>${CCU}\u003C\u002Fcode>, \u003Ccode>${Interface}\u003C\u002Fcode>, \u003Ccode>${device}\u003C\u002Fcode>,\n\u003Ccode>${deviceName}\u003C\u002Fcode>, \u003Ccode>${deviceType}\u003C\u002Fcode>, \u003Ccode>${channel}\u003C\u002Fcode>, \u003Ccode>${channelName}\u003C\u002Fcode>, \u003Ccode>${channelType}\u003C\u002Fcode>, \u003Ccode>${channelIndex}\u003C\u002Fcode>, \u003Ccode>${datapoint}\u003C\u002Fcode>,\n\u003Ccode>${datapointName}\u003C\u002Fcode>; \u003Ccode>${Name}\u003C\u002Fcode> for a variable, program or alarm area, \u003Ccode>${Method}\u003C\u002Fcode> for an RPC call. To get one scheme everywhere -\n\u003Ccode>hm\u002F&lt;interface&gt;\u002F&lt;channel&gt;\u002F&lt;datapoint&gt;\u003C\u002Fcode>, say - enter \u003Ccode>hm\u002F${Interface}\u002F${channel}\u002F${datapoint}\u003C\u002Fcode> in each node. A default\napplies to newly placed nodes only: existing nodes keep the topic they were saved with (the default of the sysvar\nand program nodes was \u003Ccode>ReGaHSS\u002F${Name}\u003C\u002Fcode> until 4.16.0), so existing flows and subscriptions keep working. The value node's input accepts a datapoint address in\n\u003Ccode>msg.topic\u003C\u002Fcode> either as \u003Ccode>iface.channel.datapoint\u003C\u002Fcode> or in the emitted shape (\u003Ccode>ccu3\u002FBidCos-RF\u002FOEQ1868878:1\u002FSTATE\u003C\u002Fcode>,\n\u003Ccode>hm\u002FBidCos-RF\u002FOEQ1868878:1\u002FSTATE\u003C\u002Fcode>: the last three segments count), so an event's topic can be fed straight back. The\n\u003Ccode>ccu-mqtt\u003C\u002Fcode> node has its own templates for its MQTT topics.\u003C\u002Fp>\n\u003Ch2 id=\"home-assistant\">\u003Ca class=\"header-anchor\" href=\"#home-assistant\">Home Assistant\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>The \u003Ccode>ccu-homeassistant\u003C\u002Fcode> node publishes\n\u003Ca href=\"https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Fmqtt\u002F#mqtt-discovery\">MQTT discovery\u003C\u002Fa> configurations (device-based,\nHome Assistant &gt;= 2024.11) for the devices you tick in its config dialog. It is a companion to the \u003Ccode>ccu-mqtt\u003C\u002Fcode> node:\nit reuses that node's topic templates and payload format, so state and commands keep flowing through \u003Ccode>ccu-mqtt\u003C\u002Fcode> and\nthe discovery configs simply point Home Assistant at those topics. Wire both nodes to the same \u003Ccode>mqtt out\u003C\u002Fcode> node and\nfeed the \u003Ccode>hm\u002Fset\u002F#\u003C\u002Fcode> topics from an \u003Ccode>mqtt in\u003C\u002Fcode> node into \u003Ccode>ccu-mqtt\u003C\u002Fcode> — see\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fblob\u002Fmaster\u002Fexamples\u002Fhome-assistant.json\">examples\u002Fhome-assistant.json\u003C\u002Fa>. One Home Assistant device is created per Homematic\ndevice with switch, light, cover, climate, binary_sensor, event, lock and sensor entities; every other datapoint can\noptionally be included as a disabled-by-default entity. Unticking a device removes it from Home Assistant on the\nnext deploy.\u003C\u002Fp>\n\u003Cp>Homematic channels can be Home Assistant devices too. The node's option \u003Cem>Channels\u003C\u002Fem> offers three models:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>one device\u003C\u002Fstrong> (the default): one Home Assistant device per Homematic device, as before;\u003C\u002Fli>\n\u003Cli>\u003Cstrong>child devices\u003C\u002Fstrong>: each channel becomes a child device of its device. This needs \u003Cstrong>Home Assistant 2026.11 or\nnewer\u003C\u002Fstrong> (an older one refuses the whole device configuration, its log says \u003Ccode>not a valid option at 'cdevs'\u003C\u002Fcode>; the\nnode logs a reminder at start). The entities move in place - entity IDs, history and settings stay - and the way\nback works at any time. A child device is in its device's area until you assign another one in Home Assistant,\nwhich takes no suggested area for an MQTT child device;\u003C\u002Fli>\n\u003Cli>\u003Cstrong>own devices\u003C\u002Fstrong>: each channel becomes a device of its own, in its channel's room, linked to the Homematic device.\nSwitching to or from this model removes the entities and creates them again under the new device: Home Assistant\nusually restores their entity IDs and areas, but settings of the devices themselves do not carry over, and\nautomations that target a device by its device ID have to be adjusted.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A channel here is a function: the channel of an HmIP switch, dimmer or blind actuator counts together with its three\nvirtual channels, a key or an input counts as one. The maintenance channel (reachability, battery, signal) stays on\nthe device, and a device with a single function (a plug, a contact) is not split. The main entity of a channel takes\nits device's name, the others the name of their datapoint.\u003C\u002Fp>\n\u003Cp>In the device table an arrow opens a device's channels: per device a setting overrides the node's option, per channel\n\u003Cem>publish\u003C\u002Fem> switches it off for Home Assistant (its MQTT topics stay) and a select puts it on the device, into a child\ndevice or into a device of its own. Channels left as they are follow their device, the device follows the node. The\nfilter also matches rooms and functions, and the bulk action applies to the listed devices or to their matching\nchannels - e.g. every channel in the room \"Kitchen\" as a device of its own; what is stored are the single values. A\nchannel that is no longer published or moves elsewhere is removed from Home Assistant on the next deploy; the node\nremembers what it published in \u003Ccode>ccu_homeassistant_&lt;node id&gt;.json\u003C\u002Fcode> in the Node-RED user directory.\u003C\u002Fp>\n\u003Cp>A device's availability in Home Assistant follows the \u003Ccode>UNREACH\u003C\u002Fcode> datapoint of its maintenance channel. The node\npublishes its current value (retained) right after the discovery configs and every change after that, so a device\nis available without ever having been unreachable. Any message on the node's input republishes both; the example\nwires Home Assistant's birth message (\u003Ccode>homeassistant\u002Fstatus\u003C\u002Fcode>) to it, so a Home Assistant restart gets them again.\u003C\u002Fp>\n\u003Cp>The device is created in the room of its channels: the discovery config carries it as the device's \u003Ccode>suggested_area\u003C\u002Fcode>\n(Home Assistant's areas are per device, the CCU's rooms per channel). The rule: the room shared by all channels of the\ndevice that lie in a room, otherwise the room of the lowest-numbered channel that lies in one; a channel in several\nrooms counts with its first - on openccu-lite, where rooms can be nested, with the most specific one - and a room of\nthe device itself comes first. The rooms come from the ReGaHSS on a CCU and from the system's metadata on openccu-lite.\nHome Assistant applies the suggestion only when it first creates the device; a room changed later on the CCU stays as\nassigned in Home Assistant (change it there, or delete the device in Home Assistant and republish the discovery). The\nnode's option \u003Cem>Suggest the channel's room as the device's area\u003C\u002Fem> (on by default) switches it off.\u003C\u002Fp>\n\u003Ch2 id=\"dynamic-configuration\">\u003Ca class=\"header-anchor\" href=\"#dynamic-configuration\">Dynamic configuration\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Most nodes can be reconfigured per message: put an object in \u003Ccode>msg.config\u003C\u002Fcode> and its\nproperties override that node's own configuration \u003Cstrong>for that one message\u003C\u002Fstrong>. The stored\nconfiguration is never modified, so the next message starts from the dialog settings\nagain — sending a different room, channel or brightness each time works as you would\nexpect.\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-javascript\">\u002F\u002F one signal node, a different colour and duration per message\nmsg.config = {dimmerColor: 4, durationValue: 10};\n\n\u002F\u002F one set-value node, a different room per message\nmsg.config = {rooms: 'Kitchen'};\nreturn msg;\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Which keys a node accepts is listed in its help panel in the editor. Anything not on\nthat list is ignored, so an unrelated property in \u003Ccode>msg.config\u003C\u002Fcode> cannot reach node\ninternals. \u003Ccode>msg.ccu\u003C\u002Fcode> is not used for this because it already carries the CCU host name.\u003C\u002Fp>\n\u003Cp>The \u003Ccode>value\u003C\u002Fcode>, \u003Ccode>get value\u003C\u002Fcode> and \u003Ccode>set value\u003C\u002Fcode> nodes additionally read plain top-level\nproperties (\u003Ccode>msg.channel\u003C\u002Fcode>, \u003Ccode>msg.datapoint\u003C\u002Fcode>, \u003Ccode>msg.rooms\u003C\u002Fcode>, …) to fill in fields left empty\nin the dialog. That is the older mechanism and is unchanged; \u003Ccode>msg.config\u003C\u002Fcode> wins over it.\u003C\u002Fp>\n\u003Cp>Inside a \u003Cstrong>subflow\u003C\u002Fstrong>, Node-RED substitutes \u003Ccode>${PARAMETER}\u003C\u002Fcode> placeholders in a node's text\nfields before the node is created, so a subflow parameter can be typed straight into the\nChannel or Datapoint field and each instance reads its own device.\u003C\u002Fp>\n\u003Ch2 id=\"configuration-examples\">\u003Ca class=\"header-anchor\" href=\"#configuration-examples\">Configuration Examples\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>The communication with the Homematic CCU needs independent connections in two directions. Node-red-contrib-ccu connects to the CCU's interface listeners (e.g. 2001\u002FTCP for BidCos-RF) while the CCU connects to node-red-contrib-ccu's BINRPC\u002FXMLRPC listeners (2048\u002Ftcp and 2049\u002Ftcp in examples below).\u003C\u002Fp>\n\u003Ch3 id=\"natd-network\">\u003Ca class=\"header-anchor\" href=\"#natd-network\">NAT'd network\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>If Node-RED\u002Fnode-red-contrib-ccu runs inside a Container or a VM with NAT'd network it's necessary to forward\u002Fexpose the ports for connections \u003Cem>from\u003C\u002Fem> the CCU \u003Cem>to\u003C\u002Fem> node-red-contrib-ccu's callback listeners (example below for a Docker container: use options \u003Ccode>-p 2048:2048 -p 2049:2049\u003C\u002Fcode>in the docker run command).\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fschema-docker.png\" alt=\"schema-docker\" \u002F>\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fccu-config-docker.png\" alt=\"ccu-config-docker\" \u002F>\u003C\u002Fp>\n\u003Cp>The config option \u003Ccode>Init address\u003C\u002Fcode>will be used to tell the CCU on which Address node-red-contrib-ccu is reachable. As 172.17.0.20 is not reachable for the CCU the Hosts IP Address and port forwarding\u002Fexposal has to be used. As \u003Ccode>Listen address\u003C\u002Fcode> setting also \u003Ccode>0.0.0.0\u003C\u002Fcode> (which tells node-red-contrib-ccu to bind it's listeners to all available interfaces) would be possible.\u003C\u002Fp>\n\u003Ch3 id=\"pivccu\">\u003Ca class=\"header-anchor\" href=\"#pivccu\">piVCCU\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>This example shows a configuration for piVCCU and Node-RED running in containers with bridged networking.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fschema-pivccu.png\" alt=\"schema-pivccu\" \u002F>\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fccu-config-pivccu.png\" alt=\"ccu-config-pivccu\" \u002F>\u003C\u002Fp>\n\u003Ch3 id=\"debmatic\">\u003Ca class=\"header-anchor\" href=\"#debmatic\">debmatic\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>In this example both Node-RED and debmatic are installed on the same (possibly virtual) host.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fschema-debmatic.png\" alt=\"schema-debmatic\" \u002F>\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fccu-config-debmatic.png\" alt=\"ccu-config-debmatic\" \u002F>\u003C\u002Fp>\n\u003Ch3 id=\"multiple-ccus\">\u003Ca class=\"header-anchor\" href=\"#multiple-ccus\">Multiple CCUs\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>With the same logic as shown above, multiple CCUs can be managed within one Node-RED instance.\nThis will require two individual configuration nodes, in which the respective connection setting are provided.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Frdmtc\u002Fnode-red-contrib-ccu\u002Fmaster\u002Fdocs\u002Fschema-multiCCU.png\" alt=\"schema-multiCCU\" \u002F>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>Listen address\u003C\u002Fcode> typically is the same for both Configurations as it is determined by the host that is running Node-RED\u003C\u002Fli>\n\u003Cli>\u003Ccode>BINRPC listening port\u003C\u002Fcode> and \u003Ccode>XMLRPC listening port\u003C\u002Fcode> need to be different across the two configurations. One configuration can use the defaults (2048\u002Ftcp and 2049\u002Ftcp), the other needs to use two new ports. node-red-contrib-ccu will make a proposal, but this can be modified, e.g. if the proposed ports are already used.\u003C\u002Fli>\n\u003Cli>The examples for \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu#NAT'd-network\">NAT'd network\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frdmtc\u002Fnode-red-contrib-ccu#piVCCU\">piVCCU\u003C\u002Fa> and \u003Ca href=\"#debmatic\">debmatic\u003C\u002Fa> will apply likewise for multiple CCUs. This means, for running Node-RED within a docker, all BINRPC and XMLRPC ports must be forwarded, e.g. \u003Ccode>-p 2048:2048 -p 2049:2049 -p 2061:2061 -p 2062:2062\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"license\">\u003Ca class=\"header-anchor\" href=\"#license\">License\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>MIT (c) Sebastian Raff and node-red-contrib-ccu contributors\u003C\u002Fp>\n",1796378478347]