diff --git a/README.md b/README.md index e3512a4e..893d6acc 100644 --- a/README.md +++ b/README.md @@ -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) + +``` diff --git a/openikeatradfri/__init__.py b/openikeatradfri/__init__.py index 8e648ae6..661c23de 100644 --- a/openikeatradfri/__init__.py +++ b/openikeatradfri/__init__.py @@ -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: