Hmmm habe schonmal ein Teil der Lösung selbst gefunden. Wenn es jemanden interessiert.
Die Lösung war ein anderes Objekt.  Damit kann man die Lampen dimmen und aus und einschalten.
Die Farben sind auch nicht besonders schwer gewesen:
im msg.rgb sind diese enthalten und müssen nur dem Objekt zugeordnet werden.
Jetzt kämpfe ich noch mit dem umschalten auf weiss. Dafür wäre eigentlich RGB 255,0,0 zuständig. klappt aber nicht.
Vielleicht hat jemand da einen Tip für mich. Weiss gibt es als extra Datenpunkt. Er nennt isch whiteMode.
Aber wie kann ich ihn setzen abhängig von dem was Alexa liefert wenn ich "Schalte LED Licht auf weiss" sage.
Payload ist [255,255,0]
Hmmm hier habe ich keine Idee. Gelb klappt leider auch nicht 😞
2019-11-09 21_20_31-Window.png
2019-11-09 21_17_04-Window.png
Hier der Code:
[
    {
        "id": "53be16c5.4b5df8",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": ""
    },
    {
        "id": "60346ca3.879a8c",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Schalter2An",
        "topic": "broadlink2.0.RM:Broadlink-RMPROPLUS-d0-a1-a4.L.Schalter2AN",
        "ack": "false",
        "autoCreate": "true",
        "x": 1050,
        "y": 40,
        "wires": []
    },
    {
        "id": "b78d10ca.35874",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Zone 1 ON",
        "topic": "milight.0.zone1.on",
        "ack": "false",
        "autoCreate": "false",
        "x": 1210,
        "y": 320,
        "wires": []
    },
    {
        "id": "e0e7e759.4c9cd8",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Zone 1 OFF",
        "topic": "milight.0.zone1.off",
        "ack": "false",
        "autoCreate": "false",
        "x": 1210,
        "y": 380,
        "wires": []
    },
    {
        "id": "4fc21184.520f9",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Schalter2Aus",
        "topic": "broadlink2.0.RM:Broadlink-RMPROPLUS-d0-a1-a4.L.Schalter2AUS",
        "ack": "false",
        "autoCreate": "true",
        "x": 1060,
        "y": 100,
        "wires": []
    },
    {
        "id": "6e7ed367.3275ec",
        "type": "amazon-echo-device",
        "z": "53be16c5.4b5df8",
        "name": "kleines Licht",
        "topic": "kleines Licht",
        "x": 380,
        "y": 40,
        "wires": [
            [
                "163001df.df0626"
            ]
        ]
    },
    {
        "id": "83458182.dcaf88",
        "type": "amazon-echo-device",
        "z": "53be16c5.4b5df8",
        "name": "Led Licht",
        "topic": "Led Licht",
        "x": 360,
        "y": 220,
        "wires": [
            [
                "67a7c038.55e108",
                "522aff17.2a956"
            ]
        ]
    },
    {
        "id": "1975f4dc.9f505b",
        "type": "change",
        "z": "53be16c5.4b5df8",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "true",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 800,
        "y": 240,
        "wires": [
            [
                "b78d10ca.35874"
            ]
        ]
    },
    {
        "id": "d0bd6544.092dc8",
        "type": "change",
        "z": "53be16c5.4b5df8",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "off",
                "fromt": "str",
                "to": "true",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 800,
        "y": 300,
        "wires": [
            [
                "e0e7e759.4c9cd8"
            ]
        ]
    },
    {
        "id": "67a7c038.55e108",
        "type": "switch",
        "z": "53be16c5.4b5df8",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "on",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "off",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 540,
        "y": 300,
        "wires": [
            [
                "1975f4dc.9f505b",
                "d5e35e4e.b96ff"
            ],
            [
                "d0bd6544.092dc8"
            ]
        ]
    },
    {
        "id": "163001df.df0626",
        "type": "switch",
        "z": "53be16c5.4b5df8",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "on",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "off",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 560,
        "y": 60,
        "wires": [
            [
                "87a22a64.1843b8"
            ],
            [
                "9fd5efc2.216c38"
            ]
        ]
    },
    {
        "id": "87a22a64.1843b8",
        "type": "change",
        "z": "53be16c5.4b5df8",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "true",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 770,
        "y": 40,
        "wires": [
            [
                "60346ca3.879a8c"
            ]
        ]
    },
    {
        "id": "9fd5efc2.216c38",
        "type": "change",
        "z": "53be16c5.4b5df8",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "true",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 780,
        "y": 80,
        "wires": [
            [
                "4fc21184.520f9"
            ]
        ]
    },
    {
        "id": "9d4acb7d.b75bc",
        "type": "amazon-echo-hub",
        "z": "53be16c5.4b5df8",
        "port": "80",
        "processinput": 0,
        "x": 120,
        "y": 60,
        "wires": [
            [
                "6e7ed367.3275ec",
                "83458182.dcaf88",
                "cfe5816a.9e2c5"
            ]
        ]
    },
    {
        "id": "cfe5816a.9e2c5",
        "type": "amazon-echo-device",
        "z": "53be16c5.4b5df8",
        "name": "kleine Lampe",
        "topic": "kleine Lampe",
        "x": 380,
        "y": 100,
        "wires": [
            [
                "163001df.df0626"
            ]
        ]
    },
    {
        "id": "d5e35e4e.b96ff",
        "type": "function",
        "z": "53be16c5.4b5df8",
        "name": "Dimmer",
        "func": "var newMsg = { payload: Math.round (msg.bri*100/254) } ;\nreturn newMsg;",
        "outputs": 1,
        "noerr": 0,
        "x": 760,
        "y": 180,
        "wires": [
            [
                "a0522704.1810f",
                "38b7b4e7.d8f324"
            ]
        ]
    },
    {
        "id": "a0522704.1810f",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Zone 1 Brightness",
        "topic": "milight.0.zone1.brightness",
        "ack": "false",
        "autoCreate": "true",
        "x": 1230,
        "y": 180,
        "wires": []
    },
    {
        "id": "38b7b4e7.d8f324",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Zone 1 Extended level with 22 steps",
        "topic": "milight.0.zone1.brightness2",
        "ack": "false",
        "autoCreate": "true",
        "x": 1290,
        "y": 240,
        "wires": []
    },
    {
        "id": "522aff17.2a956",
        "type": "change",
        "z": "53be16c5.4b5df8",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "rgb",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 570,
        "y": 360,
        "wires": [
            [
                "de6c0884.a83658"
            ]
        ]
    },
    {
        "id": "de6c0884.a83658",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Zone 1 Color RGB",
        "topic": "milight.0.zone1.rgb",
        "ack": "false",
        "autoCreate": "false",
        "x": 1230,
        "y": 460,
        "wires": []
    },
    {
        "id": "aa3c4562.4aa8e",
        "type": "function",
        "z": "53be16c5.4b5df8",
        "name": "",
        "func": "msg.payload = msg.payload;\nmsg.payload = msg.payload.toString();\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "x": 650,
        "y": 460,
        "wires": [
            [
                "626eb162.d74ce8"
            ]
        ]
    },
    {
        "id": "da86a305.ee2d",
        "type": "ioBroker out",
        "z": "53be16c5.4b5df8",
        "name": "Zone 1 Night, white or RGB mode",
        "topic": "milight.0.zone1.colorMode",
        "ack": "false",
        "autoCreate": "false",
        "x": 1440,
        "y": 540,
        "wires": []
    },
    {
        "id": "626eb162.d74ce8",
        "type": "function",
        "z": "53be16c5.4b5df8",
        "name": "",
        "func": "if(msg.payload==\"255,212,0\"){\t\nvar INFO = {payload:\"true\"}\n    return INFO;\t\n}else{\nvar INFO2 = {payload:\"false\"}\n    return INFO2;\n}",
        "outputs": 1,
        "noerr": 0,
        "x": 780,
        "y": 540,
        "wires": [
            [
                "da86a305.ee2d"
            ]
        ]
    }
]