Samstag, 26. November 2011

Smart metering dashboard

Tonight i finshed my smart meter. This is what my current dashboard looks like:

Total power usage:


Power, Phase L1:


Power, Phase L2:


Power, Phase L3:


Power (total)


Energy (total):


Energy (daily):


Power L1:


Power L2:


Power L3:

Donnerstag, 17. November 2011

Playing around with wireless sensors

While reactivating my wireless sensor nodes, i found a nice platform for collecting data from sensor networks: pachube.com

It provides a simple RESTful API for uploading realtime data, so i added a temperature monitor for the wireless temperature node in my home office:

https://pachube.com/feeds/39831

This is what the prototye setup currently looks like:



Mittwoch, 16. November 2011

Internet of Things

Last winter i had the idea to add our flat some automation functions. I looked for solutions that were comercially available, but what i found would not thrill me. As i didnt want to put cables into every edge of our flat, i was basically limited to wireless solutions. I found two that seems ok to me: The FS20 system and its successor, called "Homematic". While FS20 has a wide range of different actors and sensors, and is pretty cheap, it has some basic limitations: communication takes place in only one direction, there is no acknowledgment of commands send to an actor. I think this is a bad thing in general, as it may lead to malfunctions. Home automation, including lightning and heating is not where i want to debug communication issues. This stuff simply has to work.
The other limitation is security: FS20 communication is completely unsecured, there is only a "house id" to prevent unwanted interaction with your neighbors devices..

The FS20 successor improves both limitations: It has bidirectional communication and encryption. What detained me from getting the homematic system then was the quite high price tag, the need to buy a special master station and some the design of the thermostats/radiator valve actors. Each rooms needs its own thermostat which then controlls the radiator actors. Adding the cost of the master station i would need to buy, i eventually ended up at a price of several hundred euros just for basics functionality. To much money for just playing around a little bit.

So last winter i decided to build some stuff on my own and did research on what would be a good point to start with. There are a lot of ressources on the net dealing with home automation stuff, but i had some preferences. As i already did a lot of projects using the AVR 8/32bit family of microcontroller from Atmel, i wanted to use one of these controllers. I also searched for solutions that provide many software components (drivers, servers, communications stacks, etc..) ready to use and tested. I know what effort it takes to get software from a quick-and-dirty hack to something useable for a reliable solution.

During my research i stumbled upon many interesting projects. I wont list them all, but some i kept following for some time, e.g. http://jeelabs.net/ building small wireless microcontroller notes or the Open Energy Monitor http://openenergymonitor.org/emon/

Eventually i got a pack of evaluation board available from http://www.pollin.de and startet with a software package named (badly) "Ethersex" http://www.ethersex.de

In the folloing i will describe some of the things i learned when playing aroung with this stuff.

Sonntag, 13. November 2011

Reisebericht Kanada Tag 13 & 14, 4.-5.7.2011

Heute morgen sind wir nach Frühstück und warmer Dusche bei schönstem Sonnenschein und Temperaturen über 20° C mit dem Jeep runter nach Banff gefahren. Bike stand an...das war ja in Whistler ausgefallen. Bei der Ausfahrt vom Campingplatz sahen wir einen Wolf auf der gegenüberliegenden Straßenseite entlangstreunen...nicht weit davon entfernt drehte ein Jogger seine Runde. Das Auto parkten wir im Parkhaus und suchten uns dann entsprechende Fullies im Laden aus, die dann noch ein wenig eingestellt wurden undließen uns dann von dem Ladenbesitzer noch eine Route empfehlen...eine "schwarze" war es. Susanna war etwas skeptisch ob des Schwierigkeitsgrades. Irgendetwas hatten wir noch am Auto vergessen und gigngen nochmal zum Parkhaus zurück. Dort wurden wir vom Fenster- oder sonstwas Putzer angequatscht, ein Deutscher der uns auch noch eine Trailempfehlung gab. Los ging es, zunächst entlang des Bow Rivers dann aufwärts zu den Bow River Falls und dann zu den Hoodoos. Das sind Kalksandsteinformationen die durch Auswaschungen entstanden sind. Nun folgte ein schönes Stück Singletrail wieder bergab in einen dunklerern Wald. Wir machten schön Krach entweder mit den Bremsen oder durch Gesang zur Bärenabwehr. Später gign es wieder bergan und wir drehten eine Runde doppelt um einen flowigen Trail nocheinmal runterdüsen zu können. Langsam machten wir uns dann auf den Rückweg gaben die Räder ab und dann zurück zum Zelt einen letzten Abend in Banff und Planung der weiteren Route.

Tag 14

Heute morgen sind wir weiter gen westen gefahren. Nach dem üblichen Abbauen und einpacken ging es zurück auf den TCH. Ein erster Abstecher war der Johnston Canyon...wir sind aber nur zum ersten Aussichtspunkt gelaufen weil wir a) noch ein längeres Tagesprogramm hatten und b) dieser Canyon von Touris überlaufen war. Entlang des alten TCH ging es dann weiter gen Westen. Kurzer Abstecher bei den Spiral Tunnels. Nächster Halt waren die Takakkaw Falls eine der höchsten Kanadas mit 254m. Der weg dorthin erinnert an kleine Passstrassen in den Alpen mit engen Serpentinen,für unser Auto kein Problem. Wir schauten uns das Spektakel des fallenden Wassers eine Runde an, haben ein paar Murmeltiere beobachtet und haben uns dann auf die Weiterreise gemacht und dann schon im Auto sitzend gemerkt, dass es einen Spaziereeg ganz nah an die Fälle gegeben hätte..tja Pech. Weiter gings nun zur Natural Bridge die der Kicking Horse River in den Felsen gefräst hat. Uber den Rogers Pass auf 1327m gelangten wir in den Glacier NP wo wir den Illecillewaet Campground ansteuerten. Fliessend Wasser und Feuerholz inklusive ein toller Platz!