Blog

RED Brick now with openHAB and Nagios

The evolution of the RED Brick goes on! Today we released RED Brick image version 1.6 and Brick Viewer version 2.2.3. Alongside lots of small improvements there are several big news. In the following we will explain them in detail:

Master Brick 2.1 with high stack connectors

https://www.tinkerforge.com/static/img/_stuff/brick_master21_12mm_vs_9mm.jpg

Thus far the IMU and Master Brick did use 9mm stack connectors, while all other Bricks (DC, Servo, Stepper, RED) used 12mm stack connectors. The idea was to make sure that all of the modules use as little space as possible. Unfortunately there are some cases now, where the height difference between the Bricks is problematic. For example, we would need two different front panels for the Starter Kit: Server Room Monitoring to support the RED Brick (12mm distance to Ethernet Extension cut-out) as well as the Master Brick 9mm distance to Ethernet Extension cut-out).

For that reason we decided to change all of the top Brick connectors to height 12mm. With this change each Brick will have the same height, which will make the development of cases a lot easier. For the mounting kits we will also only need the 12mm spacers (although for some cases 9mm spacers will still be needed). Currently the IMU Brick is the only Brick with 9mm stack connectors. It will be changed to 12mm in the next production run too.

New Service: openHAB

openHAB is an open source solution for home automation that supports a lot of products from different manufacturers. It is possible to view measurements with a web interface or a smartphone app (e.g. room temperature). It is also possible to control thermostats or lamps and similar. Additionally the a user can define rules that allow an autonomous control. A distinctive feature is that incompatible products from different manufacturers can interact through openHAB. A list of currently supported products can be found here. The Tinkerforge building blocks are of course supported too ;-).

openHAB is now directly available on the newest RED Brick image. If the service is activated, the RED Brick can be used as a control station for home automation. The configuration of openHAB can be done through the Brick Viewer with the help of configuration files.

It is for example possible to control the Starter Kit: Weather Station with a RED Brick through openHAB. To demonstrate this, we added an openHAB example to the documentation of the kit. All of the important functions are implemented with the help of openHAB: The measurements are shown on the LCD (through rules) and the backlight can be toggled through the openHAB interface. This example can be used as a good starting point for openHAB, you should be able to easily integrate products from other manufacturers, such as smart lamps or remote control mains switches.

Starter Kit: Weather Station openHAB example screenshot

New Service: Nagios

Nagios is now pre-installed on the RED Brick, too. As openHAB it can be enabled as a service in Brick Viewer. Nagios is a software that can be used to monitor server installations. With the appropriate hardware you can monitor temperature, fans, load and many more measurements. If problems occurs, Nagios can for example send email notifications.

If you wanted to use Nagios on an old RED Brick image, you would have to install and configure it manually. With the new image it is possible to do the configuration via mouse click. To configure Nagios you can define rules. Each rule consists of a sensor (Bricklet) and a critical- or warning-range. If a measurement is outside of the defined range, the state of the sensor will be seen as either “warning” or “critical”. For each rule it is additionally possible to declare whether and with which state a notification email should be send. Typical monitoring tasks can be automated with a few clicks in the Brick Viewer!

Starter Kit: Server Room Monitoring: Screenshot of Nagios Brick Viewer Service Tab

In the new Brick Viewer version only Bricklets that are available locally (localhost) of the type Ambient Light Bricklet, Humidity Bricklet, PTC Bricklet and Temperature Bricklet are supported. The next Brick Viewer version will also support sensors that are connected to external PCs. To update to the new version you will only need to update the Brick Viewer, which will be available in approximately two weeks already.

Additionally to the possibility to send emails, it is also possible to use the web interface that Nagios provides. The web interface is also available on the RED Brick:

Starter Kit: Server Room Monitoring: Screenshot of Nagios web interface

If you want to use Nagios as it is normally done, you can easily use an SSH connection or the Console tab of the Brick Viewer and do the configuration through the classical configuration files. If you have created a configuration with the Brick Viewer you can easily add your own configuration files in parallel. They will not interfere with each other.

Together with the Starter Kit: Server Room Monitoring we now have a complete solution that allows to realize distributed server room monitoring without the need to do any programming or software installation. You only have to extend the kit with a RED Brick (the kit can now be ordered including a RED Brick). If you want to deploy several kits (to monitor servers at different places) you only need one kit with RED Brick. It can retrieve measurements from all of the other kits too!

Update of the Starter Kit: Server Room Monitoring

Many customers of the Starter Kit: Server Room Monitoring did order it together with a Humidity Bricklet. This makes a lot of sense, since humidity is supposed to be in a defined range inside of a server room. If the air is to dry, the risk of an electrostatic charge increases significantly. Thus we added the Humidity Bricklet to the default configuration of the kit. Additionally it is now possible to directly order a RED Brick together with the kit (see above).

To be able to utilize the RED Brick we modified the case. The back side now has a big cut-out that allows to connect USB devices to the RED Brick. Conceivable USB devices are webcams, GSM dongles or WIFI adapters. The cut-out for the Ethernet Extension had to move 3mm (from 9mm to 12mm), to now support the RED Brick, as well as the new Master Brick (see above). All of the currently open orders will be shipped with the new front panel. Please write us an email if you need the old front panel (if you have Master Bricks with 9mm height that you want to use). We still have lots of 9mm front panels in storage

Starter Kit: Server Room Monitoring  with RED Brick

The documentation of the Starter Kit: Server Room Monitoring has been extended by an example for the usage of the RED Brick together with the Nagios service.

RED Brick Image 1.4 available!

We released the new RED Brick Image Version 1.4 today. It is super awesome, we highly recommend that you update!

The new features in the new image can be used with Brick Viewer Version >= 2.2.2.

Downloads: RED Brick Image 1.4, Brick Viewer 2.2.2

Services

Fast Image and the Full Image are merged into one image. The differences between these images, for example the start of a desktop environment, are implemented as services which can be independently activated. You can now turn services on and off with the Brick Viewer and switch back and forth between the Fast Image and the Full Image on the fly.

If you turn all of the services off (equivalent to the old Fast Image) the RED Brick will now boot incredibly fast! It only takes 10.7 seconds for the RED Brick to completely boot up and being available in Brick Viewer. To achieve this speed we had to switch from sysvinit to systemd, which proved to be a huge improvement!

https://www.tinkerforge.com/static/img/_stuff/brickv_red_brick_services.jpg

Import/Export

Additionally you can now import and export your programs from the RED Brick with the Brick Viewer. If you download the new Brick Viewer first, you can even export your programs from the old Image Version 1.3. Update the image afterwards and import your programs back again in Image Version 1.4! With this it will be really easy to update to new image versions.

https://www.tinkerforge.com/static/img/_stuff/brickv_red_brick_export.jpg

Access Point

If you have one of our WIFI USB Adapters there is another awesome feature. You will be able to turn the RED Brick into an Access Point with just a few clicks. You can then for example directly connect to the RED Brick web interface or to the Brick Daemon on your RED Brick with a smart phone or similar. No external network equipment needed!

https://www.tinkerforge.com/static/img/_stuff/brickv_red_brick_access_point.jpg

Since we got the feedback that some of the compilers and interpreters on the RED Brick are too old, we also switched from Debian Wheezy to Debian Jessie and removed the dependency to the Raspbian repository. For example Python is now available in version 3.4 instead of 3.2. This also means that hard to fix package dependency problems occurring because of incompatibilities between the Debian wheezy and the Raspbian repository are now gone! You will now be able to apt-get anything from the Debian repositories without doing any harm ;-).

Happy New Year from Tinkerforge

We wish all of you and your families a happy, healty and tinker-heavy 2015!

MakerBeam has reduced their prices for 2015. We will of course pass the price cuts to you, the prices in our shop have already been adjusted. The Starter Kit: MakerBeam is now available in a convenient storage box and it costs less then 100€ now!

https://www.tinkerforge.com/static/img/_stuff/starter_kit_makerbeam.jpg

The end of the year 2014 was pretty stressful for us. The sales launch of the RED Brick shortly before Christmas resulted in a huge amount of orders, that we were able to completely ship before Christmas. During the holidays a big a amount of orders did accumulate again, we will be able to ship all of the currently open orders on either Friday or next Monday.

The complexity of the RED Brick with all of its features, such as support for many programming languages, stack communication, support for Ethernet Extension, network manager etc. did result in a first image release with some bugs. All of the big blunders should be fixed in the current image (1.3).

Altogether, the year 2014 was a very successful year for us. We were able to release lots of new products and kits. The highlight was of course the RED Brick. We never before had a product with such a huge development effort behind it. In 2015 we plan to enhance the RED Brick a lot. Beside the possibility to configure a WIFI access point on the RED Brick with the help of the Brick Viewer, we would like to support GSM sticks and do lots of more usability enhancements. We also already have some prototypes of Bricks and Bricklets ready that need to be tested and refined. Additionally we plan to add lots of new accessories to our shop.

Thank you for the fantastic year 2014 with you! Stay tuned for for an even better 2015!

New Master Bricks and Merry Christmas

We released a new version of the Master Brick last week, the first customers should have already received them! Because of all of the excitement in the last two weeks we forgot to officially introduce it :-).

https://www.tinkerforge.com/static/img/_stuff/brick_master21.jpg

The Master Brick 2.1 has several small improvements compared to the predecessor (Master Brick 2.0):

  • Bugfix: You can now flash the Brick again with an Ethernet Extension present in the stack, this wasn’t possible in version 2.0.

  • I2C Bus: I2C is used as a bus for communication between Bricks and Bricklets, e.g. to read out the EEPROMs of the Bricklets. The longer the bus is, the harder it is for us to ensure a stable communication between Bricks and Bricklets. With a Master 2.0 and four Bricklet connectors, the maximum bus length was 4x2m = 8m. To increase the electromagnetic immunity, we split the I2C bus into four different buses with an I2C hub.

  • USB: The USB interface is now equipped with an ESD protection IC and an EMI filter.

Next year we want to update more of the existing Bricks/Bricklets and there will also be many new ones!

We wish all of you and your families a merry, quite and tinker-heavy Christmas!

https://www.tinkerforge.com/en/doc/_images/Bricks/brick_master21_bottom_600.jpghttps://www.tinkerforge.com/en/doc/_images/Bricks/brick_master21_top_600.jpg

Status update: Shipping at Tinkerforge

Thank you for all of the orders! The announcement of the RED on last Friday and the articles from Golem and Heise (German) did lead to a rather large shipping backlog.

All currently open orders will be shipped this week. Generally we will be shipping up until December 23rd.

We did prepare very well this time, but could nevertheless not keep pace with the orders. Currently we are working at full speed to process the backlog. Thank you for your patience!

Since we frequently got this question: We will ship up until (including) December 23rd. So you do have some more time left to order if you want Bricks and Bricklets underneath your Christmas tree. If you order from outside of Germany, the only shipping option that can guarantee a shipment before Christmas is FedEx. Orders with DHL or Deutsche Post as shipping option may not arrive before Christmas.

https://www.tinkerforge.com/static/img/_stuff/red_brick_flashing_10sd.jpg

One of our tasks is to flash the ordered SD cards. You can take a look at our flashing setup in the image above. It uses a USB 3.0 hubs with 10 USB 3.0 card-readers each. This setup is currently running around the clock.

HDMI cables and some of the cases will be delivered subsequently.

Edit: Miraculously, new plastic arrived already today. So there won’t be a shortage of cases!

In beforehand we did speculate about the composition of the orders. One question was, how many accessories will be bought together with the RED Brick on average. We did misjudge the amount of necessary HDMI cables. We estimated an order rate of 25%, but in reality about 85% of all RED Brick orders include an HDMI cable. We already ordered new HDMI cables, but our supplier also seems to have a backlog. We do have a similar problem with our cases. Our laser cutter, that is used to cut the cases, is also in continuous operation. Our former big stock of plastic is drawing to a close and new plastic will not arrive before Christmas. We likely won’t have enough plastic here to produce all of the necessary cases. So we have to deliver some of them subsequently.

Don’t panic if your package is missing an HDMI cable or a case, they will be delivered separately as soon as possible (see delivery note)!