Giter VIP home page Giter VIP logo

pylcn's Introduction

pylcn

a python project for communication between alexa and LCN-PCHK. The Amazon Echo is able to control certain types of home automation devices by voice. the package Fauxmo provides emulated Belkin Wemo devices that the Echo can turn on and off by voice, locally, and with minimal lag time. Currently these Fauxmo devices can be configured to make requests to an HTTP server or to a Home Assistant instance via its Python API and only require a JSON config file(lcn_device.json) for setup.

usage

  1. in you python env. install Fauxmo and pypck
  2. adjust the configuration in lcn_device.json, etc. seg_id, mod_id, control_type... currently only support control type like R8H and DIMOutput, you could self add the implementations in lcn_plugin.py.
    adjust the ipaddress, port of the LCN-PCHK also the username and password in pypck.py.
       PchkConnectionManager('127.0.0.1', 4114, 'admin', 'test123')
    
  3. start pypck.py or run run.bat directly
  4. use Alexa App search the new devices, that you in lcn_device.json defined.
  5. append the found devices into Alexa Device manager, then have a good fun!

pylcn's People

Contributors

yiyunzhi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.