diff --git a/README.md b/README.md
index c2b64da..2412aa6 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,10 @@
# crelay
#### Controlling different relay cards for home automation with a Linux software
-### About
-This software is intended to run on Linux systems to control different relay cards in a unified way. It provides several interfaces for controlling the relays locally or remotely. The relays can be controlled by a human being via a device like smartphone or web browser, or directly by an intelligent device as used in the Internet of Things.
+### About
+Ever bougth a cute little USB relay card and wanted to use it on a Linux based device or computer? Chances are that your were out of luck because the Linux software support for the card provided by the manufacturer was non existent. Conrad, Sainsmart, Denkovi and friends are still ignoring the existence of this operating system. That's why I started this project.
+
+This software is intended to run on Linux systems to control USB relay cards from different manufacturers in a unified way. It provides several interfaces for controlling the relays locally or remotely via the network. The relays can be controlled by a human being via a device like smartphone or web browser, or directly by an intelligent device as used in the Internet of Things.
The software was designed with the following requirements in mind:
- simple, intuitive usage and interface
@@ -14,13 +16,14 @@ The software was designed with the following requirements in mind:
New relay cards support can be added by providing the cards driver code for detecting the card, reading and setting the relays.
Currently the following relay cards are supported:
-- Conrad USB 4-channel relay card (http://www.conrad.de/ce/de/product/393905), see Note 1 below
-- Sainsmart USB 4-channel relay card (http://www.sainsmart.com/sainsmart-4-channel-5v-usb-relay-board-module-controller-for-automation-robotics.html), see Note 2 below
-- HID API compatible relay cards (1/2/4/8 channel)
+- [Conrad USB 4-channel relay card](http://www.conrad.de/ce/de/product/393905), see Note 1 below
+- [Sainsmart USB 4/8-channel relay card](http://www.sainsmart.com/sainsmart-4-channel-5v-usb-relay-board-module-controller-for-automation-robotics.html), see Note 2 below
+- [HID API compatible relay cards (1/2/4/8 channel)](http://www.ebay.com/itm/For-Smart-Home-5V-USB-Relay-2-Channel-Programmable-Computer-Control-/190950124351)
- Generic GPIO controlled relays, see Note 3 below
The following picture shows a high level view on the modular software architecture.
+

@@ -36,6 +39,7 @@ The following picture shows a high level view on the modular software architectu
### Nice to have (wishlist)
+- Integrated MQTT client
- ThingSpeak Talkback App (https://thingspeak.com/docs/talkback)
- Multiple cards support
- Access control for Web GUI and HTTP API
@@ -45,9 +49,10 @@ The following picture shows a high level view on the modular software architectu
### Screenshots
#### Web GUI
-
-
-
+
+
+----------
+
#### Command line interface
@@ -58,8 +63,8 @@ The following picture shows a high level view on the modular software architectu
Currently supported relay cards:
- Conrad USB 4-channel relay card
- Sainsmart USB 4-channel relay card
- - Generic GPIO relays
- HID API compatible relay card
+ - Generic GPIO relays
The card which is detected first will be used.
The program can be run in interactive (command line) mode or in daemon mode with
@@ -90,7 +95,8 @@ The following picture shows a high level view on the modular software architectu
### HTTP API
-An HTTP API is provided to access the server from external clients. This API is compatible with the PiRelay Android app. Therefore this app can be used on your Android phone to control crelay remotely.
+An HTTP API is provided to access the server from external clients. This API is compatible with the PiRelay Android app. Therefore this app can be used on your Android phone to control crelay remotely.
+I am considering to add a more universally usable Json format based API in the future.
- API url:
ip_address[:port]/gpio@@ -151,17 +157,31 @@ On some not so recent Linux distributions (like Debian Weezy) the HIDAPI library make [DRV_CONRAD=n] [DRV_SAINSMART=n] [DRV_HIDAPI=n] sudo make install -Note: Optionally, you can exclude specific relay card drivers (and their dependencies) from the build, if you don't need them. To do this, specify the driver name as parameter of the "make" command as shown above. +Note: Optionally, you can exclude specific relay card drivers (and their dependencies) from the build, if you don't need them. To do this, specify the driver name as parameter of the "make" command as shown above. +
apt-get install libftdi1 libhidapi-libusb0 libusb-1.0-0+