Can AWS IoT device shadows work when communicating with device over HTTP(S)?

0 votes

The concept of "Device Shadows" introduced by AWS IoT is great for situations when devices have intermittent connectivity.

However it seems that this requires for the device to subscribe to the messages from the remote "cloud" node (AWS IoT). Seems like for MQTT protocol this is an easy task, as it is kinda "always on" connection between the device and the remote node and the MQTT is meant for actively pushing messages between the two.

However when using HTTP, which opens/closes connection all the time - would I still be able to use device shadows? As it seems that in case of HTTP it would be hard to "subscribe" to messages from the remote node...

Sep 12, 2018 in IoT (Internet of Things) by Upasana
• 7,680 points
15 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Indeed, HTTP won't allow you to use the publish/subscribe mechanism.

But you should use an AWS IoT Device SDK to connect your hardware. Every Device SDK use MQTT and it provides an interface to be able to publish and subscribe without worrying about the communication protocol. Maybe you want to use another language than C, JavaScript or Arduino?
answered Sep 12, 2018 by Annie97
• 2,190 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

How to work a AWS IOT Lambda with a devices?

Hey KanaguRaj, use this for reference: https://serverless.com/b ...READ MORE

answered Apr 12 in IoT (Internet of Things) by Vardhan
• 10,620 points
30 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,120 points
60 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.