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
• 8,530 points
27 views

1 answer to this question.

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
• 12,200 points
43 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,520 points
131 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
112 views
0 votes
1 answer
0 votes
1 answer