TRÅDFRI motion sensor

Hi there,

I did a bit of searching already but couldn’t really find someone with the same issue as me.

Today I set up my Tradfri Motion Sensor to turn on the shed light as one walks in.
All good and great, with the phoscon web interface it’s easy to set up and set a 2min timer.
But… somehow the motion sensor also turns on a light in the house, which I don’t want.

I’ve seen this explanation: TRADFRI Motion sensor dark function · Issue #3247 · dresden-elektronik/deconz-rest-plugin · GitHub
Basically it’s a controller, so it can send direct commands. But how do I remove the extra light from turning on now? If it sends direct commands to the shed light I’d be happy.
I tried using the bind menu in the deConz app, but that keeps popping up with timeout failure.


Check the group of your sensor (mine has the id 9)

curl -vv -XGET http://192.168.x.y/api/z/sensors/**9**

  "config": {
    "alert": "select",
    "battery": 60,
    "delay": 180,
    "duration": 122,
    **"group": "4",**
    "on": true,
    "reachable": true
  "ep": 1,
  "etag": "84c7b95dbf95bfad09df792906aa95e8",
  "lastannounced": "2023-03-25T21:22:10Z",
  "lastseen": "2023-03-27T07:09Z",
  "manufacturername": "IKEA of Sweden",
  "modelid": "TRADFRI motion sensor",
  "name": "Bewegungsmelder Garage",
  "state": {
    "dark": true,
    "lastupdated": "2023-03-27T06:48:36.884",
    "presence": false
  "swversion": "2.0.022",
  "type": "ZHAPresence",
  "uniqueid": "ec:1b:bd:ff:fe:9e:b1:67-01-0006"

curl -vv -XGET http://192.168.x.y/api/z/groups/**4**

  "action": {
    "alert": "none",
    "bri": 127,
    "colormode": "hs",
    "ct": 0,
    "effect": "none",
    "hue": 0,
    "on": true,
    "sat": 127,
    "scene": null,
    "xy": [
  **"devicemembership": [**
**    "9"**
**  ],**
  "etag": "236b55fcaa545eaca00e72ef4aabf87e",
  "id": "4",
  **"lights": [],**
  "name": "TRADFRI motion sensor",
  "scenes": [],
  "state": {
    "all_on": false,
    "any_on": false
  "type": "LightGroup",
  "uniqueid": "ec:1b:bd:ff:fe:9e:b1:67"

I guess the unwanted light is listed under “lights” (empty array in my response). When you remove your light from the group it should no longer get turned on.

Hi. A bit OT but I’m trying for ages to get the new motion sensor working. Could you share screenshots of your working setup?
Sensor visible and connected but just no light on or off. Manual via phoscon app I’m able to switch light on/off

Never mind. Got it. In sensor control you need to enable, place marker, beside the sensor. So easy…