• Cart0
    Total 0.00 DKK
    Your shopping cart is empty!
Application for Pure.box

Application for Pure.box


Applications for Pure.Box

Switch on time and on schedule

With this application we give you an overview of the options available to you to trigger time-controlled events with rule.box and Node-RED. Please have a look at the video opposite or read the written version further down on this page

Here is how to configure Windows for accessing network sharing on the pure.box:

The pure.box supports access to the internal 750MB (approximate) internal memory via SMB signing (SMB = Server Message Block). This function can be turned on or off in the device configuration under Home >> Configuration >> pure.box >> Network using the option Activate SMB server. Signing is then possible over using the Windows network environment.

One Web page shows many devices...

Network communication between a browser and a terminal device using client-side Web techniques (e.g. JavaScript/AJAX, Java applet) is only possible if the terminal device itself provides the interrogating Web page. The security restrictions associated with these Web techniques restricts data exchange between the browser (Web page loaded by terminal device A) and other terminal devices (B, C, ...).

Running a PHP script when data are received on a TCP port

When data are received (via TCP or UDP), the pure.box is able to respond by running a PHP script. The received data can be read via PHP and further processed (e.g. reply to the data source, transmission over the network or saving in the box-internal database). The PHP interpreter works exclusively "under the hood", and no traditional output in the form of a Web page is generated. This functionality allows you to realize simple server applications simply using Web techniques.


Motherbox php data request

The example shown here illuminates the following function features of the pure.box:

  • Execution of a PHP script when data are received on a TCP port
  • Reading of the received data through the standard input
  • Saving the read information in a box-internal SQLite database

Application for Web-IO Analog / Digital / Climate, Com-Server, RFID-Server

Increasing transmission rates along with dropping prices have made DSL THE standard solution for Internet access over recent years. In contrast to the traditional, outgoing applications like Internet browsers and e-mail clients, incoming connections require that a few points as described below be observed. As shown in the illustration, we are using as a concrete example a Web-Thermometer installed in the Intranet which can be read and configured from the Internet. This enables service personnel to do their work outside of normal working hours, and to access the current temperature values or device configuration from any location.