Hi,
I'm developing V3 smart home skill. I've developed the ReportState->StateReport, and in the discovery response, I've set proactivelyReported=false and retrievable=true.
With that configuration, everything works fine. I can see that when I'm observing some device in my Alexa app, my lambda getting lots of ReportState requests.
I tried to move to proactive reporting. In the discovery, I've changed proactivelyReported=true, and started to send ChangeReport to the Alexa gateway. I'm getting 202 response from Amazon, so it seems like my request passed credentials validations. I've also validated my response using the Validation Schema. I don't see any problem here.
My first question is, even when I'm sending proactive ChangeReport, my lambda still getting lots of ReportState request when I'm using the Alexa app. I've expected to have much less requests of that kind. Why do I get so many?
Another question, when I'm setting proactivelyReported=true and retrievable=false, my Alexa app says that there is a problem with the device, and my ChangeReport not changing the status of my devices in the Alexa app, so it seems like my proactive report have no affect.
Anyone know what might be wrong with my implementation?
Example of my ChangeReport:
{ "context":{ "properties":[ { "value":"ON", "namespace":"Alexa.PowerController", "name":"powerState", "timeOfSample":"2017-11-24T19:24:42.2003916Z", "uncertaintyInMilliseconds":1000 }, { "value":{ "value":"OK" }, "namespace":"Alexa.EndpointHealth", "name":"connectivity", "timeOfSample":"2017-11-24T19:24:42.2003916Z", "uncertaintyInMilliseconds":1000 } ] }, "event":{ "header":{ "messageId":"cd26732c-0084-45ac-860d-f96192aedfa3", "name":"ChangeReport", "namespace":"Alexa", "payloadVersion":"3" }, "endpoint":{ "scope":{ "token":"xxxxx", "type":"BearerToken" }, "endpointId":"2058" }, "payload":{ "change":{ "cause":{ "type":"PERIODIC_POLL" }, "properties":[ ] } } } }