PV Display

PV Display is an Android app to view data on the PV Output website. You can view live solar panel data and browse through historical data. The data is presented in five different tabs in both graphical and tabular form. It works in portrait mode:         And in landscape mode:     […]

Monitoring hosts with CollectD, InfluxDB and Grafana

In this article we will install a monitoring solution on CentOS 7 consisting of CollectD, InfluxDB and Grafana. The first step is to install CollectD: yum -y install epel-release yum -y install collectd At the time of writing, this resulted in the installation of CollectD version 5.5.0. If you are using an older version of […]

Storm in pictures

We’ve been using Storm for some time now. It is quite easy to start using it in a local environment (e.g. your IDE), but it can be a bit daunting to install a cluster and then really understand what Storm is actually doing to execute your topology. The documentation has improved over time, and some […]

WebSocket tutorial with Java server (Jetty) and JavaScript client

WebSocket is a web technology providing full-duplex communications channels over a single TCP connection. WebSocket is designed to be implemented in web browsers and web servers, but it can be used by any client or server application. In this tutorial we will use a Java server and a JavaScript client. We start with the Java […]

Running dynamic Java code

Using a Java library called Javassist it is possible to create class files on the fly and use them in the same program that created them. Sounds funky, and it is… First download the jar file from the JBoss download website. Then write a sample class file that will be edited by the Javassist library […]

Installing a Storm cluster on CentOS hosts

Storm is a distributed, realtime computation system to reliably process unbounded streams of data. The following picture shows how data is processed in Storm: This tutorial will show you how to install Storm on a cluster of CentOS hosts. A Storm cluster contains the following components: Nimbus is the name for the master node. Nimbus […]

Installing Apache Libcloud on CentOS

Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs. At the moment it can be used to manage four different kinds of cloud services: servers, storage, loadbalancers and DNS. Here are the steps to install Libcloud on a machine running CentOS 6: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm yum install python-pip […]