moroen / IKEA-Tradfri-plugin

A Python plugin for Domoticz to controll IKEA Gateway
68 stars 23 forks source link

Error (choose from 'gw', 'api') #135

Closed Bisha3 closed 3 years ago

Bisha3 commented 3 years ago

Congratulations on the plugin. It's a great job!

I am trying to install TRADFRI and I get this message after entering python3 plugin.py config IP KEY:

usage: plugin.py config [-h] {gw,api} ... plugin.py config: error: argument config: invalid choice: '192.168.7.11' (choose from 'gw', 'api')

The IP is correct and I have ping.

Any idea where my fault might be?

Bisha3 commented 3 years ago

Playing with "Configure Tradfri COAP" has been installed successfully!!!!!

Thank you for all the work!!!!!

moroen commented 3 years ago

For future reference, the correct command for setting the gateway IP and key is:

$ python3 plugin.py config gw IP KEY