Skip to main content
Skip table of contents

Introduction and Principle

Introduction

A REST API (Representational State Transfer Application Programming Interface) is an interface that makes it possible to integrate web services into an existing system.

It follows the principles of the REST architecture to ensure efficient, scalable and simple communication between different systems.

By using standardized HTTP methods such as GET and POST, a REST API enables the exchange of data and interaction with the LOGIKEDITOR in an intuitive and user-friendly way.

This facilitates the extension of applications and at the same time promotes interoperability between different systems.


Principle

The reason for implementing the REST API directly in LOGIKEDITOR is that it not only allows requests to be forwarded directly to the KNX system, but also enables specific functions (in the form of logic groups) to be triggered as required and without detours.

For seamless integration of the REST API into LOGIKEDITOR, the endpoints are mapped as data points. In this way, the http requests can be used like a typical data point in the LOGIKEDITOR.

In order for an http request to be processed by the EIBPORT, the desired endpoints must be created.

These are created and managed in the LOGIKEDITOR under a separate menu item ("System" / "Data points" / "Internal + REST").

In the logic group, these Internal+Rest data points are to be used like KNX data points.

In order to be able to address the REST API in the LOGIKEDITOR, one part is predefined. This is:

  1. The https-port is always port 444

  2. The (fixed) path to the REST API is "/le/rest"

This results in the default for an http request:

CODE
https://<IP ADDRESS>:444/le/rest/<user-defined part>

///

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.