# Aws-iot - Raspberry Pi

**URL:** https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419
**Category:** General
**Created:** [10 May 2021 08:06 UTC](https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419 "2021-05-10T08:06:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wuppergit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wuppergit/32/7908_2.png) [@wuppergit](https://discourse.nodered.org/u/wuppergit)
#### Post date: [10 May 2021 08:06 UTC](https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419/1 "2021-05-10T08:06:35Z")

</div>

Hello,  
I'm trying to connect Node-RED running on a Raspberry Pi 3B via mqtt with aws-iot. The environment is:  
Raspberry Pi 3B buster  
Node RED: 1.3.1  
Node.js: 12.21.0  
I'd done several things:

1. Download aws-iot learning -\> integrate a device -\> Linux/Python: ==\> all is working fine
2. Download aws-iot learning -\> integrate a device -\> Linux/NodeJS ==\> all is working fine
3. create a new object, zertificate, policy and prepare the Node-RED properties as follows:  
mqtt-out node:  
server = Object-ARN  
MQTT V3.1.1  
Client-ID: empty / aws-object-name  
tls-config-node:  
upload certificates  
After deploy the mqtt-out-node tries ti establish a connection, but there ist no success. The message is:  
10 May 09:38:51 - [info] [mqtt-broker:aa817256.5f6da] Verbindung zum Broker meinPython@mqtts://arn:aws:iot:eu-west-1:256431347199:thing/myDevice:8883 konnte nicht hergestellt werden
4. change mqtt-configuration to working python-object  
same message, no success
5. establishing a fairly new Node RED environment on a Windows PC and test mqtt-configuration with python credentials  
same message, no success
6. Using exactly the instructions on this video [https://www.youtube.com/watch?v=TrEtf0R5nzE](https://www.youtube.com/watch?v=TrEtf0R5nzE), no success

any idea?  
Thank you so much  
Udo

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [10 May 2021 13:34 UTC](https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419/2 "2021-05-10T13:34:09Z")

</div>

I am new to AWS IoT so I can´t offer much help. I did follow the instructions from the video and got it working right first time. So, I can say that the instructions given in the video are not very well explained but they work well at the end of the day.

 ![t4](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/56dddcdbb0abbac38d205b8ca387bfc3e3327fe2.jpeg)

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [10 May 2021 13:46 UTC](https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419/3 "2021-05-10T13:46:10Z")

</div>

Perhaps one point to double check is the name of the MQTT broker you used in your setup. It should be like indicated at 4:49s in the video.

 ![t5](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/49ebabdde9ca2d84ad875c50a6517e2f901adc72.jpeg)

---

<div class="post-metadata">

### Author: ![wuppergit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wuppergit/32/7908_2.png) [@wuppergit](https://discourse.nodered.org/u/wuppergit)
#### Post date: [11 May 2021 07:21 UTC](https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419/4 "2021-05-11T07:21:38Z")

</div>

Hi Andrei,  
thank you so much for the quick response.  
Yes, there was a little mistake in the post concerning the server-property. It was because I got a little confused during writing the post after unsuccessful testing.  
I tried with the endpoint information from object - interact. No success.  
On the other hand the Monitor displays several successful connections. But the test subscription of # does not show anything from Node-RED (of course). Trying to use aws-mqtt-nodes same issue - aws-mqtt-out is sending from Node-RED but nothin happens on aws-iot.  
I'll think, I'll stop now. It's disappointing  
Thank you agin  
Udo

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [10 July 2021 07:22 UTC](https://discourse.nodered.org/t/aws-iot-raspberry-pi/45419/5 "2021-07-10T07:22:40Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
