Hi i am trying to send an AddrOrUpdateReport to Alexa Gateway but i always get the error "The request was malformed". Probably the error is something obious but i can´t find it.
This is the JSON i am sending:
{ "event": { "header": { "namespace": "Alexa.Discovery", "name": "AddOrUpdateReport", "payloadVersion": "3", "messageId": "1f45d172-5a26-4a7f-9a3d-9c23557205e5" }, "payload": { "endpoints": [ { "endpointId": "517", "manufacturerName": "Gira", "description": "", "friendlyName": "Techo", "displayCategories": [ "LIGHT" ], "cookie": { "dim_s": "1552", "dim_val": "1676", "slot_dim": "1614" }, "capabilities": [ { "type": "AlexaInterface", "interface": "Alexa", "version": "3" }, { "type": "AlexaInterface", "version": "3", "interface": "Alexa.BrightnessController", "properties": { "supported": [ { "name": "brightness" } ], "retrievable": true, "proactivelyReported": true } }, { "type": "AlexaInterface", "version": "3", "interface": "Alexa.PowerController", "properties": { "supported": [ { "name": "powerstate" } ], "retrievable": true, "proactivelyReported": true } } ] } ], "scope": { "type": "BearerToken", "token": "<mytoken>" } } } }