Category Archives: Python

Linux Kernel Module to Control 434Mhz RC Outlets – Pi Version

Added a setup-script to cross-compile the Linux kenel module for the RC outlets for the Raspbarry Pi. To be able to cross-compile the module, in brief the following needs to be done: Install ARM cross-gcc On Ubuntu: sudo apt-get install gcc-arm-linux-gnueabi make ncurses-dev Get RasPi Kernel E.g. use Kernel from GIT: git clone https://github.com/raspberrypi/linux.git linux-raspberrypi […]

EDIMAX Smart Plug Switch SP-1101W from Python

I wrote a simple Python class to access the “EDIMAX Smart Plug Switch SP-1101W“. The whole code could be found here. For more information on how the communication with the Smart Plug works, see this post on ELV (available in German only). The code could be used as library or as command line utility: Using […]

Micro Python on STM32F4-Discovery

The Micro Python project is an effort to make the Python3 language fast and lean enough to run on micro controllers and if was successfully founded by this KickStarter campaign. It is intended to run on it’s own hardware, the pyboard. Unfortunately, this board is not widely availabel, and everyone who missed the KickStarter will not be […]

Bric(k)-o-lage – Blockly

Here are some screen-shots of the Blockly based visual programming editor for Brick-O-Lage. Roughly it works like this: On the Master Brick, the bolsrv is running. bolsrv uses libbol to access the bricks connected to the master via I2C bolsrv also includes a mongoose based web server doing two things: serving the HTML+JavaScript based visual editor […]

Bric(k)-o-lage – Smart Bricks the “bricolage” Way

A while ago, I started a new project trying to create different “smart” bricks which will interconnect with some other well known brick systems (e.g. Lego). By “smart” bricks, bricks are meant which are able to perform a certain functionality like driving LEDs, detecting button presses, control DC motors or servos, read sensors and so […]

Scratch Remote Sensor API

Pynetsense is a Python library that provides a simple to use API for implementing Scratch networking sensor clients. For communicating with Scratch, the remote sensor protocol is used. Beside providing a simple API to manage messages and variables, a wrapper framework is provided. The wrapper framework helps with implementing sensor clients that run in the […]

pyscmpd Running on the Pi

Gave “pyscmp” a first try on the Pi, works so far (some minor issues regarding dbus and jack-audio).

pyscmpd Making Some Progress

It seems to get usable (somehow). “pyscmpd” is now able to do basic play-list handling and playing. Both, “ncmpcpp” and “sonata” are able to browse the tracks of a predefined set of soundcloud users, add the tracks to a play-list and play them. Also the elapsed song time is transmitted to the clients, as well […]

pyscmpd started

Since I do have so many projects running currently I decided it would not hurt to start an other one. It is a Python based soundcloud music server talking the MPD protocol. Thus, pyscmpd allows (not yet, but maybe in future), to serve music from soundcloud to any MPD client out there. Currently I am […]