Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 1.1 KB

README.md

File metadata and controls

18 lines (17 loc) · 1.1 KB

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!