Skip to content
This repository

Executes yadtshell commands triggered by a yadtbroadcaster.

tree: 226f888d76

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

yadtreceiver Build Status

Executes yadtshell commands triggered by a yadtbroadcaster.

Installation

Since yadtreceiver is a python application you can install it using pip

sudo pip install yadtreceiver

Unfortunately tar will not set the permissions as required:

sudo chmod 755 /etc/init.d/yadtreceiver 

Configuration

Put a file called receiver.cfg into the directory /etc/yadtshell/

[receiver]
log_filename = /var/log/yadtreceiver.log
targets = devyadt
targets_directory = /etc/yadtshell/targets
script_to_execute = /usr/bin/yadtshell

[broadcaster]
host = broadcaster.domain.tld
port = 8081

[graphite]
active = yes
host = graphite.domain.tld
port = 2003

Starting service

After installation you will find a minimal service script in /etc/init.d. Maybe you want/need to modify the script to make it fit to your *nix distribution.

sudo service yadtreceiver start

License

Copyright (C) 2012 Immobilien Scout GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Something went wrong with that request. Please try again.