dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 502 forks source link

commandline get a api key #7702

Closed syswombat closed 7 months ago

syswombat commented 7 months ago

Does the issue really belong here?

Is there already an existing issue for this?

Describe the bug

Raspbeery Pi 4b Kernel: 6.6.20+rpt-rpi-v8 bits: 64 Distro: Debian GNU/Linux 12 (bookworm)

hello just with command line how do i get a API Key to add it to openHAB Binding? the Linux is whitout desktop.

nmap against the device is only port 22 open.

please point me to the right plase to read further

have a nice time

Steps to reproduce the behavior

$ curl http://10.18.42.15:22/api/ -X POST -d '{"devicetype": "TestKey"}' curl: (1) Received HTTP/0.9 when not allowed

Expected behavior

not getting a api key

Screenshots

No response

Environment

deCONZ Logs

No response

Additional context

No response

Mimiix commented 7 months ago

Clearly not a bug.

Closing.