https://github.com/ctron/ece2019-iot-playground
Playing around with IoT @ EclipseCon Europe 2019
https://github.com/ctron/ece2019-iot-playground
eclipse eclipsecon enmasse hono iot kafka strimzi
Last synced: about 1 year ago
JSON representation
Playing around with IoT @ EclipseCon Europe 2019
- Host: GitHub
- URL: https://github.com/ctron/ece2019-iot-playground
- Owner: ctron
- Created: 2019-08-20T15:41:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-27T14:48:07.000Z (about 6 years ago)
- Last Synced: 2025-04-01T06:28:39.140Z (about 1 year ago)
- Topics: eclipse, eclipsecon, enmasse, hono, iot, kafka, strimzi
- Homepage:
- Size: 54.7 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IoT Playground – EclipseCon Europe 2019
This repository contains the cloud side deployment we for the AMQ Online IoT
setup at EclipseCon Europe 2019.

## Installation
Before deploying the configuration in this repository, you need to install either
[AMQ Online](https://access.redhat.com/documentation/en-us/red_hat_amq/7.5/html-single/installing_and_managing_amq_online_on_openshift/index#installing-messaging) and [AMQ Streams](https://access.redhat.com/documentation/en-us/red_hat_amq/7.5/html/using_amq_streams_on_openshift/index), or [EnMasse](https://enmasse.io/) and [Strimzi](https://strimzi.io/). You will also need to [configure
the IoT infrastructure](https://access.redhat.com/documentation/en-us/red_hat_amq/7.5/html/evaluating_amq_online_on_openshift/assembly-iot-messaging-iot) of AMQ Online.
**Note:** It is not possible to directly deploy the YAML files. Some of the files
need to be updated with the proper passwords. File which need to be updated
have the suffix `.in`. If you fill in the information, and rename them to `.yaml`,
then you can simply do `oc apply -f deploy`.
## Things Network gateway
Register the gateway and set credentials:
hat device create ttn-gateway
hat cred set-password ttn-gateway gateway
## Things Network integration
Create a new "integration" for your Things Network account:
- Type
- HTTP
- URL
-
https://iot-lorawan-adapter-enmasse-infra.apps./ttn
- Authentication header:
-
echo "Basic $(echo -n "gateway@.iot:" | base64 -w0)"
## Provision a new device
Each sensor needs to be registered with Hono as well:
hat device create '{"via":["ttn-gateway"]}'
e.g.:
hat device create 0123456789ABCDEF '{"via":["ttn-gateway"], "defaults":{"deviceAlias": "Device #X"}}'
## Also see
This repository sets up OpenShift to build a bunch of other projects:
* https://github.com/ctron/hono-kafka-bridge
* https://github.com/ctron/hono-kafka-bridge-quarkus
* https://github.com/ctron/kafka-influxdb-bridge