freeboard-aws-iot-ws-mqtt
Freeboard plugin that allows you to create a datasource to AWS IoT topic by way of websockets and MQTT
Install
npm install -S freeboard-aws-iot-ws-mqtt
Make sure you are in a valid Freeboard project in order for post install to work correctly.
Create
If post install doesn't work you can run:
npm run create
Define specific folder:
npm run create -- ${DIRECTORY}
Manual
Move everything from the ./src
folder to the plugins folder in your Freeboard project.
Example
HTML
Modify the index.html
file in your Freeboard
project.
AWS IoT
- Create a thing
- Copy IoT endpoint
Datasource
Start Freeboard project and add Datasource.
- Add AWS IoT Endpoint
- Add AWS Region
- Add AWS Access Key w/ IoT permissions
- Add AWS Secret Key w/ IoT permissions
- Add Topic(s) to subscribe to
Panel
Create a Text panel with 3 columns, and the datasource to datasources["Read Me"].message
Test
In the AWS IoT console go to the Test tab.
Subscribe to a topic.
Publish to the same topic.