With the help of 3D Hubs I printed a custom case for all the components. I designed the basic parts in Adobe Illustrator and exported them to SVG. The resulting layers are imported to 123D Design. Because the units are messed up after the export of Illustrator I needed to customize the SVGs and add a transform attribute to each SVG Group (see the corresponding reddit thread)
To play some old computer games with RetroPie I installed retrosmc on my Raspberry Pi running OSMC.
I was trying to play the retro game “Wacky Wheels” with DOSBox. Unfortunately my USB Gamepads were not able to handle the configuration of the input. So I wrote a small python script which maps gamepad inputs to keyboard inputs.
The script is shown below. It is executed with the start-script of “Wacky-Wheels” in “/home/osmc/RetroPie/roms/pc”:
You will need to configure a Lircmap.xml file and place it in /home/osmc/.kodi/userdata folder.
If there is none avaialable there, take the default one from here
and modify it.
Keep only one entry and make sure that the LIRC button names are correct (keep onet hat has KEY_LEFT, KEY_RIGHT, etc. in it).
Make sure you use the same name for the remote device name with the one configured in /etc/lirc/lircd.conf (if it’s generated, the name is the path where it was created. Feel free to rename it to something more handy, like ‘myremote’)
More info here: http://kodi.wiki/view/Userdata/lircmap.xml27
Place the edited Lircmap.xml file in the /home/osmc/.kodi/userdata/Lircmap.xml and then restart kodi (or the RPi).
I’ve remounted my TFT touch display and connected it to another Raspberry Pi. During the installation process I realized, that the FBTFT Kernel is now Device Tree enabled, this makes the installation and configuration process a lot easier. (https://github.com/notro/fbtft/wiki#install)
With the integration of the FBTFT drivers in the Raspberry Pi kernel (https://github.com/notro/fbtft/wiki) it is no longer neccessary to install notro’s FBTFT kernel.
I run in some problems with the display showing no content. The backlight was on but there were no image visible. I was able to fix the problem by setting the GPIO configuration fixed and not automatically:
To monitor the control light of my cooker and oven I mounted two LDRs (light dependent resistor) on a TinyTX sender. The LDR recognizes changes of the light and the TinxTX sensor is redirecting this information to my Raspberry Pi. The Raspberry Pi is checking the local network for my mobile phone and notifies me with my android app when I am no longer at home and the cooker is still on.