Parameter der Node Display für HMIP-BSL als Eingang der Node ändern
Redmatic: 7.1.3 node-red-contrib-ccu: 3.4.0
Problem: Nutzung der Display-Node mit einem HMIP-BSL funktioniert. Wollte aber den Input dieser Node dynamisch ändern. Also z.B. Helligkeit, an, aus, Farbe dynamisch am Eingang übergeben. Geht das, oder lässt sich das nachpflegen?
Gruß Thomas
Hi Thomas,
Ja das geht. Bin grad am Handy, aber ich schick dir morgen gerne ne kleine Func die ich geschrieben habe um mir einen langen Tastendruck durch die Farben zu iterieren.
Lg Ben
sent by iPhone
Am 07.01.2021 um 17:48 schrieb Thomas Löffel [email protected]:
Redmatic: 7.1.3 node-red-contrib-ccu: 3.4.0
Problem: Nutzung der Display-Node mit einem HMIP-BSL funktioniert. Wollte aber den Input dieser Node dynamisch ändern. Also z.B. Helligkeit, an, aus, Farbe dynamisch am Eingang übergeben. Geht das, oder lässt sich das nachpflegen?
Gruß Thomas
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/rdmtc/RedMatic/issues/466, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARQLB4K6KI7FHSCVUX5KDVLSYXQT7ANCNFSM4VZHNPKA.
Hallo Ben,
danke Dir.
LG Thomas
Hi Thomas,
Hab Dir meinen Flow reinkopiert. Damit kannst du sehen wie ich das gelöst habe:
[{"id":"b000e553.0c1dd8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"43ede4fe.14aa54","type":"group","z":"b000e553.0c1dd8","name":"Nachtlicht: Color Change","style":{"label":true,"stroke":"#92d04f"},"nodes":["eac66590.9392a","2816b8d2.bcb31","f779912.e5555f","9bbb77ea.dc043","17203687.440989","b1c697e2.25b4a8","5e0905d9.2b1d74","bc922c81.0b4ac","693f1542.aab89c","6ad4406a.f173a8"],"x":234,"y":159,"w":892,"h":242},{"id":"eac66590.9392a","type":"ccu-rpc-event","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"Nachtlicht:ChangeColor","iface":"HmIP-RF","ccuConfig":"38263145.35ea0e","rooms":"","roomsRx":"str","functions":"","functionsRx":"str","device":"","deviceRx":"str","deviceName":"","deviceNameRx":"str","deviceType":"HmIP-BSL","deviceTypeRx":"str","channel":"001A5A499B3C61:1","channelRx":"str","channelName":"","channelNameRx":"str","channelType":"","channelTypeRx":"str","channelIndex":"","channelIndexRx":"str","datapoint":"PRESS_LONG","datapointRx":"str","change":true,"working":false,"cache":false,"topic":"${CCU}/${Interface}/${channelName}/${datapoint}","x":360,"y":200,"wires":[["6ad4406a.f173a8"]]},{"id":"2816b8d2.bcb31","type":"function","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"ColorSwitcher","func":"let clOff = 0;\nlet clBlue = 1;\nlet clGreen = 2;\nlet clAzure = 3;\nlet clRed = 4;\nlet clViolett = 5;\nlet clYellow = 6;\nlet clWhite = 7;\n\nlet OGBedRoomLightColor = context.get("OGBedRoomLightColor") || clGreen;\n\nOGBedRoomLightColor++;\n\nif (OGBedRoomLightColor > 7)\n OGBedRoomLightColor = 5;\n\ncontext.set("OGBedRoomLightColor", OGBedRoomLightColor);\n\nmsg.payload = OGBedRoomLightColor;\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":860,"y":340,"wires":[["9bbb77ea.dc043","693f1542.aab89c"]]},{"id":"f779912.e5555f","type":"ccu-get-value","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"CurrentColor","ccuConfig":"38263145.35ea0e","iface":"HmIP-RF","channel":"001A5A499B3C61:8 DG-NachtlampeTaster-DimmerUp","sysvar":"Alarmmeldungen","sysvarProperty":"value","datapoint":"COLOR","datapointProperty":"value","setProp":"payload","setPropType":"msg","x":510,"y":260,"wires":[["5e0905d9.2b1d74"]]},{"id":"9bbb77ea.dc043","type":"ccu-set-value","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"setColor","iface":"HmIP-RF","ccuConfig":"38263145.35ea0e","rooms":"","roomsRx":"str","functions":"","functionsRx":"str","device":"","deviceRx":"str","deviceName":"","deviceNameRx":"str","deviceType":"","deviceTypeRx":"str","channel":"001A5A499B3C61:8","channelRx":"str","channelName":"","channelNameRx":"str","channelType":"","channelTypeRx":"str","channelIndex":"","channelIndexRx":"str","datapoint":"COLOR","datapointRx":"str","force":true,"x":1040,"y":300,"wires":[]},{"id":"17203687.440989","type":"ccu-signal","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"Nachtlicht:Oben:Grün","iface":"HmIP-RF","channel":"001A5A499B3C61:8","chime":"","length":108000,"repeat":1,"repeatType":"num","volume":100,"volumeType":"num","line1":"","line2":"","line3":"","signal":"","channelType":"BSL_DIMMER_VIRTUAL_RECEIVER","led":"","acousticAlarmSelection":"DISABLE_ACOUSTIC_SIGNAL","durationUnit":"S","durationValue":0,"durationValueType":"num","rampTimeUnit":"S","rampTimeValue":0,"rampTimeValueType":"num","repetitions":0,"dimmerColor":"2","dimmerLevel":100,"dimmerList":[],"soundLevel":50,"soundLevelType":"num","soundList":[],"opticalAlarmSelection":"DISABLE_OPTICAL_SIGNAL","ccuConfig":"38263145.35ea0e","x":880,"y":200,"wires":[]},{"id":"b1c697e2.25b4a8","type":"ccu-signal","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"Nachtlicht:unten:Grün","iface":"HmIP-RF","channel":"001A5A499B3C61:12","chime":"","length":108000,"repeat":1,"repeatType":"num","volume":100,"volumeType":"num","line1":"","line2":"","line3":"","signal":"","channelType":"BSL_DIMMER_VIRTUAL_RECEIVER","led":"","acousticAlarmSelection":"DISABLE_ACOUSTIC_SIGNAL","durationUnit":"S","durationValue":0,"durationValueType":"num","rampTimeUnit":"S","rampTimeValue":0,"rampTimeValueType":"num","repetitions":0,"dimmerColor":"2","dimmerLevel":100,"dimmerList":[],"soundLevel":50,"soundLevelType":"num","soundList":[],"opticalAlarmSelection":"DISABLE_OPTICAL_SIGNAL","ccuConfig":"38263145.35ea0e","x":880,"y":248,"wires":[]},{"id":"5e0905d9.2b1d74","type":"ccu-switch","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"","ccuConfig":"38263145.35ea0e","iface":"HmIP-RF","channel":"001A5A499B3C61:8 DG-NachtlampeTaster-DimmerUp","sysvar":"Alarmmeldungen","sysvarProperty":"value","datapoint":"LEVEL","datapointProperty":"value","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"1","vt":"num"},{"t":"gte","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":670,"y":260,"wires":[["17203687.440989","b1c697e2.25b4a8","bc922c81.0b4ac"],["2816b8d2.bcb31"]]},{"id":"bc922c81.0b4ac","type":"delay","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":840,"y":299,"wires":[["2816b8d2.bcb31"]]},{"id":"693f1542.aab89c","type":"ccu-set-value","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"setColor","iface":"HmIP-RF","ccuConfig":"38263145.35ea0e","rooms":"","roomsRx":"str","functions":"","functionsRx":"str","device":"","deviceRx":"str","deviceName":"","deviceNameRx":"str","deviceType":"","deviceTypeRx":"str","channel":"001A5A499B3C61:12","channelRx":"str","channelName":"","channelNameRx":"str","channelType":"","channelTypeRx":"str","channelIndex":"","channelIndexRx":"str","datapoint":"COLOR","datapointRx":"str","force":true,"x":1040,"y":360,"wires":[]},{"id":"6ad4406a.f173a8","type":"join","z":"b000e553.0c1dd8","g":"43ede4fe.14aa54","name":"","mode":"custom","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\nfile://n","joinerType":"str","accumulate":false,"timeout":"1","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":530,"y":200,"wires":[["f779912.e5555f"]]},{"id":"38263145.35ea0e","type":"ccu-connection","name":"localhost","host":"localhost","regaEnabled":true,"bcrfEnabled":true,"iprfEnabled":true,"virtEnabled":true,"bcwiEnabled":false,"cuxdEnabled":true,"regaPoll":true,"regaInterval":"30","rpcPingTimeout":"60","rpcInitAddress":"127.0.0.1","rpcServerHost":"127.0.0.1","rpcBinPort":"2047","rpcXmlPort":"2048","queueTimeout":"5000","queuePause":"250","contextStore":"default"}]
Lg Ben
From: Thomas Löffel [email protected] Sent: Friday, 8 January 2021 18:30 To: rdmtc/RedMatic [email protected] Cc: Benjamin Helbig [email protected]; Comment [email protected] Subject: Re: [rdmtc/RedMatic] Parameter der Node Display für HMIP-BSL als Eingang der Node ändern (#466)
Hallo Ben,
danke Dir.
LG Thomas
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rdmtc/RedMatic/issues/466#issuecomment-756895328, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARQLB4ICVSGKS7BVXCE7PSLSY46J3ANCNFSM4VZHNPKA.
Hallo Ben,
danke für den Tipp! Klappt auch super.
Die Node Display kann das leider nicht selbst, richtig?
Gruß Thomas
Hallo Zusammen,
ich habe das mal wie folgt ausprobiert.

Hier habe ich das mal beschrieben und den Code hinterlegt. https://homematic-forum.de/forum/viewtopic.php?f=77&t=63832&p=633890#p633890
Gruß Thomas
Nope. Oder sagen wir anders: Ich wüsste nicht wie 😊
LG
From: Thomas Löffel [email protected] Sent: Saturday, 9 January 2021 01:26 To: rdmtc/RedMatic [email protected] Cc: Benjamin Helbig [email protected]; Comment [email protected] Subject: Re: [rdmtc/RedMatic] Parameter der Node Display für HMIP-BSL als Eingang der Node ändern (#466)
Hallo Ben,
danke für den Tipp! Klappt auch super.
Die Node Display kann das leider nicht selbst, richtig?
Gruß Thomas
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rdmtc/RedMatic/issues/466#issuecomment-757060638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARQLB4LISWYKV337FMQDW2DSY6PCFANCNFSM4VZHNPKA.