question

wozix avatar image
wozix asked

Alexa App show Smart home device as "Server is unresponsive"

Our smarthome device works fine when using voice control. You can even query the state and other parameters using voice commands (alexa queries with a reportState). However when you select the device from within the Alexa App, the App says that the server is unresponsive and shows a message saying: "Waiting for <our company name>". I can see that every time you select a device from within the App, Alexa sends a reportState query to our servers and we respond the same way we do for voice activated reportStates.

We don't have "proactively report state" enabled, just the "retrievable" option is enabled.

How can we fix this? Users thing that Alexa or our device isn't working correctly when they see the Alexa App show this message.


Thanks.

alexa smart home
2 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I am having this issue and have done everything I can think of. Please help. My Echo and app aren’t working with my plugs, none of them. I can go to the smartlife app and it works. What can I do?

0 Likes 0 ·

Hi @Danielle T. and thanks for your message.

This is the Amazon Developer Forum, where developers come for help with the development of their skills. From your message, it appears that you are having issues with a smart home skill not functioning properly.

I would suggest getting in touch with customer service here who should be able to assist with your matter further.Alternatively, you can post your questions on the Echo & Alexa customer forum: https://www.amazonforum.com/forums/devices/echo-alexa

Regards,
Barry

0 Likes 0 ·
Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hello and thanks for your message.

Are you still facing this issue? Can you please provide your skill ID?

Regards,
Barry

19 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi Barry,

thanks por your reply. Yes, I'm still facing this issue. Should I just post the skill ID here or send it using a personal message?

Regards.

0 Likes 0 ·

Hi Barry,


the skill id is:

amzn1.ask.skill.e4e22fd5-8b0b-461e-b7fc-ff8fdcc4a068


Regards.

0 Likes 0 ·

Hello and thank you for the additional information.

I could see that your Lambda code is timing out. Ideally, your code should be returning responses within 8 seconds. I'd also recommend increasing the default timeout settings of your lambda to match this as well.

Regards,
Barry

0 Likes 0 ·
wozix avatar image wozix Amazon_Bernardo Bezerra ♦♦ ·

Hi Barry,

I see you tried to use the demo account for Amazon. We currently don't have any devices therere AFAIK so there's no way you can test this, maybe that's the reason for the timeouts because when I tested this issue I didn't see any timeouts and the reponses from our servers are super fast (less than 300ms in all cases).


Let me add a device for you to test on the account. Once I do I will let you know so that you can test again.


Regards.

0 Likes 0 ·
Show more comments
wozix avatar image
wozix answered

@barry@amazon

No idea why it doesn't let me post another reply. Here is the response.


REPONSE:
2019-06-13T15:18:21.821Z    4114b219-dc08-4355-a646-96b78ef5dc6b 
{
    "context": {
        "properties": [
            {
                "namespace": "Alexa.EndpointHealth",
                "name": "connectivity",
                "value": {
                    "value": "OK"
                },
                "timeOfSample": "2019-06-13T15:18:21.789Z",
                "uncertaintyInMilliseconds": 0
            },
            {
                "namespace": "Alexa.TemperatureSensor",
                "name": "temperature",
                "value": {
                    "value": 23.5,
                    "scale": "CELSIUS"
                },
                "timeOfSample": "2019-06-13T15:18:21.789Z",
                "uncertaintyInMilliseconds": 100
            },
            {
                "namespace": "Alexa.PowerController",
                "name": "powerState",
                "value": {
                    "value": "OFF"
                },
                "timeOfSample": "2019-06-13T15:18:21.789Z",
                "uncertaintyInMilliseconds": 0
            },
            {
                "namespace": "Alexa.ThermostatController",
                "name": "thermostatMode",
                "value": {
                    "value": "OFF"
                },
                "timeOfSample": "2019-06-13T15:18:21.789Z",
                "uncertaintyInMilliseconds": 0
            }
        ]
    },
    "event": {
        "header": {
            "namespace": "Alexa",
            "name": "StateReport",
            "payloadVersion": "3",
            "messageId": "6a7b543b-fa7f-4796-a131-a552d1c45b67",
            "correlationToken": "<TOKEN HERE>"
        }
    },
    "endpoint": {
        "scope": {
            "type": "BearerToken",
            "token": "<TOKEN HERE>"
        },
        "endpointId": "<DEVICE ID HERE>",
        "cookie": {}
    },
    "payload": {}
}
3 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks for the reply @wozix.

I have forwarded it to our teams and will keep you informed of any update.

Regards,
Barry

0 Likes 0 ·

Hi,

Can you try sending the PowerState "value" as an actual string instead of an object?

So changing it from:
"value": { "value": "ON/OFF"}

to an actual string like:
"value": "ON/OFF"

Please let us know the outcome.

Thanks,
Gaetano

0 Likes 0 ·
wozix avatar image wozix Gaetano@Amazon ♦ ·

Wow.


That was the issue...


Thanks a lot Gaetano.. It's working perfectly now, after 1 year of angry customers :).


Thanks @barry@amazon and thanks @Gaetano@Amazon

1 Like 1 ·
The Frits avatar image
The Frits answered

I also had the "Server is unresponsive", what i did was: Go into smartlife app, more services, Third party acces, went to Alexa and pressed relink, after this it reconnected and everything was working again.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

HugoDev avatar image
HugoDev answered

Any more progress on this issue? We have a smart light that can use voice to set the brightness level, but not able to do so in Alexa App. Still have this issue.

1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @HugoDev,

Can you please share the discovery JSON that you are sending back with the list of your endpoints?

Regards,
Barry

0 Likes 0 ·