Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 981 Bytes

README.md

File metadata and controls

50 lines (27 loc) · 981 Bytes

NAME

IntelliHome::Plugin::Relay - Relay plugin for Google@Home

SYNOPSIS

$ ./intellihome-master -i Relay #for install
$ ./intellihome-master -r Relay #for remove

DESCRIPTION

IntelliHome::Plugin::Relay is a plugin that enables control of gpio's

EVENTS

This plugin listen on the following events:

  • GPIO_MSG

    Listen to GPIO_MSG, that can be emitted by the RPC server, it dispatch the command to the node (on/off)

  • STATUS_MSG

    Listen to STATUS_MSG, it handles the update of the node's Gpio status into the database

METHODS

  • on

    Takes gpio tag as argument and send the request to the remote agent

  • off

    Takes gpio tag as argument and send the request to the remote agent

AUTHOR

mudler [email protected]

COPYRIGHT

Copyright 2014- mudler

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

IntelliHome