The Makerthings server is based on openHAB and all documentation of openHAB is applied. Makerthings server runs on Raspberry Pi and connected to certain items, e.g. RGB strip, power switch, etc, to control them. You can download Makerthings app to connect Makerthings server, or, open website http://137.122.51.94:8080/openhab.app (only available when you are in University of Ottawa school network)
- Integrate with GPIO binding for Raspberry Pi for controlling GPIO based items, e.g. RGB strip, power switch (check important settings in Raspberry Pi)
- Integrate Dropbox Synchronization for backup systen folder
- Integrate Yahoo weather to display temperature and humidity
- Play music from preset online music list
- Support My.OpenHab Cloud data service for accessing logs and notification management for mobile devices
- Support voice control feature with preset commands
- Download zip file
- For Windows users, excute
start.bat
. For Mac and Linux users, navigate to your server root folder and use commandsudo sh start.sh
- Open web browser and enter URL http://localhost:8080/openhab.app
- You're ready to play around. Remember to get Makerthings Android app to have your things on your phone
- Download openHAB Designer application
- Download for Windows
- Download for OS X
- Download for Linux 64-bit | Linux 32-bit
- Open openHAB Designer application and select configurations folder (
OpenHab/configurations
) in Configurations - If you are completely new, I would suggest you go through the starter webniar for openHAB which gives you the tutorial how to develop step by step
- Under
OpenHab/configuration
folder, development will be made onItems
,Persistence
,Rules
,Scripts
,Sitemaps
andopenhab.cfg
- Check OpenHab Home to get ideas of how those things connected and cooperate with each other
- For implementing binding, check How To Implement A Binding. For advanced developers, checking How To Implement An Action
- Raspberry Pi runs on Linux system can also run openHAB server. By default, Raspbian system is suggested, you can find the download and how to write image into SD card from Download - Raspberry Pi
- The easier way to develop server is downloading Linux version of openHAB designer, Linux 64-bit | Linux 32-bit
- Use the same development method as Windows or Mac
- If you want to edit server in Windows/Mac and upload your files directly to Raspberry Pi. FTP tool is suggested and SSH should be enabled - SSH (Secure Shell) - Raspberry Pi, FileZilla is free for Windows/Mac. Alternatively, using Github to keep your work between laptop and Raspberry Pi is even better. (Push work to Github and pull changes to Raspberry Pi)
- Use terminal to navigate to OpenHab server directory and use
sudo sh start.sh
to run your server - Enable SPI and I2C support for using GPIO
- Unexport GPIO before starting server, a more intelligent way is using WiringPi in terminal
cd /sys/class/gpio
sudo echo 17 > unexport
(17 may be altered depending on which pin number will be used)
- Install native JNA library via
apt-get install libjna-java
- If you want to run server automatically once you start Raspberry Pi, Check Linux OS X - openhab
Liu Cheng, University of Ottawa