Skip to content
cribskip edited this page Dec 17, 2012 · 4 revisions

Things to note

Samba

openHABpi resembles several Windows-Shares, accessible by typing \\openHABpi into your Windows Explorer:

  • Share 'config' allows you to modify your configuration
  • Share 'openhab' grants access to your running openHAB instance folder
  • Share 'home' provides a simple file access to the persistent openHAB-folder and user pi's home

RAM-usage

openHABpi puts most files of openHAB into a temporary filesystem residing in RAM. Thus, if you cut power you will most likely loose persistence data (etc/db4o, etc/rrd4j...). Your config files (items, sitemaps, rules) are safe as they are kept on SD card.

Because of this temporary filesystem, I strongly recommend you to use the Raspberry PI equipped with 512MB RAM. Nevertheless, it also works on Rev1 Model B boards without problems but it uses some swap/paging space on the SD card.

Additional commandline tools

oh_cmd

This little scripts enables you to send commands and get statuses from openHAB with a simple command. The syntax is "oh_cmd get|set [state]"

rc-switch

Compiled from sources provided by r10r. Take a look here. Using this command, you can switch PT2262-based RF sockets on and off. Syntax is 'rc-switch SYS SOCKET STATE'. For details please refer to the original project's homepage.

dimmer

Based on the sources of rc-switch, I provide a tool to send 24-byte Manchester code with the Raspberry by using Wiring-Pi and rc-switch. These codes are used by inexpensive RF LED Dimmers. To determine your code, you may want to get an Arduino and 433 MHz receiver. You may then get your code by flashing rc-switch's advanced receiver. I know, this needs more documentation ;-)

Licensing

I provide the images based on each and every license agreement provided by the copyright's holder.

  • openHAB is licensed under GNU GPL v3
  • Oracle's JAVA is licensed under BCL for Java SE. According to this blog post I'm allowed to redistribute the installed JRE.
  • Soft-float Debian “wheezy” is licensed with DFSG
  • openHABpi is provided as-is with GNU GPL v3