My first look into Edge Apps

Before we start

Author: IoT Open Developer

Background

IoT Open have introduced a new concept for managing and running applications on the customers edge-gateways that I wanted to try out. The concept is very promising. Apps can be uploaded as executable code to a webpage where users can browse and configure an app. After the configuration the app is pushed to the edge-gateway and started automatically.

I decided to create a basic time-out for a light. It should turn on every time I open a door and turn of again some time later. I want the user to select the activating door, the light to be controlled and for how long it should stay on.

Prerequisites

  • Some basic understanding of programming in LUA-scriptopen in new window.
  • Knowledge about functions in IoT Open
  • Understanding of MQTT data
  • A gateway with edged installed