I have an IoT thing which publishes -
timestamp, isAdmin and data
on a topic
"iot/sampledata"
and I have a rule which listens to this topic and pushes this data to a DynamoDB. A user is able to update the isAdmin boolean to false using the device shadow feature from an app. How can i connect the device shadow to the rule engine so that i can update the isAdmin boolean in the DynamoDB as the shadow is updated.
I saw the shadow mqtt topics but i am missing some thing and it somehow does not work.
Any help is deeply appreciated.