-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS IoT shadow not working #7
Comments
I am seeing this behavior as well. Also, when I publish directly to |
But you are also not receiving a delta when you do an update? |
The issue is solved by increasing the max package size. Change line 26 in PubSubClient.h file to something like: |
Just update via setBufferSize |
I tested the mqtt_x509_DER example and works really nice. Only I am not receiving the shadow messages. Does someone knows what the reason could be?
Via the AWS IoT test console I send the following to the topic "$aws/things/iotTestDevice3/shadow/update":
{ "state" : { "desired" : { "light" : 1 } } }
In the AWS IoT console I see messages on .../shadow/update and .../shadow/update/delta. But when I subscribe with my ESP to "$aws/things/iotTestDevice3/shadow/update/delta" or "#" I don't receive any thing.
I also tested with the Python SDK and started the ThingShadowEcho.py and there it works fine, so the policy settings in AWS IoT are fine.
Is this a bug? Or I am doing something wrong?
The text was updated successfully, but these errors were encountered: