ConBee II and Synology... API-Key

Hey,

I’m running OpenHab via Docker on my DS218+ and I’m using the DeConz container in combination with the the ConBee II Zigbee stick.

I installed it and I can see the web console but I cant reach the API from REST.

At the moment I’m moving OH from my raspberry to my NAS. At the raspberry I have an addtional zigbee adapter, which is discovered by the phoscon app at the nas.

The Poscon Discover looks like this:

[
  {
    "id": "00212EFFFF060F22",
    "internalipaddress": "192.168.xx.xx",
    "macaddress": "00212EFFFF060F22",
    "internalport": 8083,
    "name": "ConBeeII",
    "publicipaddress": "95.91.xx.xx"
  },
  {
    "id": "00212EFFFF029F1A",
    "internalipaddress": "127.0.0.1",
    "macaddress": "00212EFFFF029F1A",
    "internalport": 80,
    "name": "RaspBee",
    "publicipaddress": "95.91.xx.xx"
  }
]

I used it for the body in the Rest. I did with POST what is recommended.

Is there some interfering with both dongles?

The REST-POST Request:

[
  {
    "error": {
      "address": "/",
      "description": "body contains invalid JSON",
      "type": 2
    }
  }
]

I have no idea what to do now.

Any Idea?

Thank you in advance.

Best,
max

what is the exact REST POST request that you did ?

You wrote:

but that is not the REST-POST request. That’s the error you get back.

Hey,

thanks for your advices I solved.

At the homepage:

http://dresden-elektronik.github.io/deconz-rest-doc/getting_started/

I had to type the following in the body:

{ "devicetype": "my application"}

After I did this it was working.

Tanks for your help. I close it and set it to solve.

Best,
Max