The test commands did not work - but they do work if I change to 58336 instead of 58338. Also the read status v1 triggers an event in the debug - but not v2.
This is the result for 58339:
This is the modified flow where the test commands seem to work.
[{"id":"3a3d48083fb04932","type":"tab","label":"Cregeland curtain debug","disabled":false,"info":"","env":[]},{"id":"c885a1ed834c58fe","type":"hdl-raw-in","z":"3a3d48083fb04932","controller":"746c208aec158bed","name":"","x":90,"y":180,"wires":[["b00ce7a280aae8b7","ded39737b0165cc1"]]},{"id":"b00ce7a280aae8b7","type":"switch","z":"3a3d48083fb04932","name":"sender","property":"sender","propertyType":"msg","rules":[{"t":"eq","v":"1.5","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":350,"y":260,"wires":[["8a7a1b9ec676db0b"]]},{"id":"77175d9bb6c8da23","type":"switch","z":"3a3d48083fb04932","name":"code","property":"code","propertyType":"msg","rules":[{"t":"eq","v":"58336","vt":"str"},{"t":"eq","v":"58338","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":100,"wires":[["ac2b8e08472a1fe3"],["e3ec9cf255dc670d"]]},{"id":"ac2b8e08472a1fe3","type":"debug","z":"3a3d48083fb04932","name":"58336 Curtain Switch Control","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":680,"y":80,"wires":[]},{"id":"65074da8a605c63d","type":"debug","z":"3a3d48083fb04932","name":"58337 Response Curtain Switch Control","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":720,"y":220,"wires":[]},{"id":"8a7a1b9ec676db0b","type":"switch","z":"3a3d48083fb04932","name":"code","property":"code","propertyType":"msg","rules":[{"t":"eq","v":"58337","vt":"str"},{"t":"eq","v":"58339","vt":"str"},{"t":"eq","v":"58340","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":470,"y":260,"wires":[["65074da8a605c63d"],["29213d5322990792"],["7b5d4d97185b40e8"]]},{"id":"ded39737b0165cc1","type":"switch","z":"3a3d48083fb04932","name":"target","property":"target","propertyType":"msg","rules":[{"t":"eq","v":"1.5","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":350,"y":100,"wires":[["77175d9bb6c8da23"]]},{"id":"e9c6fc35735d03bf","type":"comment","z":"3a3d48083fb04932","name":"Command to curtain module","info":"","x":380,"y":60,"wires":[]},{"id":"9dcb0699ae35bf80","type":"comment","z":"3a3d48083fb04932","name":"Answers from Curtain module","info":"","x":380,"y":220,"wires":[]},{"id":"e3ec9cf255dc670d","type":"debug","z":"3a3d48083fb04932","name":"58338 Read Status of Curtain Switch","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":710,"y":120,"wires":[]},{"id":"29213d5322990792","type":"debug","z":"3a3d48083fb04932","name":" 58339 Response Read Status of Curtain Switch","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":740,"y":260,"wires":[]},{"id":"7b5d4d97185b40e8","type":"debug","z":"3a3d48083fb04932","name":"58340 Broadcast Status of Status of Curtain Switches","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":760,"y":300,"wires":[]},{"id":"3765e77989f3ca13","type":"comment","z":"3a3d48083fb04932","name":"Test commands","info":"","x":100,"y":400,"wires":[]},{"id":"6461461c9b88d084","type":"inject","z":"3a3d48083fb04932","name":"Read status curtain 1","props":[{"p":"code","v":"58338","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"1","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":180,"y":460,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"7baef38eb9b12065","type":"hdl-raw-out","z":"3a3d48083fb04932","controller":"746c208aec158bed","name":"","x":610,"y":660,"wires":[]},{"id":"a8a0ea807540fff7","type":"inject","z":"3a3d48083fb04932","name":"Read status curtain 2","props":[{"p":"code","v":"58338","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"2","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":180,"y":780,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"d0db9cf3c0af3c1d","type":"inject","z":"3a3d48083fb04932","name":"Close curtain 1","props":[{"p":"code","v":"58336","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"1","vt":"num"},{"p":"payload.status","v":"2","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":580,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"3085b69f73a2e0f6","type":"inject","z":"3a3d48083fb04932","name":"Open curtain 1","props":[{"p":"code","v":"58336","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"1","vt":"num"},{"p":"payload.status","v":"1","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":640,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"5483fd27d8442050","type":"inject","z":"3a3d48083fb04932","name":"Open curtain 1","props":[{"p":"code","v":"58338","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"1","vt":"num"},{"p":"payload.status","v":"0","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":700,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"de1ad50c1a599ddb","type":"inject","z":"3a3d48083fb04932","name":"Close curtain 2","props":[{"p":"code","v":"58336","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"2","vt":"num"},{"p":"payload.status","v":"2","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":900,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"7a99b3ba002e342a","type":"inject","z":"3a3d48083fb04932","name":"Open curtain 2","props":[{"p":"code","v":"58336","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"2","vt":"num"},{"p":"payload.status","v":"1","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":960,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"be412e235c4ffe3c","type":"inject","z":"3a3d48083fb04932","name":"Open curtain 2","props":[{"p":"code","v":"58338","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"payload.curtain","v":"2","vt":"num"},{"p":"payload.status","v":"0","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":1020,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"8c657ab601401d4d","type":"comment","z":"3a3d48083fb04932","name":"Debug","info":"","x":70,"y":20,"wires":[]},{"id":"1804f4a612932c84","type":"debug","z":"3a3d48083fb04932","name":"CMD to module","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":640,"y":720,"wires":[]},{"id":"d53dffebe07f93ad","type":"inject","z":"3a3d48083fb04932","name":"Read status curtain 1 v2","props":[{"p":"code","v":"58338","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"curtain","v":"1","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":190,"y":520,"wires":[["7baef38eb9b12065","1804f4a612932c84"]]},{"id":"e834224f7b345554","type":"inject","z":"3a3d48083fb04932","name":"Read status curtain 1 v2","props":[{"p":"code","v":"58338","vt":"num"},{"p":"target","v":"1.5","vt":"str"},{"p":"curtain","v":"1","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":190,"y":840,"wires":[["1804f4a612932c84","7baef38eb9b12065"]]},{"id":"746c208aec158bed","type":"hdl-controller","host":"192.168.1.250","port":"6000","subnetid":"1","deviceid":"199","broadcast":false,"daliId":"0"}]
As for the Floorheating - I now have the HDL controller on a dedicated device ID. The lighting and relay control works - and also the flow for testing curtains - so the HDL controller communication should be ok.
Once again thank you for your help