Control garage door drive Rademacher S1 with a Raspberry Pi

Recently I bought a garage door drive from Rademacher (S1-650N-1). The purchase I made in the opinion, to be able to control this through the normal 433Mhz modules on the Pi. That’s why I made sure when choosing the product, which is controlled with 433 Mhz. Unfortunately I had to learn that this is a rolling code is used after installation of the garage door. Thus, the control via the Raspberry Pi could I forget. After a little searching on the Internet I was then advised the base station of Rademacher to buy. But that was not really an option since these almost three times as expensive as the whole garage door itself.

So I needed a different solution. In addition I have once broken down the remote control. The built-in button, so my idea could be easy controlled via a relay. Thought, done. Is working!

The next thought was, I can not take out the battery and connect the power supply directly to the Raspberry Pi? Actually, I thought, but I am not an expert, it does not work. Because in the remote controller has a A23 battery installed. This consists of eight LR932 cells and provides 12V. In the end I simply tried and applied the remote control to the 5V source of Raspberry Pi. Is working!

I’ve also tried the 3.3V source, because then I could control the remote without a transistor or relay. However, this experiment did not work out. This source is too weak. While the remote control LED flashes, but the signal probably is not enough to reach the receiver, even if you test is right next to the door drive in the garage.

So back to the configuration with the relay, although it is a little more complicated.

After the “Prove of Concept” was successful, I made the whole thing a little bit more professional. First, the cable was soldered. The relay (I had no digital relay at hand) had me a little too clunky and the “clunk” bugged. So I ordered a couple of transistors. But I have chosen NPM transistors (MPS2222A).

Meanwhile the system is running for a few months and is very stable! I have also installed openHab at my home. Means, I can comfortably control the garage door via web interface or smartphone app – also via the Internet, no matter where I am in the world on the go.

Here are all steps to implement it:

A) Preparing Remote Control
First, take the remote control apart. Expose the board completely and take out the battery.


Here are the relevant contacts or places to which we want to solder cables:


to 1) + 2): On these two points, I soldered to one cable. Between 1) and 2) is the button to control the garage door drive. We will later bridge these two connections.

to 3) positive pole of the battery.

to 4) minus pole of the battery.

So, soldering iron: So it looks to me after I soldered all cables to the marked points. The points 3 + 4, I have bridged with a jumper.


B) Cabling Raspberry Pi, transistor and remote on Breadboard

The remote control is now directly connected to the 5V source. For this purpose use the soldered to 3) cable.

The soldered cable to 4) connect to the transistor.

The middle contact of the transistor you have to connect to the pin 26 and last but not least the right contact of the transistor connect to GND.


This is how it looks like from the bird’s eye view:


C) Software testing on Raspberry Pi

With this small PythonScript I turn remote control on:

As you can see, I activate the remote control for half a second. It’s probably not necessary, but better safe than sorry.

D) openHab configuration (optional)

My openHab installation is running on another server, so I’ll call the Python script via SSH. My item configuration like this:

And here is the inclusion into the site map:

Conclusion: As described in the beginning, the control of Rademacher S1 via the Raspberry Pi runs very smooth since months. I’ve never had a problem with it! And the control over openHab is wonderful:


WordPress Plugin: Better Content

Whenever you use wordpress as somekind of a wiki or glossary, there might be some post that you would like to be informed about updates by others. This plugin adds the possibility to decide by each post on the frontend, if you would like to be informed by email if any updates have been on your post of choice.

The email you will receive shows in a comprehensive diff the changes of the old and new version.

WP BetterContent (142 downloads)


You can find the plugin also in the wordpress repository:


Help me to impove the plugin and Donate via PayPal:


Using custom fonts in WordPress Avada Theme

I love WordPress and I love the Avada Theme. Avada gives me tonnes of options to build a nice website in all my projects. But there is one thing that I don’t like: Fonts customization! In this post I will show you how you can replace the font theme wide. Continue reading “Using custom fonts in WordPress Avada Theme”

Live healthy – for 19,50 Euro

In todays homes, the quality of the air is very poor. Homes are getting more and more tight. Because we want so save energy and take care of the environment, we install windows that don’t allow air exchange when they’re closed. Sounds stupid, because windows should be tight, that’s what we want. But modern windows are that tight, that you could use it in a submarin. Continue reading “Live healthy – for 19,50 Euro”

Amazon Instant Prime on Apple TV 2

Update: Since October 2015, Amazon changed many things and added DRM to their content. With this update, you cannot watch videos anymore, using the plugin. You can follow the discussion here.

I have tried a lot of different streaming services in the last couple of years. Of course iTunes, WatchEver, Maxdome and some more. Th problem always was, that most of the services relay to a certain kind of hardware. Mostly proprietary hardware.

I really like my Apple TV 2. Of course a higher resolution would be nice, but right now 720p is okay for me. With my Apple TV I can switch from iTunes to WatchEver to Netflix, back and forth.

Recently I terminated my WatchEver account. I was too expensive for my too occasional TV evenings. But since I am a heavy Amazon Shopper with a Prime account, I tried. Nice! A lot of movies and TV series are included. There is more stuff included than I have time to watch. But: I did not work with my apple TV :-(.

For the first days I was watching Amazon video like that:

1) Turn on the TV
2) Turn on the Apple TV
3) Download the Amazon Instant Prime App on my iPhone.
4) Selecting the movie I’d like to watch on my iPhone.
5) Starting the video on the iPhone and using AirPlay to mirror my iPhone screen to the Apple TV.

That solution worked, but meant that my iPhone is blocked while watching the video. And I had to use a power supply for the iPhone while watching the video. But the biggest problem was that I had to put the iPhone next to my WiFi router, otherwise the streaming quality was too bad.

So, I was still looking for a solution to directly stream Amazon video from the Apple TV, without having to buy a new TV or additional hardware.

After weeks of searching in the internet, I found a solution: I found out, that somebody wrote a plugin for KODI (formerly known as XMBC), that is able to stream Amazon videos. It is still in an early development stage, but people tested it and wrote that it worked on Windows and Linux environment. So I was very curious to see if it works on a Apple TV as well.

To install KODI/XBMC on a Apple TV, you have to Jailbreak it. I recommend the following tutorial:

The second thing you need to do is, you have to install the KODI plugin for Amazon Instant Prime. A good german turtorial can be found here. Use Google Translate in order to follow that tutorial in your language:

After following the two tutorials, your have the freedom to switch form iTunes to WatchEver to Netflix to Amazon Instant Prime on your Apple TV 2. Enjoy!

jQuery Example how to fade in / out a page

jQuery gives you a very easy api to fade in and out a page. This examples consists out of two html files. Download and unzip the files, open one of the files in your browser. First the pages fades in, after a couple of seconds it fades out before a redirection to the other files will be executed.


jQuery Page Fade In & Out (318 downloads)