Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik committed Apr 10, 2017
1 parent 3418716 commit e7f39cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ IP is the IP-address to your gateway
KEY is written on the back of your IKEA Tradfri Gateway
```

Examples of commands in the prompt:
```
List all lights: lights
Set brighness of item 1 to 50 in lights list: lights[1].set_light_brightness(50)
```
6 changes: 0 additions & 6 deletions openikeatradfri/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
"""
This is the Ikea Tradfri code from @ggravlingen extracted into a lib.
https://github.com/ggravlingen/home-assistant/blob/master/custom_components/light/ikeatradfri.py
Depends on modified coap-client with dtls support. Build instructions here:
https://community.home-assistant.io/t/ikea-tradfri-gateway-zigbee-very-basic-working-implementation/14788/19?u=balloob
Run with python3 -i pytradfri.py IP KEY
Will give you an interactive Python shell:
Expand Down

0 comments on commit e7f39cf

Please sign in to comment.