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,620 points
647 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,160 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/ ...READ MORE

answered Apr 12, 2019 in IoT (Internet of Things) by Vardhan
• 13,150 points
794 views
0 votes
1 answer
+2 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
• 58,020 points
2,736 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
0 votes
1 answer
0 votes
1 answer

features through which we can identify the IoT devices?

I think you should always be able ...READ MORE

answered Aug 30, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
647 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP