First of all, Happy New Year! I thought I’d start this year with an attempt at being more active again here on my blog. So this is it. :)
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).
Today I finally found a moment to make pilight2mqtt a bit more usable and also add some infrastructure.
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.
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.
I recently read an article in the German computer magazine c’t about controlling simple plugin switches via pilight. Pilight 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.
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.
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.
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.
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.
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.
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:
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:
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.
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.
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.
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 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.
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.
I finally managed to get the Maven-based build of my Eclipse-based graphical editor to work - including unit and swtbot-ui tests:
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.
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:
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 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.
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:
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:
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:
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.
If you ever need to serve Tomcat applications through Apache2, here is a quick guide on how to do this on Ubuntu.
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:
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.
To install flasher, do
From: Terry Pratchett - The Last Hero - A Discworld Fable.
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
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.
Data Robotics Drobo
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.
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.
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.
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
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.
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?
Wer sucht, der findet. Leider nur ein Ausschnitt aus einem relativ alten iX Artikel über MDA Tools: iX 5/2005, S. 102: Softwareentwicklung.
Muss man mal gelesen haben:
I was looking for a smooth way to create singletons in python. Here is a metaclass solution that seems to work:
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.
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.
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:
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.
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