Phillips hue and other light

Hi. i have an outdoor hue motion sensor and 2 outdoor light stripes.
I have set this up and it is working fine, but i also have some other light outside that i want this sensor to turn on. The other light is fibaro and i can turn it on/off with true/false. I have tried a lot with function node and switch node. I only get the light to turn on, not off.

putting up the flow and the debug from motion sensor and hue light.
debug: Light on lights turns on, also the fibaro light.
4/1/2020, 7:34:54 PMnode: b02d6e63.ee34cmsg.payload : Object

object

on: true

allOn: true

anyOn: true

brightness: 98

brightnessLevel: 249

rgb: array[3]

hex: "ffca7b"

color: "tan"

colorTemp: 366

updated: "2020-04-01T17:34:51+00:00"

4/1/2020, 7:34:55 PMnode: b02d6e63.ee34c264 : msg.payload : number

54

debug Lights of. only hue lights turns off.

4/1/2020, 7:37:57 PMnode: b02d6e63.ee34cmsg.payload : Object

object

on: false

allOn: false

anyOn: false

brightness: 98

brightnessLevel: 249

rgb: array[3]

hex: "ffca7b"

color: "tan"

colorTemp: 366

updated: "2020-04-01T17:37:54+00:00"

Flow

[{"id":"c5bd.70285","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"cb77.204668","type":"hue-motion","z":"c569.70285","name":"Hue outdoor motion sensor 1","bridge":"b3a5133d.4f604","sensorid":"7","skipevents":false,"x":140,"y":160,"wires":[["b4b8.3a578"]]},{"id":"b4ba11e8.3a578","type":"hue-group","z":"c5bd.70285","name":"utelys","bridge":"b3a.4f604","groupid":"3","colornamer":true,"skipevents":false,"x":330,"y":100,"wires":[["b063.ee34c","e6047112.dbfab"]]},{"id":"344a2297.d4808e","type":"switch","z":"c569.70285","name":"","property":"payload","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":630,"y":320,"wires":[[],[]]},{"id":"5b2e9bb8.62a2c4","type":"fibaroActor","z":"c5bdfe69.70285","name":"Utelys (Ute)","deviceID":"264","server":"9b6ee9de.5e5998","events":true,"outputs":2,"x":710,"y":80,"wires":[["b02d6e63.ee34c"],[]]},{"id":"e6047112.dbfab","type":"change","z":"c5bdfe69.70285","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":60,"wires":[["5b2e9bb8.62a2c4"]]},{"id":"b02d6e63.ee34c","type":"debug","z":"c5bdfe69.70285","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":910,"y":160,"wires":[]},{"id":"b3a5133d.4f604","type":"hue-bridge","z":"","name":"Slynge","bridge":"213.168.1.147","key":"w3oxup6SPnp","interval":"3000","disableupdates":false},{"id":"9b6ee9de.5e5998","type":"fibaro-server","z":"","name":"hc2","ipaddress":"213.168.1.111"}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.