So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Sushant Naik
#72380 it worked @villTech, while creating user policy i had to do this

Then click IAM
Then click policy. find your policy or create a new policy
set service to IOT
set action to iot:*
set resouce to all resources (I have difficulty to know how to set specific resource. So I just set it all for the experiment)


now i am able to publish to AWS thing shadow/update,
i need help to get shadow from thing, can u help in that ?
User avatar
By Sushant Naik
#72425
getting data from the shadows is simply subscribing to the shadow. when a shadow is changed, it will publish its value.


i have subscribed to topic ,

Code: Select allconst char* aws_topic1  = "$aws/things/sushant2017/shadow";


however any change i make to shadow is not reflected in esp8266, messageArrived callback (odelot library),
can i get any help in this?