i'm trying to solve a simple task using aws-iot-device-sdk-js and node.js. I want to subscribe to all updates made to the shadow and so something with them. I could do it using the device class using the certificates, but this is not available for the purpose of this demo.

The shadows.on('status',... and shadows.on('delta', are never called. Even if there is data flowing, because I can register to the shadow/updates/accepted in the AWS IoT mqtt client.

I then tried to call shadows.get(thingName) from within the callback of the register function AND I got the callback for status working once. However, the callback does not work for every new message that gets accepted by the shadow.