Category Archives: Home automation

Web GUI for Tellstick Duo devices

remotestick-serverI wanted a clean and simple web interface to turn on/off my devices. It should also work on an iPhone or iPad.

I found that the remotestick-server created by Patrik Åkerfeldt was exactly what I wanted. It is based on the lean python framework Bottle.

The only tweek I have made so far is to filter my device listing to the devices beginning with underscore will not show up. The reason for is it to be able to define all my switches but only show the active one in the GUI.

Installation is simple:

  1. Install the bottle framework with: sudo apt-get install python-bottle
  2. Download and upack remotestick-server from GitHub.
  3. Create a directory and put the files here:
    mkdir ~/remotestick-server
  4. Start the server: python –host= –port=8422 –user=xx pass=secret
  5. Turn your browser to

You should of course replace the IP address with the one for your RPi). You may omit user & pass for a local installation to avoid a login-page.


Python WebIDE for the Raspberry Pi


Click on image to view full size in a new tab

The site is both a good site for purchasing your Raspberry as well as a welth of components for any type of project.

There is as well a lot of very good tutorials, but this time I would like to hint of their Alpha-version of a very nice Python development environmen.

The Adafruid WebIDE installes on the Pi and then you access it via your browser. Key advantages:

  1. Source file editor via a browser. Not need to ssh into the device and use vi or nane. Works with Safari on the Mac, but is optimized for Firefox and Chrome.
  2. Run and debug from within the browser IDE.
  3. Integrated support for source-code handling via Bitbucket. All your files are saved and versioned with a free personal account at

The IDE even has event management feature that allow you to schedule program snippets to run at specific intervals.


TellstickDuo with Raspberry

Tellstick Duo

Tellstick Duo from here connected to the USB port of th RPi

Involved products:

  • Raspberry Pi model B
  • Telldus TellStickDuo
  • Remote switch Nexus PE3
  • Remove swich Nexa Pro WRR-1
  • Remote dimmer switch Nexa ECMR-250
  • Motion sensor Nexus LMDT-1

On my list of Raspberry projects is to use it for Home Automation. For that purpose I have purchased a TellStickDuo.

Attached via the USB port, it will allow the RPi to send commands to a range of switches in the home. These include on/off as well as dimmers from different vendors.

The supplier, Telldus, offers a free cloud-based remote control of the TellStickDuo if you leave it connected to a running Mac or PC with  TelldusCenter.

Continue reading