2017 © Pedro Peláez
 

library kaku-bundle

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

image

rudidevries/kaku-bundle

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

  • Wednesday, December 24, 2014
  • by rudidevries
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

KAKU Bundle - 'Klik aan Klik uit'

SensioLabsInsight, (*1)

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter., (*2)

A complete description of how to setup the KAKU program on the Raspberry Pi is found here in Dutch., (*3)

This bundle integrates the rudidevries/kaku libary in a Symfony project. It provides the configuration and service settings., (*4)

Installation

The best way to add the library to your project is using composer., (*5)

$ composer require rudidevries/kaku-bundle

The bundle needs to be loaded by the AppKernel., (*6)

public function registerBundles()
{
    $bundles = array(
        ....
        new RudideVries\Bundle\KakuBundle\KakuBundle(),
        ....
    );    

    return $bundles;
}

And the configuration must be added to your project config file. Example:, (*7)

kaku:
ssh:
    host: 192.168.0.196
    username: username
    public_key: /path/to/.ssh/id_rsa.pub
    private_key: /path/to/.ssh/id_rsa
command: sudo /path/to/kaku

Usage

A very basic example:, (*8)

$channel = new Channel($description, $letter, $number);

$switcher = $this->get('kaku.kaku.switcher');
$switcher->sendOn($channel);
$switcher->sendOff($channel);

Offcourse you can put a collection of channels in a service of your own, to make things more flexible., (*9)

The Versions

24/12 2014

dev-master

9999999-dev

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

  Sources   Download

MIT

The Requires

 

by Rudi de Vries

24/12 2014

dev-develop

dev-develop

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

  Sources   Download

MIT

The Requires

 

by Rudi de Vries

20/12 2014

0.1.1

0.1.1.0

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

  Sources   Download

The Requires

 

by Rudi de Vries

20/12 2014

0.1.0

0.1.0.0

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

  Sources   Download

The Requires

 

by Rudi de Vries