1. Apache2 and PHP5 properly installed (see here)
Assign a static IP address to your raspberry on your local network. This project works only if your Hub and raspberry are on same network (otherwise the HubAction won't work and you need to implement external HTTPrequest instead)
Optional: 1 USB dongle BT-LE (Plugable Dual-Mode BT-LE/BT model USB-BT4LE) I didn't make it with the internal BT-LE of the Pi using the oringinal image on it, I used this external one then. Then recently, the Raspberry Pi internal BTLE works fine using Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux< image from the Raspberry website (or above)Bluez (http://www.elinux.org/RPi_Bluetooth_LE)
BluePy (https://github.com/IanHarvey/bluepy) requests (http://raspberrypi-aa.github.io/session4/requests.html) netifaces (python -m pip install netifaces)If you cannot access github integration, you might have to create the devicehandler and smartapps manually from the code.