Blog

Posts

  • Killing hanging polling in Jenkins

    For one reason or another Jenkins sometimes gets stuck when polling SCM (which is, apparently, a known issue, cf [JENKINS-5413] SCM polling getting hung - Jenkins JIRA).

  • pilight2mqtt update

    Today I finally found a moment to make pilight2mqtt a bit more usable and also add some infrastructure.

  • pilight2mqtt

    Some days ago I blogged about my first experiments with pilight and mentioned that I intended to attach it to Home Assistant. Today I finally found the time to get started and now have a working prototype ready.

  • Fixing Boot Camp WiFi issues

    After installing Windows 10 on my old MacBook Air I ran into some problems with my WiFi. Specifically, WiFi drops every so often when using Boot Camp. The network connection simply stalls for some time and then I would manually need to reconnect the connection to make it work again.

  • Pilight

    I recently read an article in the German computer magazine c’t about controlling simple plugin switches via pilightPilight is a small piece of software with a built in web-based GUI that can control a variety of devices. This intrigued me quite a bit since I still had a cheap Brennstuhl RCS 1000 N comfort lying around here, which is exactly the switch set used in the article and is apparently supported quite well by pilight.

  • Home Assistant

    I believe home automation, at least for me, is to a large extent driven by the joy of trying out new things and extending my system. I think this is why, despite my previous endeavors into FHEM, I kept on tinkering with Home Assistant. I am a big Python fanboy and do dislike PERL with a passion, so it seems in a way natural to do so.

  • FHEM Installation on Raspberry PI

    In my previous posted I briefly outlined my current attempts at a home automation setup using FHEM. In this post I will describe the basic steps necessary to set up FHEM on a Raspberry Pi - or rather what I did to set it up. There may be simpler ways.

  • Home Automation with FHEM

    For a while I was fairly happily running OpenHAB to control and automate my HomeMatic devices. I had a few rules configured to trigger outdoor lighting and the like. There were a few delays occasionally, though, which I think may have been due to network timing or simply due to a delay in receiving the events from the CCU2.

  • Home Smart Home - A Few Weeks Later

    After a few attempts to get my Z-Wave network to work reliably I finally decided to maybe try something else for the outdoor lights. The Z-Wave setup did not have the range to cover my driveway and yard, unfortunately.

  • Resetting Z-Wave devices

    Since I bought a new Z-Wave controller recently (ZME_UZB which support Z-Wave PLUS) I was now facing an issue there I needed to remove a device from my old controller (ZME_Z-StickC). However, I did not have the old controller available.

  • Controlling Diskstation via openHAB

    While building my Smart Home system I figured I might as well attach my Diskstation DS212 to the controls so I can turn it on and off at will. To make this work, I used the exec binding, the network health binding and the WOL binding combined into one neat little Switch:

  • Home Smart Home - Day 2

    After a day of experimentation with openHAB I finally decided to first build a prototype system, rather than cutting real wires and putting the actors in between. This is what my prototype looks like:

  • Home Smart Home

    End of last week I finally ordered the first few components to start my Smart-Home project. I am basing my setup on Z-Wave because I like the fact that it is an open standard plus there is a USB-controller I can plug into my RaspberryPI.

  • My new PC

    After some five years I finally decided it was time to say goodbye to my old desktop PC, an old Intel Core2Quad Q9550  with 8GB RAM and an somewhat ancient Sapphire Radeon HD4870.  I abandoned all components except my two SSDs; one Intel 320 (120GB) and one Samsung SSD 840 PRO (256GB). This also means that I replaced my Antec P180 with a new enclsoure.

  • New blogging engine

    Finally, after a year of almost no activity, I have updated my blog with new software. I used to run Wordpress for the past seven or so years but finally decided it was time for something new. As of today, I am running on Pelican, a Python-based static website generator. This means good-bye to the php-based dynamic colution. I hope this will give this blog some more security. Comments will be via Disqus for the moment, for want of a better alternative. I still plan to eventually migrate to completely static comments, but for now Disqus will do.

  • What to do if biber stops working on MacOS X

    Yesterday evening I ran into a bit of a problem when I tried building my latex document that uses biblatex/biber. For some reason, biber would not generate any output but fail with

  • Running WindowTester Pro from Maven/Tycho

    Running SWTBot tests as part of your maven/tycho build cycle is rather well documented and pretty straight forward (see for example the sonatype docs). Doing so with a WindowTester Pro recorded test is not - but then again it is pretty straigt forward as well.

  • Running Tycho in Jenkins/Hudson

    When I first started running my Tycho/Maven build of my visual editor in Jenkins the build would always fail if a single test failed. That was mainly because the Maven build would run the surefire test automatically but cancel the build if there were any failures in them. In turn, this would not keep artifacts from being generated and thus not create a new snapshot release. To make matters worse, my tests are not that stable yet - running them on Linux sometimes fails for no reason whatsoever, leading to yet another broken build.

  • vRest maven build finally working

    I finally managed to get the Maven-based build of my Eclipse-based graphical editor to work - including unit and swtbot-ui tests:

  • CUnit-to-JUnit transform now on BitBucket

    One of the most visited blog entries on this blog probably is my article on transforming CUnit results to JUnit results: CUnit Tests in Hudson. There I write about how to use xsltproc to transform the output of CUnit to be processed by Hudson/Jenkins.

  • DIY NAS #1: Introduction

    I’ve been pondering the thought of buying a NAS system for quite some time now but could not find a suitable one. My requirements are quite challenging though, I must admit:

  • Setting default applications in Ubuntu 10.10

    After installing Adobe Reader into my Ubuntu installation I noticed that the Adobe Reader was actually making itself at home as the default viewer for PDF files. However, I do only rarely use it because I feel that the Ubuntu Document Viewer (aka evince) is the quicker and better solution most of the time.

  • Testing XMLRPC Controllers in Pylons

    Testing is one of the essential tasks in modern software development, so it is only natural to want to test an application as thoroughly as possible.

  • Pylons and Apache with repoze.who BasicAuth

    To be able to use Basic Authentification in repoze.who running in a wsgi app in your Apache installation, you need to tell Apache to WSGIPassAuthorization. An Apache configuration like this will do:

  • Generating Faults in Pylons XMLRPCController

    This might seem easy enough, but it took me a while to get it right since the Pylons documentation is a bit misleading here, really. It says you should use xmlrpc_fault from pylons.controllers.xmlrpc but that’s actually not working if you’re doing something like:

  • Django on Windows

    To more easily use Django on Windows, create a dos .bat file in Django’s bin directory named django-admin.bat with the following content:

  • Multiple Many-to-Many in Grails

    Creating many-to-many relationships in Grails is quite simple. It is also possible to have multiple many-to-many relationships in a single class, but for some reason I found little documentation on how to do this. It is actually quite simple once you know how to and pretty much comes down to syntactic sugar, so to speak. Read more after the break.

  • Connecting Apache2 and Tomcat6

    If you ever need to serve Tomcat applications through Apache2, here is a quick guide on how to do this on Ubuntu.

  • Making Bugzilla run on Windows with XAMPP

    I was struggling a bit with making Bugzilla 2.2 work on my Windows XAMPP. I kept getting error about child processes not being able to start. The logs said this:

  • Installing Ubuntu 10.04 Server 64bit via USB Pendrive

    After struggling with installing Ubuntu Server 10.04 from a bootable usb stick, here are some hints in case anyone else ever wants to do this. My problem was that the Server Installer kept trying to load files from the CD and could not find them, which made the installation fail. I actually wonder why it could not find anything because it was apparently looking in the right places (i.e. the USB stick mounted under /cdrom). Feel free to enlighten me. Read more after the break.

  • Flashing PR 1.2 to the N900 from Ubuntu 10.04 64bit

    To install flasher, do

  • Quote of the Month

    From: Terry Pratchett - The Last Hero - A Discworld Fable.

  • Des Christkinds liebste Gadgets

    Da ja bald Weihnachten ist stelle ich an dieser Stelle einfach mal eine Liste der Must-Have-Gadgets für das diesjährige Weihnachtsgeschäft zusammen.

    Wer also noch passende Geschenke für den technikverliebten Geek sucht, wird hier wohl schon irgendwo fündig werden.

    Thermaltake DH 202

    200912010251370555

    Thermaltake’s schickes wie nützliches HTPC chassis ist wohl so ziemlich das coolste, was ich bis dato gesehen habe.

    Auch die technischen Daten wissen durchaus zu überzeugen. Natürlich nur bei der Version mit 7” Display. Alles andere ist für Mädchen.

    THG hat auch einen Test zu eben diesem Gehäuse online. Für schlappe €449,- gibt’s das Gerät auch bei Amazon.

    Data Robotics Drobo

    drobo-s-angle-164x151[1]

    Für den unermüdlichen Daten-Messy besonders geeignet ist die Drobo S mit zugehörigem DroboShare.

    Erstere beherbergt bis zu 5 SATA Festplatten und sorgt dank BeyondRAID™ technologie für Datensicherheit. Anschluss findet diese Schmuckstück wahlweise via eSATA, Firewire 800 oder USB 2.0.

    Bild0-1030082A35-101_150[1]

    Ans hauseigene Netzt gebracht werden kann die Drobo durch die kleine Zusatzbox mit Namen “DroboShare”.

    Diese erlaubt den Anschluss von bis zu zwei Drobos (wer’s braucht) und lässt sich bequem mit DroboApps erweitern. Cool.

    Für ganz hartgesottene gibt es noch die großen Brüder der Drobo S: DroboPro und DroboElite mit Platz für jeweils bis zu acht Festplatten.

    Alle Drobos kann man hier in Deutschland zum Beispiel bei Cyberport erwerben. Drobo S + 5x 2TB Barracuda 5900.12 + DroboShare kommen
    zusammen auf geschmeidige €1600,-. Also ehr was für den großen Geldbeutel.

    Silver PAC Evolution 5500

    Nachdem wir also jetzt mit ausreichend Platz für unsere Daten als auch einem entsprechend edlem HTPC Gehäuse (das wir hoffentlich auch bestückt haben) ausgestattet sind, braucht es noch die passende Bedienungseinrichtung.

    Was läger näher, als dir Silver PAC Evolution 5500. Ihres Zeichens Multifunktionsfernbedienung. Aber was für eine.

    evolution1[1]

    Wie gizmodo.de berichtet wird das gute Stück wohl von einem ARM9 angetrieben und läuft mit Windows Embedded CE. Wie gut oder schlecht das jetzt funktionieren wird sei mal dahin gestellt. Cool aussehen tut sie auf jeden Fall.

    Dell Inspirion Zino HD

    dell_inspiron_zino_hd_03[1]

    Wem das jetzt alles zuviel gebastel ist – vorallem das mit dem eigenen HTPC – der greift vielleicht lieber direkt zu fertigen Lösungen. Da wäre dann zum Beispiel der Dell Inspirion Zino HD.

    Ausgestattet mit allem was das Multimediaherz begehrt gibt’s den kleinen schon ab €300,- im Dell Online Shop. Wenn das mal nicht mal ein adäquater Ersatz für den angestaubten DVD Player oder gar BlueRay Player ist? (Ja, ein BlueRay Laufwerk gibt’s für €150,- extra).

    Und einfacher als selber einen HTPC bauen ist’s auch noch.

    Motorola Milestone

    Ja, was wäre so eine Liste aber ohne ein Handy, mit dem man all’ seinen Freunden dann auch von den tollen Geschenken berichten kann?

    41ATWV22lCL._SL160_[1]

    Wie wäre es da mit Motorola’s Milestone? Das gibt es käuflich zu erwerben bei Amazon.de für schlappe €460,-. Schön mit Google’s Android 2.0 und so. Da kann man eigentlich nur noch zugreifen.

    [via THG, Gizmodo, Gizmodo]

  • Popsy Team: V.I.P. 2 – My all-time favourite Demo

  • CUnit Tests in Hudson

    Since I needed to parse the results of some CUnit tests in Hudson in a recent project, I came up with the following transformation which I apply to the cunit xml result file.

  • Code Metrics: WTFs/m

    Good metrics:

  • MDA Tools Überblick

    Wer sucht, der findet. Leider nur ein Ausschnitt aus einem relativ alten iX Artikel über MDA Tools: iX 5/2005, S. 102: Softwareentwicklung.

  • Principles Of Object Oriented Design

    Muss man mal gelesen haben:

  • What the hell happend to Dilbert

    poop emeralds

  • Singleton Pattern in Python

    I was looking for a smooth way to create singletons in python. Here is a metaclass solution that seems to work:

  • My first "Plugin"

    As you might have noticed I’m still struggeling with my theme choice. I’ll be switching themes a lot soon but wanted to get started on integrating plugins (like, for instance, Link Indication ). Some of those require adding CSS code though. I stumbeled upon one guide on how to preserve your CSS changes througout themes HERE but that still required you to modify the template and that I did not want to do.

  • The good old days

    Lately I’ve been playing a lot of Titan Quest. Being some kind of Diablo Clone it is quite fun to play, though it does not reach the
    originals level of quality (i.e. fun) by far. And I for one have been wondering why.

  • Favourite Demos

    I just tuned in to demoscene.tv and came to think of my five
    favourite demos of all times. Here we go in order of appereance:

  • Capture card config for MediaCenter and HVR-1100

    As I am trying to setup my TV tuner for use with MediaPortal right now I had to write a configuration file for my card. Here is what I added to CaptureCardDefinitions.xml. The digital part actually seems to work, the analog however does not until now but I’m working on that one.

  • AWK Function

    Just for the hell of it. A little awk function to find a columns id in a
    csv file. Quite a handy one I might add:

subscribe via RSS