14
votes
Accepted
How does an Azure IoT Hub interact with Embedded/IoT devices?
The model that IoT Hub connected devices use is that they will never accept incoming connections. IoT Hub devices never act as a 'server', and this is a crucial part of the security model in Azure IoT....
10
votes
Is it a bad practice to keep certificates on external memory?
A little bit of context
Since you're using MQTT with AWS IoT, you're expected to use X.509 certificates for authentication and security. Amazon have a little bit of guidance about how you should ...
9
votes
Is it a bad practice to keep certificates on external memory?
Ideally you want your overall system to have a design such that dissecting a single unit breaks only that unit, and not the system in general.
Especially if you are storing keys in a distinct memory ...
8
votes
Accepted
Is it a bad practice to keep certificates on external memory?
You mention “certificates”, but from context, I think you're referring to two different things.
Your device has a private key, which is unique to this device and not known outside the device. This ...
8
votes
Can I publish multiple MQTT topics in a single request?
It looks like the aws IoT sdk is using a synchronous publish (as it's using a return code) so it's blocking for each message.
There is no reason at the MQTT protocol level that you can't have ...
8
votes
Accepted
How can I set up main and failover MQTT subscribers for a job queue with AWS IoT?
According to AWS SQS Documentation (as you said the broker is AWS) this should be native:
Immediately after the message is received, it remains in the queue. To
prevent other consumers from ...
7
votes
Accepted
How to decrease AWS IoT button press delay before message publishing?
More realistically, this delay encompasses the time to register on the wifi network.
In order to minimize power consumption (that's an officially irreplaceable battery) the device is normally ...
7
votes
How can I set up main and failover MQTT subscribers for a job queue with AWS IoT?
You might want to look at the concept of dead-letter queues of AWS SQS. From the AWS docs:
A dead letter queue is a queue that other (source) queues can target
for messages that can't be ...
7
votes
How long should a FreeRTOS task be delayed in each loop?
You shouldn't need a delay, or at least not one that keeps waking up.
If, as you suggest, you have initiated a thread that is triggered by a callback then there is no need for a main loop. Unless ...
6
votes
What do I need to make a smart plug work with Alexa and/or Amazon IoT
I've got the TP Link HS110 myself. The appropriate connection is established via their app (called Kasa). The process is described here. Without diving into the French Amazon reviews I won't comment ...
6
votes
Connecting web app to IoT AWS
What you linked is far too complicated and in too low level of abstraction that it is for an professional even hard to read and follow it.
aws-mqtt-client through npm is the easiest solution I could ...
6
votes
Accepted
Why might data be sent to a cloud service when it could be processed on the edge?
There are many factors in choosing whether to process data on-device or in the cloud.
Benefits of processing in the cloud
If the algorithm uses floating-point or runs on a GPU, it might not be ...
5
votes
Accepted
Can multiple subscribers subscribe to the same topic from AWS IoT?
Yes. AWS IoT uses MQTT, which follows a topic-based publish-subscribe pattern. This allows multiple subscribers to a topic, and multiple clients can even publish to the same topic (a topic is not ...
5
votes
Is it a bad practice to keep certificates on external memory?
You should try to keep to client key secret (but understand the implication of loosing it(1), as described in the other answers). The server public key, and the AWS public certificate are important to ...
5
votes
How can I make an IoT system with a CNC machine and robotic arm?
I believe you refer to a mqtt protocol where indeed there are data subscribers and receivers.
My short answer is yes, you are on correct track.
Longer explanation:
MQTT makes it possible to ...
5
votes
What do I need to make a smart plug work with Alexa and/or Amazon IoT
Since you're interested in generic ways to connect devices to Alexa, I'll explain the two main methods that devices use when integrating with the Echo platform.
Skills
Most of the devices that have '...
5
votes
How do I build a web application using AWS IoT connecting to a factory floor?
I have created a similar application. Your question covers a lot of ground. You already have AWS and your "thing" working together. The next job (might be) to decide what you want to expose via a ...
5
votes
Accepted
What is Shoulder Tap in IOT?
Many IoT devices are battery-powered, and to conserve battery, enter sleep modes as much as they can. They usually get out of sleep in either of two cases (or both):
At fixed intervals, like every 6 ...
5
votes
Accepted
Do I need different certificates for every thing?
Yes, the whole point of using client side certificates is to enable you to reliably uniquely identify each client.
AWS will provide APIs to provision each device with it's own cert/key.
The other ...
4
votes
What do I need to make a smart plug work with Alexa and/or Amazon IoT
I believe you don't need to do any coding effort on connecting smart-plugs to Alexa.
http://www.belkin.com/us/support-article?articleNum=157351
This link contains all you need to set up the ...
4
votes
Accepted
How to link device with user?
A lot of companies "have the customer enter a serial number in a UI somewhere". When you buy the device, the instructions usually have the customer visit the company website, create an account, and ...
4
votes
AWS IoT implementation on a low end controller like Atmega328, nrf51822?
You might want to check out Amazon FreeRTOS.
Amazon FreeRTOS (a:FreeRTOS) is an operating system for microcontrollers that makes small, low-power edge devices easy to program, deploy, secure, ...
4
votes
AWS IoT implementation on a low end controller like Atmega328, nrf51822?
AWS IOT requires that your device understand TCP/IP and encryption.
The ATMega328 has 2K bytes of RAM, but Ethernet frames can be up to 1500 bytes long. Even if you could receive a packet, there ...
4
votes
Connect Webpage to AWS IoT to Publish Messages
AWS IoT supports MQTT over Websockets which can be used from with in the client side of a web application.
You can follow the instructions here for details of how to do the required authentication.
4
votes
Accepted
Connect CNC machine to AWS IoT
By far the easiest method would be to use a library such as paho-mqtt or the AWS IoT SDK for Python (see the bottom of this post), which are MQTT client libraries for Python.
Usage guidance is ...
4
votes
Accepted
Using AWS Lambda function to create a monitoring website for IoT devices
Lambda is for running tiny functions, not long-running processes.
You should have your web page connect directly to AWS IoT using WebSockets. Then it can get messages directly when they happen and ...
4
votes
Accepted
My thing connected to AWS IoT but it does not publish messages
I finally figured out what my mistake is. It was in the ARN Resources of policy I wrote a wrong topic in the end of policy resources line. I wrote ldr instead of LDRsensor.
4
votes
Subscibe to specific device with AWS or Azure IoT services
I haven't worked with Azure as such but Message Broker for AWS IoT uses MQTT and is like any other MQTT broker (like mosquitto for Linux).
MQTT messages basically work on Topics. If the android app ...
4
votes
Accepted
Is it possible to implement AWS free RTOS on nrf51822?
The NRF51822 is a Bluetooth low energy device, which is mostly chosen for low power applications. It cannot access the internet using Bluetooth (unless your idea is to access the internet using ...
4
votes
Accepted
First steps to learn IoT with watering plants project
This is a very generic question, the answers mainly depend on your existing skills, and if you desire to progress into developments that might be commercially relevant. Depending how far you want to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
aws-iot × 86aws × 24
mqtt × 23
aws-greengrass × 13
raspberry-pi × 8
arduino × 7
networking × 5
security × 4
alexa × 4
microsoft-windows-iot × 4
azure × 4
amazon-iot-button × 4
sensors × 3
esp8266 × 3
esp32 × 3
web-services × 3
paho × 3
cloud-computing × 3
publish-subscriber × 3
smart-home × 2
hardware × 2
communication × 2
microcontrollers × 2
lora × 2
lorawan × 2