Child pages
  • LinkSmart Demo

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Content Zone
maxLevel1
locationtop
typeflat

MQTT Broker

This is a public Mosquitto MQTT broker that can be used freely for a variety of IoT application.

URIssl://demo.linksmart.eu:8883
Hostnamedemo.linksmart.eu
Port8883
Usernamelinksmart
Passworddemo

The communication with the broker is encrypted with a CA signed certificate. Example usages are provided below.

Mosquitto Client

(https://mosquitto.org/)

Mosquitto client does not use the system root certificates automatically. This may work on your Linux machine (subscribe to all (#)):

Code Block
languagebash
mosquitto_sub -h demo.linksmart.eu -p 8883 -u linksmart -P demo -d --capath /etc/ssl/certs -t "#"

If it doesn´t, we must provide a CA bundle certificate manually. Here, we'll download and use CA certificates extracted from Mozilla:

Code Block
languagebash
curl -O https://curl.haxx.se/ca/cacert.pem

Subscribe to all (#):

Code Block
languagebash
mosquitto_sub -h demo.linksmart.eu -p 8883 -u linksmart -P demo -d --cafile cacert.pem -t "#"

Publish to "test":

Code Block
languagebash
mosquitto_pub -h demo.linksmart.eu -p 8883 -u linksmart -P demo -d --cafile cacert.pem -t "LS/test" -m "hello there"

MQTT.fx

(https://mqttfx.jensd.de/)

Enable SSL and provide the username and password:

Subscribe to # to see what is currently being published to the broker. Or just publish some test messages yourself:

MQTT over WebSockets

The LinkSmart Demo also supports MQTT connections via WebSockets (SSL-encrypted on port 9002). You can try this by running HiveMQ´s Websockets Client Showcase. The SSL checkbox is currently not available on their website so you will need to download the client from here and run it locally on your machine (make sure to check SSL and to provide username and password):

Grafana

We use Grafana to view and analyse a variety of sensor data. LinkSmart provides the following Grafana Plugins:

NamePlugin PageDemo
LinkSmart SensorThings
(Data source plugin for visualizing OGC SensorThings sensor and location data.)
LinkDashboard

LinkSmart HDS
(Data source plugin for visualization of data from LinkSmart® Historical Datastore

LinkDashboard