My Story Of Persistence with persistence on OpenHAB. AND a tutorial on Rule and Timers

Introduction

The raspberry pi does not have the conventional x86 architecture for a processor. Instead it has an ARM processor running at 400MHz. Now this means that even though you are running Linux and even though you can compile the same program using GCC on ARM as on a PC, the output of the compiler will be totally different due to the underlying instruction set. This ultimately means that programs such as MySQL may be different on a PC than the RPi in terms of their execution as well. A lot of times the code is also optimized for the platform such as RPi and all this means that MySQL on the PC might not be the same as on the RPi. Java is an exception because it run on top of the JVM BUT resources on the JVM are not same across platform. Like com ports on windows are like com1, com2 etc but in Linux, everything is a file like /dev/usb0 /dev/AMA0 etc. Continue reading “My Story Of Persistence with persistence on OpenHAB. AND a tutorial on Rule and Timers”

Obligatory Install Tutorial For RPi and OpenHAB

The first thing you need to do when you get your raspberry pi, is get a case? Well you can 3D print one. Here is a good example for the B+ Raspberry Pi B+ Face Case by adafruit – Thingiverse
Additionally you need to buy a micro SD card. I got an 8GB one and I have my primary RPi which a download server and WebIOPi server with a 16GB one. Continue reading “Obligatory Install Tutorial For RPi and OpenHAB”