Author: Karim Saikali

Moving your API on scriptr.io from RPC to REST

RPC and REST As you probably know, scriptr.io’s scripts are the main component used for implementing business process and/or secure API for your IoT applications. Hence, any script you write in scriptr.io is immediately accessible to remote clients, through HTTP or Web Sockets. RPC If you have been browsing through the different posts in this blog, you might have noticed that in most of our examples, we actually adopt the RPC (Remote Procedure Call) style when implementing sample APIs. As it’s name implies, RPC is about invoking a remote function (action), therefore, scripts used to implement RPC-based API usually...

Read More

Using scriptr.io’s Dashboard builder

Most IoT applications require monitoring the status of devices, collecting and aggregating the data they receive from various sources in order to derive information from it. Status data and aggregated data are then displayed to the end users in dashboards. Since implementing dashboards can be a tedious task without the appropriate tool, scriptr.io provides you with its dashboard builder that will allow you to build your dashboards in a snap. The simplest way to launch the dashboard builder is to click on the arrow near “New Script” on the bottom left corner of the scriptr.io workspace, then select “Dashboard”....

Read More

Smart city app, using loRaWAN, Orbiwise and scriptr.io

LPWAN IoT applications Many IoT scenarios, such as smart city applications, involve multiple autonomous devices that fulfill specific tasks, such as monitoring noise levels, air quality, light, traffic, etc. These devices typically operate in LPWAN configurations (Low Power Wide Area Networks) with limited capabilities, and no access to power sources. As a consequence, the life-time of their battery, their power consumption as well as the network coverage and capabilities are main criteria to consider in the technical choices made when designing the related IoT applications; starting with the choice of an adequate network protocol and infrastructure. LoRaWAN is one...

Read More

Augment iHealth’s API with scriptr.io

Connected health devices to reduce health-care costs Multiple studies conducted by the Worlwide Health Organisation (WHO) show that the cost of chronic diseases such as cardiovascular problems, obesity and diabetes represents around 60% of total health care costs. Same studies also show that most of these diseases are due to an unhealthy life-style, such as lack of physical activity, unbalanced diet, smoking, etc. In addition, many costly treatments are the result of late detection and handling of problems, because of the lack of feedback on patients’ condition. In that context, the proliferation of health-related devices for the end consumer...

Read More

Season’s Dweeting

About dweet.io Dweet.io is a nice service that allows devices to communicate through messages sent using simple HTTP requests. Dweet.io also allows for the creation of alerts, based on simple JavaScript expressions that are evaluated against the content of the messages that are sent/received. Using dweet.io from scriptr.io Dweet.io’s simplicity makes it a good tool to implement simple IoT applications and to easily establish communication among HTTP-enabled devices and services. However, as soon as your requirements evolve with the addition of more complicated features, such as transforming your data and/or persisting it or orchestrating the execution of services and...

Read More