-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
104 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# AWS Greengrass Moquette Broker | ||
|
||
## Overview | ||
- AWS Greengrass Core Setup | ||
- [Getting Started](https://docs.aws.amazon.com/greengrass/v1/developerguide/install-ggc.html) | ||
- AWS Greengrass Moquette Setup | ||
- [MQTT 3.1.1 broker (Moquette)](https://docs.aws.amazon.com/greengrass/v2/developerguide/mqtt-broker-moquette-component.html) | ||
|
||
## AWS Greengrass Moquette Configuration | ||
Under the Deployment configuration for the `aws.greengrass.clientdevices.mqtt.Moquette` component | ||
```json | ||
"moquette": { | ||
"ssl_port": "8883" | ||
} | ||
``` | ||
|
||
## MTConnect Relay Agent | ||
- [GitHub](https://github.com/TrakHound/MTConnect.NET/tree/master/applications/Agents/MTConnect-Agent-MQTT-Relay) | ||
- [Release](https://github.com/TrakHound/MTConnect.NET/releases/latest) | ||
|
||
### MTConnect Relay Agent Configuration | ||
```yaml | ||
... | ||
|
||
# The hostname of the MQTT broker to publish messages to | ||
server: localhost | ||
|
||
# The port number of the MQTT broker to publish messages to | ||
port: 8883 | ||
|
||
# The cerficates to use are for the AWS Thing that is configured for the AWS Core Device | ||
certificateAuthority: C:\Users\patrick\Downloads\AmazonRootCA1.pem | ||
pemCertificate: C:\Users\patrick\Downloads\2316549874654321654984984158961634984794-certificate.pem.crt | ||
pemPrivateKey: C:\Users\patrick\Downloads\2316549874654321654984984158961634984794-private.pem.key | ||
|
||
mqttFormat: Flat | ||
retainMessage: true | ||
allowUntrustedCertificates: true | ||
|
||
# Set the ClientId to the AWS Thing ID | ||
clientId: trakhound-test | ||
|
||
... | ||
``` | ||
|
||
## Screenshots | ||
|
||
### AWS Thing | ||
![Screenshot](../img/mqtt-aws-thing-certificates.png) | ||
|
||
### AWS Core Device | ||
![Screenshot](../img/mqtt-aws-greengrass-moquette-01.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# AWS Greengrass MQTT Bridge | ||
|
||
## Overview | ||
- AWS Greengrass Core Setup | ||
- [Getting Started](https://docs.aws.amazon.com/greengrass/v1/developerguide/install-ggc.html) | ||
- AWS Greengrass MQTT Bridge Setup | ||
- [MQTT bridge](https://docs.aws.amazon.com/greengrass/v2/developerguide/mqtt-bridge-component.html) | ||
|
||
## AWS Greengrass Moquette Configuration | ||
Under the Deployment configuration for the `aws.greengrass.clientdevices.mqtt.Bridge` component | ||
```json | ||
"mqttTopicMapping": { | ||
"MTConnectIotCoreMapping": { | ||
"topic": "MTConnect/#", | ||
"targetTopicPrefix": "trakhound-test/", | ||
"source": "LocalMqtt", | ||
"target": "IotCore" | ||
} | ||
} | ||
``` | ||
|
||
## Setup AWS IoT Core | ||
https://github.com/TrakHound/MTConnect.NET/blob/master/docs/MQTT-AWS-IoT.md | ||
|
||
## Setup AWS Greengrass Moquette MQTT Broker | ||
https://github.com/TrakHound/MTConnect.NET/blob/master/docs/MQTT-AWS-Greengrass-Moquette.md |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("5.2.0")] | ||
[assembly: AssemblyFileVersion("5.2.0")] | ||
[assembly: AssemblyVersion("5.3.0")] | ||
[assembly: AssemblyFileVersion("5.3.0")] | ||
[assembly: AssemblyCompany("TrakHound Inc.")] | ||
[assembly: AssemblyCopyright("Copyright (c) 2023 TrakHound Inc., All Rights Reserved.")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters