shackaday_frontSeit Februar 2010 steht der shack e.V. für technikzentrische Jugend- und Erwachsenenbildung sowie den künstlerisch-kritischen Umgang mit Technik.
Auf 450 qm finden die nunmehr über 200 Mitglieder und unzähligen Besucher Werkstatt, Elektroniklabor, Textillabor, Fabrication Lab, Medienlabor und Gesellschaftsräume zum Lernen, Experimentieren und Kommunizieren.
Zum 5-jährigen Jubiläum öffnen wir unsere immer offenen Türen noch ein Stück weiter.

Euch erwartet ein umfangreiches Vortrags- und Workshopprogramm.
Für das leibliche Wohl ist gesorgt.

shack-a-days 2015

Samstag, 5. Dezember 2015
12:00 Uhr

Ulmer Str. 255
70327 Stuttgart-Wangen
U4/U9 „Im Degen“


  • Führungen durch die Vereinsräume
  • Wechselnde Verpflegungsangebote (Verschiedene Naschereien, herzhaftes Curry, Getränke & Bar)


Gemütliche Lounge zum Ausklang bei Cocktails & Musik.


First come, first served, jeweils Platz für 6-8 Teilnehmer.
Für den GnuPG Workshop wird ein Laptop mit Thunderbird oder Outlook benötigt.

Wann Was Wer
1200 – 1500 Emailverschlüsselung mit GnuPG für Jedermann Karlo
1300 – 1500 Funk & Antennen horn
1500 – 1700 Painless VPN mit tinc exco, makefu


Wann Was Wer
1230 Grundlagen & Kennwerte von Antennen Andreas Uebner
1300 reddit erklärt h0uz3
-/- -/- -/-
1400 Neue Programmiersprachen und was sie besser machen flyx
1430 choco – apt-get für Windows kurt
1500 Das perfekte Steak hadez
-/- -/- -/-
1600 5 Jahre shackspace – Ein Rückblick (tbd)
1630 Robot Operating System timm
1700 Lightning Talks TBD
1730 borg backup Thomas Waldmann
1800 Layer 1 Internet (Fiber, xWDM & Lasers) momo
1830 Hackerquiz qknight





Flattr this!

exco and makefu’s latest hacksession started out as a just for fun one evening hack and (after some more evenings) now turned into this uber smart home with solar and everything.
We claim the title „world’s smallest ’smart home'“(for ants) and challenge you to take it from us.
The project started out by upgrading the shackspace community hand-brick-layed (ttb, momo, phrewfuf, exco) house to a smart home by installing a small I2C dipslay (0.96″ ) to show DNS and TCP delay of the shackspaces internet (WiFi) with an ESP8266 to evaluate the shack’s „enterprise“ internet setup.
After adding a temperature and humidity sensor (DHT11makefu now also want’s to claim The most smart per m²with a total of 1066 [smarts/m²].
The house is 5cm in width and 15cm in length which is a total of 0,0075 m²equipped with an ESP8266 clocked at 160mhz and 8 smarts:
  • web server
  • status display
  • rgb lighting
  • temperature / humidity sensor
  • smart door / smart lock
  • wind turbine
  • internet delay measurement

Web Server


The first version of the website on a mobile looked like (image left):

We used the jquery-colorpicker plugin but it was not really what we were looking for and somewhat broken on mobile phones. exco then hacked together (the google foo is strong in this one) a very fancy color wheel with nothing but js writing on a html5 canvas.

The final verision can be seen on the right.

jsfiddle of the canvas colorpicker.

The way that proved successfull on the esp was sending a „larger“ web page in a loop of small chunks.

Most resources (jquery, …) are pulled from cdn since the ESP doesn’t have a whole lot of storage and the cdn is faster delivering content anyways.

The esp lua and html code can be found on github.

Status Display

The first smart feature the home got was a display right into its window.   

We use the cheapest display we could get from aliexpress, a 0.96 inch single color OLED display with 128×96 pixels. You can now buy them for under 5 dollars and these nifty displays only need two wires to attach it to the ESP or an arduino! This became very important for the final feature creep. 

It got even better when we found out the u8g lib has already been ported to nodemcu on the ESP ->  just import the library and write  text on the display for profit. We found this to be a very cool pattern for all microcrontroller projects, add a display and BAM you have graphical output.

RGB Lighting

As second feature followed a ws2812b rgb led for interior lighting and a bootstrap website to control its color.

Temperature / Humidity

Just like every smart home the smallest smart home needed some real sensors. Makefu found a cheap Temperature/Humidity Sensor – DHT11 in one of his project boxes and the sensor was directly soldered to the esp.

Smart Door / Smart Lock

For no apparent reason makefu said we needed an automatic door – so it had to happend.

We professionally installed (read: hot glued) a small servo to the inside wall and conneted it to the door with a bent spring.

You don’t have to authenticate with your private key which makes it convenient to use but you shouldn’t choose that route for a home you live in.

Better use an openwrt box and public/private key authentication.

Wind Turbine

Samu really really wanted a wind turbine for our smart home so he ziptied a dc brushed motor onto an aluminum extrusion, added some unknown capacitor he found in some box for filtering sth, hot-glued it onto the base plate,added two wires plus a sop-23 mosfet  and bailed out.

We decided to add a 10ohm 5W resistor to limit the max current (of particular concern to us was the the inrush current) to 0.5 amps and a pulldown on the mosfet controlling esp pin.

Internet Delay Measurement

In the beginning we just wanted to check how well the wireless network performs in terms of delay to the internet. To test this the ESP measures two steps within small time intervals: 

    1. Resolve

    2. Connect to via HTTP GET / and wait for the response, then close the connection

This information then is displayed on both the website and the display as well as being send through the wireless pipes to the mqtt server on a virtual machine here at the shackspace. 

This data is redirected to a graphite server where it can be viewed in clean graphs:

the nerd part:

ams1117 are a fast and cheap way to get the esp working on an USB port or USB charger.

The ESP cannot send chunks bigger than 1KB directly to the socket – the files have to be sent chunked to the client actually work. 

Makefu implemented the function you can recycle for your projects:

function send_file(f),"r")
block =
    while block do
           block =
    file.close() end

So cozy inside (no space for blackjack and the rest)

how the smart house began

ESP8266 connections:

(before: left)

GPIO4 broken (for no apparent reason)

GPIO5 ws2812b

GPIO00 pull-up 10k and door servo

GPIO02 pull-up 10k and DHT11 temperature & humidity sensor

GPIO 14 pull-down 10k (because of the mosfet) windturbine

GPIO 12 + 13 128×64 oled

(after: right)

Flattr this!

powerdistributionboxUnser Mitglied @uescher hat in Vorbereitung auf das vergangene Chaos Communication Camp 2015  für das Kesselvillage einen Industrie 5.0 tauglichen Stromunterverteiler gebaut.

Es wurden reichlich Leitungsschutzschalter und Fehlerstromschutzschalter verbaut um die bestmögliche Verfügbarkeit von Energie sicherzustellen.

Das Herz des Verteilers besteht aus einem per RS485 Digital auslesbarem Stromzähler SDM630

Weitere Details und Grafiken könnt ihr unter dem weiterführenden Link finden.

TL;TR: Von geplanten 15kW Leistungsbedarf wurden für 40-50 Personen nur ca. 1.6kW benötigt.

Flattr this!


UPDATE:  pi hat netterweise mitgetippt, den Mitschrieb findet ihr hier


Am Mittwoch den 23.09.2015 um 18 Uhr lädt der shackspace zu einem debian packaging workshop ein.

In diesem workshop lernt ihr, wie man seinen Sourcecode in ein debian-Paket verschnürt, welches sich später deterministisch auf jedem debian-system installieren und updaten lässt.

Read the rest of this entry »

Flattr this!

img_7233-h400At shackspace we have a „take away“ shelf where various items slowly accumulate and are free for the taking.

One such item was a pre-war precision voltage and current meter. The „little“ gem is around 30×20 cm in size and weighs in at something between 4 to 5 kg and comes in a Bakelite case. Clearly designed to last forever.

Sadly though not quite forever. The probe connector terminals were broken off.

No problem for shackspace hacker chris who took to the broken device, searched for replacement parts and in the end had to turn adapters on his lathe to make the biggest connectors he could find fit the even bigger holes of the ancient device.

There’s also a full writeup (in German) with tons of tech-porn photographs for your enjoyment.

Flattr this!