Month: December 2017

Configuring a MultiTech Gateway to Push Data to AWS IoT

Overview The purpose of this tutorial is to shovel the data arriving to the MultiTech Conduit LoRa gateway to an AWS IoT channel for scriptr.io users who want to use AWS as data source and for device management. Assumptions The following assumes that you already know how to configure the Conduit as a LoRa network server and how to configure the LoRa Mote to join the Conduit’s network and issue periodic messages containing the sensors’ readings (temperature and ambient light). For more info about how to do the previous steps, you can refer to our previous blog entry which will walk...

Read More

Connecting the MultiTech Conduit to Scriptr.io

The connection between the MultiTech Conduit and scriptr.io is as simple as forwarding the data from the internal gateway MQTT broker to scriptr.io’s MQTT broker. In this blog post we will demonstrate how to publish MQTT messages from the MultiTech Conduit to scriptr.io, as well from the former to AWS. Note: scriptr.io exposes endpoints with multiple protocols (HTTP, WebSocket, MQTT, AMPQ, …) allowing an easy data flow / script invocation from any device. Summary This tutorial will go through the following steps: Setup a LoRa gateway (MultiTech Conduit). Setup a LoRa device to push messages to a LoRa gateway (MultiTech Conduit). Setup a...

Read More

Publish/subscribe with scriptr.io

About the Publish/Subscribe model Publish/subscribe is a well known communication pattern where a sender (called a publisher) broadcasts messages to multiple receivers that declared their interest in the type of messages sent by the publisher (hence they are called subscribers). Messages are usually published to and consumed from a topic to which the receivers are subscribed. Resorting to publish/subscribe allows you to adopt an event-based programming style, and brings some advantages to your design, mainly decoupling (publisher and subscriber do not have to be online at the same time) and scalability, to some extent. The core artefact to use...

Read More