While playing with Deconz I wrote this for node red while the binding is getting fixed. It allows for unit conversion and will output to your mqtt server. Update your websocket address, units and mqtt. It uses uniqueid vs id since id can change.
[{"id":"7da00429.467ddc","type":"tab","label":"Deconz","disabled":false,"info":""},{"id":"6c9ab41.87c244c","type":"websocket in","z":"7da00429.467ddc","name":"Deconz","server":"","client":"cb1bee35.eb442","x":110,"y":80,"wires":[["b537cf10.2e873"]]},{"id":"b537cf10.2e873","type":"json","z":"7da00429.467ddc","name":"","property":"payload","action":"","pretty":false,"x":170,"y":220,"wires":[["5064334c.3fb76c"]]},{"id":"17a1b949.a767e7","type":"mqtt out","z":"7da00429.467ddc","name":"Publish sensor","topic":"","qos":"0","retain":"false","broker":"8a5b5094.2f7bb","x":1200,"y":220,"wires":[]},{"id":"2f04891b.f65796","type":"switch","z":"7da00429.467ddc","name":"Identify switch","property":"payload.state.buttonevent","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":380,"y":380,"wires":[["848b7ecb.3f579"],["5387bab1.f228f4"]]},{"id":"ae621788.d2ae48","type":"switch","z":"7da00429.467ddc","name":"identify motion","property":"payload.state.presence","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":382,"y":60,"wires":[["cd490f7.3ef7bf"],["3eea8388.f5890c"]]},{"id":"3eea8388.f5890c","type":"switch","z":"7da00429.467ddc","name":"identify lightlevel","property":"payload.state.lightlevel","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":382,"y":100,"wires":[["50266bb1.a35cd4"],["11247bba.98cb54"]]},{"id":"11247bba.98cb54","type":"switch","z":"7da00429.467ddc","name":"identify contact","property":"payload.state.open","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":382,"y":140,"wires":[["cf24f527.dd1b18"],["454d7e92.076"]]},{"id":"454d7e92.076","type":"switch","z":"7da00429.467ddc","name":"identify temperature","property":"payload.state.temperature","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":402,"y":180,"wires":[["363ce753.462ff8"],["22fe5d5e.172e62"]]},{"id":"22fe5d5e.172e62","type":"switch","z":"7da00429.467ddc","name":"identify humidity","property":"payload.state.humidity","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":382,"y":220,"wires":[["46fcd980.827238"],["97504059.d326f"]]},{"id":"848b7ecb.3f579","type":"function","z":"7da00429.467ddc","name":"Deconz/switch/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/switch/\"+mac;\nnewmsg.payload = msg.payload.state.buttonevent;\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":380,"wires":[["17a1b949.a767e7"]]},{"id":"cd490f7.3ef7bf","type":"function","z":"7da00429.467ddc","name":"Deconz/motion/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/motion/\"+mac;\nif(msg.payload.state.presence === false){\n newmsg.payload = \"CLOSED\";\n}else{\n newmsg.payload = \"OPEN\";\n}\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":60,"wires":[["17a1b949.a767e7"]]},{"id":"50266bb1.a35cd4","type":"function","z":"7da00429.467ddc","name":"Deconz/lightlevel/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/lightlevel/\"+mac;\nnewmsg.payload = msg.payload.state.lux;\n\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":100,"wires":[["17a1b949.a767e7"]]},{"id":"cf24f527.dd1b18","type":"function","z":"7da00429.467ddc","name":"Deconz/contact/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/contact/\"+mac;\nif(msg.payload.state.open === false){\n newmsg.payload = \"CLOSED\";\n}else{\n newmsg.payload = \"OPEN\";\n}\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":140,"wires":[["17a1b949.a767e7"]]},{"id":"363ce753.462ff8","type":"function","z":"7da00429.467ddc","name":"Deconz/temperature/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/temperature/\"+mac;\nnewmsg.payload = msg.payload.state.temperature/100;\n\nreturn newmsg;","outputs":1,"noerr":0,"x":650,"y":180,"wires":[["9995ee21.7f2db"]]},{"id":"46fcd980.827238","type":"function","z":"7da00429.467ddc","name":"Deconz/humidity/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/humidity/\"+mac;\nnewmsg.payload = (msg.payload.state.humidity)/100;\n\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":220,"wires":[["17a1b949.a767e7"]]},{"id":"c4e35c62.82d46","type":"function","z":"7da00429.467ddc","name":"Deconz/fire/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/fire/\"+mac;\nif(msg.payload.state.presence === false){\n newmsg.payload = \"CLOSED\";\n}else{\n newmsg.payload = \"OPEN\";\n}\nreturn newmsg;","outputs":1,"noerr":0,"x":630,"y":260,"wires":[["17a1b949.a767e7"]]},{"id":"97504059.d326f","type":"switch","z":"7da00429.467ddc","name":"identify smoke","property":"payload.state.fire","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":380,"y":260,"wires":[["c4e35c62.82d46"],["2394b58e.c137ca"]]},{"id":"70feef3e.8a7d5","type":"function","z":"7da00429.467ddc","name":"Deconz/gas/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/gas/\"+mac;\nif(msg.payload.state.presence === false){\n newmsg.payload = \"CLOSED\";\n}else{\n newmsg.payload = \"OPEN\";\n}\nreturn newmsg;","outputs":1,"noerr":0,"x":630,"y":300,"wires":[["17a1b949.a767e7"]]},{"id":"2394b58e.c137ca","type":"switch","z":"7da00429.467ddc","name":"identify gas","property":"payload.state.alarm","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":370,"y":300,"wires":[["70feef3e.8a7d5"],["479c9f1d.3d94c"]]},{"id":"479c9f1d.3d94c","type":"switch","z":"7da00429.467ddc","name":"identify pressure","property":"payload.state.pressure","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":380,"y":340,"wires":[["6fb7b2bf.6366fc"],["2f04891b.f65796"]]},{"id":"6fb7b2bf.6366fc","type":"function","z":"7da00429.467ddc","name":"Deconz/pressure/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/pressure/\"+mac;\nnewmsg.payload = msg.payload.state.pressure/10;\n\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":340,"wires":[["cc8c59b9.6f9508"]]},{"id":"9995ee21.7f2db","type":"unit-converter","z":"7da00429.467ddc","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"Temp Convert","x":900,"y":220,"wires":[["17a1b949.a767e7"]]},{"id":"cc8c59b9.6f9508","type":"unit-converter","z":"7da00429.467ddc","category":"pressure","inputUnit":"kPa","outputUnit":"torr","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"Press Convert","x":900,"y":300,"wires":[["17a1b949.a767e7"]]},{"id":"5064334c.3fb76c","type":"switch","z":"7da00429.467ddc","name":"Is Config","property":"payload.config","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":360,"y":20,"wires":[["4ab28ba.80e9f74"],["ae621788.d2ae48"]]},{"id":"4ab28ba.80e9f74","type":"function","z":"7da00429.467ddc","name":"Deconz/battery/{{uniqueid}}","func":"// Needs to be adjusted\nvar newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/battery/\"+mac;\nnewmsg.payload = msg.payload.config.battery;\n\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":20,"wires":[["17a1b949.a767e7"]]},{"id":"5387bab1.f228f4","type":"switch","z":"7da00429.467ddc","name":"Identify Daylight","property":"payload.state.status","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":380,"y":420,"wires":[["634af866.19d1e8"],[]]},{"id":"634af866.19d1e8","type":"function","z":"7da00429.467ddc","name":"Deconz/daylight/{{uniqueid}}","func":"var newmsg = {};\nvar mac = msg.payload.uniqueid.substring(0, 23);\nnewmsg.payload = {};\nnewmsg.topic = {};\nnewmsg.topic = \"Deconz/switch/\"+mac;\nif(msg.payload.state.status === 100){\n newmsg.payload = \"NADIR\";\n}\nif(msg.payload.state.status === 110){\n newmsg.payload = \"NIGHT_END\";\n}\nif(msg.payload.state.status === 120){\n newmsg.payload = \"NAUTICAL_DAWN\";\n}\nif(msg.payload.state.status === 130){\n newmsg.payload = \"DAWN\";\n}\nif(msg.payload.state.status === 140){\n newmsg.payload = \"SUNRISE_START\";\n}\nif(msg.payload.state.status === 150){\n newmsg.payload = \"SUNRISE_END\";\n}\nif(msg.payload.state.status === 160){\n newmsg.payload = \"GOLDENHOUR1\";\n}\nif(msg.payload.state.status === 170){\n newmsg.payload = \"GOLDENHOUR2\";\n}\nif(msg.payload.state.status === 180){\n newmsg.payload = \"SUNSET_START\";\n}\nif(msg.payload.state.status === 190){\n newmsg.payload = \"SUNSET_END\";\n}\nif(msg.payload.state.status === 200){\n newmsg.payload = \"SUNSET_END\";\n}\nif(msg.payload.state.status === 210){\n newmsg.payload = \"DUSK\";\n}\nif(msg.payload.state.status === 220){\n newmsg.payload = \"NAUTICAL_DUSK\";\n}\nif(msg.payload.state.status === 230){\n newmsg.payload = \"NIGHT_START\";\n}\nreturn newmsg;","outputs":1,"noerr":0,"x":640,"y":420,"wires":[["17a1b949.a767e7"]]},{"id":"cb1bee35.eb442","type":"websocket-client","z":"","path":"ws://192.168.1.62:81","tls":"","wholemsg":"false"},{"id":"8a5b5094.2f7bb","type":"mqtt-broker","z":"","name":"","broker":"192.168.1.200","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"NodeRed","birthQos":"0","birthPayload":"Connected","closeTopic":"NodeRed","closePayload":"Disconnected","willTopic":"","willQos":"0","willPayload":""}]