From d51e0404158cd818a53ead114d9edd12c02b53b9 Mon Sep 17 00:00:00 2001 From: Ondrej Wisniewski Date: Mon, 20 Aug 2018 16:10:15 +0200 Subject: [PATCH] Updated README and HISTORY for new release --- HISTORY | 6 ++++++ README.md | 9 ++++++--- src/crelay.c | 6 +++--- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/HISTORY b/HISTORY index 1384f5c..76b9c7a 100644 --- a/HISTORY +++ b/HISTORY @@ -58,3 +58,9 @@ Version history 0.12: 03/11/2017 - Handle GPIO relays with inverse logic (active low) + +0.13: 20/08/2018 +- Added error handling for web socket operations +- Added monit script for crelay process supervision in daemon mode +- Added build dependencies for OpenSUSE to readme +- Added support for multiple SainSmart 16-channel HID relay cards diff --git a/README.md b/README.md index caa8380..7aec19a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The following picture shows a high level view on the modular software architectu - Setting of new relay states - Single pulse generation on relay contact - HTTP API for external clients (e.g. Smartphone/tablet apps) -- Multiple relay card type support +- Multiple relay card type support - Support for configuration file with custom parameters - Multiple cards support (command line interface only)
@@ -48,7 +48,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 (Web UI) +- Multiple cards support (Web UI / REST API) - Access control for Web GUI and HTTP API - Programmable timers for relay actions
@@ -64,7 +64,7 @@ The following picture shows a high level view on the modular software architectu #### Command line interface $ crelay - crelay, version 0.11 + crelay, version 0.13 This utility provides a unified way of controlling different types of relay cards. Currently supported relay cards: @@ -231,6 +231,7 @@ relay8_label = Device 8 # label for relay 8 ################################################ [GPIO drv] #num_relays = 8 # Number of GPIOs connected to relays (1 to 8) +#active_value = 1 # 1: active high, 0 active low #relay1_gpio_pin = 17 # GPIO pin for relay 1 (17 for RPi GPIO0) #relay2_gpio_pin = 18 # GPIO pin for relay 2 (18 for RPi GPIO1) #relay3_gpio_pin = 27 # GPIO pin for relay 3 (27 for RPi GPIO2) @@ -262,6 +263,8 @@ The support for the different relay cards in *crelay* has only been possible tha * [Kevin Hilman](https://github.com/khilman), who implemented and tested the support for the Sainsmart 16-channel control module * [Andrew Lunn](https://github.com/lunn), who contributed cleanup patches * [Andrey Shevtsov](https://github.com/sqlwristband), who contributed the initial multiple cards implementation +* [Alberto Bursi](https://github.com/bobafetthotmail), who contributed documentation for OpenSUSE build support +* [Derek Atkins](https://github.com/derekatkins), who contributed multiple cards handling for the Sainsmart 16 Channel HID controller
### Notes diff --git a/src/crelay.c b/src/crelay.c index db56468..fbd8d1e 100644 --- a/src/crelay.c +++ b/src/crelay.c @@ -17,9 +17,9 @@ * sudo make install * * Last modified: - * 29/04/2018 + * 20/08/2018 * - * Copyright 2015-2017, Ondrej Wisniewski + * Copyright 2015-2018, Ondrej Wisniewski * * This file is part of crelay. * @@ -57,7 +57,7 @@ #include "config.h" #include "relay_drv.h" -#define VERSION "0.12.1" +#define VERSION "0.13" #define DATE "2018" /* HTTP server defines */