robin's blog

Magic Mirror - Turn off screen --> save energy

  • Posted on: 6 May 2016
  • By: robin

My Smart Mirror is running 24h a day. I unplug the screen at night but well that really impractical. From our server-dashboard at work (3 HD TV displaying server load, memory, cpu usage etc.) i knew that it is possible to turn off the screen programmically on the raspberry pi. I wrote a short python script which allows you to shut down the screen by calling a url.http://0.0.0.0:5511/onhttp://0.0.0.0:5511/offSolutions I had in mine.1. The one that I already presented2.

Part 1: Installing OpenCV 3.1.0 on Raspberry Pi Debian Jessy with Java Library

  • Posted on: 26 April 2016
  • By: robin
terminal  Installing OpenCV

The Raspberry Pi has become a Icon. I have nearly 10 Raspberry Pis and i love every single one of them. ;-) In December 2015 I started my Smart Mirror (Magic Mirror) Project and now its finally ready. Or better said the Hardware or the Smart Mirror is finally ready. What is now missing is a mind blowing Software. While searching for features a friend of my, Hendrik,  came up with a mind blowing idea. A absolute key feature for a Smart Mirror - Face recognition.

Python: MapReduce Word Count

  • Posted on: 19 April 2016
  • By: robin
Python: MapReduce Word Count
text = '''...'''
 
list = text.replace('\n',' ').split(' ')
clist = map(lambda word: (word.lower(), 1), list)
result = {}
for word in clist:
    if(word[0] in result):
        result[word[0]] += 1
    else:
        result[word[0]] = 1
clist = [(k,v) for k,v in result.iteritems()]

Manual Firmware Update Instructions For YI Home Camera ver. A

  • Posted on: 11 March 2016
  • By: robin

I recently had to update my Xiami Yi small ants camera firmware since it was not compatible to the app anymore.  Step one is to find out what Version do you have. On the back of the xiaomi small ants you can find a short code where the 3rd and 4th digit tell you what version you got.

CN, ZP, ZH is for China and HongKong - Download Firmware for Xiamo ants camera

Android 6.0 - You CAN NO longer access the Mac-Address? You can !

  • Posted on: 5 March 2016
  • By: robin
Android

Okay that's new to us android developers: You can no longer get the hardware MAC address of a android device. WifiInfo.getMacAddress() and BluetoothAdapter.getAddress() methods will return 02:00:00:00:00:00. This restriction was introduced in Android 6.0.

I wanted to know if this is true. So I tested this on my OnePlus One (Android 6.0.1 Cyanogen).
 

Capture WiFi / WLAN / 802.11 Probe Request with tcpdump

  • Posted on: 4 March 2016
  • By: robin
A Probe Request is a special type of WLAN frame sent from a terminal-device (for example your smartphone) to ask all AP nearby for their presence. This allows you to find out if smartphone or other wifi enable devices are close to you. Since many users want to use the Probe Request to identify devices:

Facebook süchtig ? Seiten wie Facebook blockieren (Mac, Windows, Linux)

  • Posted on: 29 February 2016
  • By: robin
Block Facebook

Internetseiten wie Facebook haben sich zu den beliebtesten Beschäftigung der meisten Usern entwickelt. Doch leider lenken sie uns oft ab, sodass Studium und Arbeit darunter leiden. Doch was kann man tun um von dem zwanghaften Verhalten Facebook zu besuchen wegzukommen ? Die Lösung ist einfach: Wir blocken die Seite einfach für unseren Rechner. Diese Methode ist zwar komplizierter als Browser Plugins, jedoch effektiver. Ein Browser Plugin ist schnell deaktiviert und i.d.R.

Pages