Changes between Initial Version and Version 1 of mycroft_pilight


Ignore:
Timestamp:
12/03/18 17:03:51 (5 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mycroft_pilight

    v1 v1  
     1=== pilight example ===
     2
     3Install pilight on some raspi and have the daemon listen to port 5000.
     4
     5Use [https://github.com/DavidLP/pilight] to control the daemon. Install via
     6{{{
     7pip install --user pilight
     8}}}
     9
     10Example
     11{{{
     12from pilight import pilight
     13pilight_client = pilight.Client(host='pick', port=5000)
     14data_on={"protocol": [ "intertechno_old" ], "id": 1, "unit": 0, "on": 1 }
     15data_off={"protocol": [ "intertechno_old" ], "id": 1, "unit": 0, "off": 1 }
     16pilight_client.send_code(data_on)
     17pilight_client.send_code(data_off)
     18}}}