If I simply inject "true" directly to the node for kitchen sink light "on", the light turns on as expected. The output of that node is shown below. All is good.
10/21/2021, 4:02:36 PMnode: *** DEBUG 3 ***msg : Object
object
_msgid: "4c1000c10472c1ba"
payload: true
topic: ""
response: object
requestCommand: "on"
requestArguments: ""
BUT.... if I wave my hand in front of the motion detector with deviceId of 198, the light does NOT turn on. I receive the following output:
10/21/2021, 4:09:36 PMnode: DEBUG 1msg : Object
object
source: "DEVICE"
name: "motion"
displayName: "Front Door Sensor"
value: "active"
type: "null"
unit: "null"
deviceId: 198
hubId: 0
installedAppId: 0
descriptionText: "Front Door Sensor: motion is active"
_session: object
_msgid: "01aafd39961f4c16"
10/21/2021, 4:09:36 PMnode: **DEBUG 2 **msg : Object
object
source: "DEVICE"
name: "motion"
displayName: "Front Door Sensor"
value: "active"
type: "null"
unit: "null"
deviceId: 198
hubId: 0
installedAppId: 0
descriptionText: "Front Door Sensor: motion is active"
_session: object
_msgid: "01aafd39961f4c16"
10/21/2021, 4:09:36 PMnode: DEBUG 1msg : Object
{ source: "DEVICE", name: "motion", displayName: "Front Door Sensor", value: "inactive", type: "null" … }
10/21/2021, 4:09:36 PMnode: 1557cb2165c32140
msg : string[121]
"[deviceId:196] http://192.168.4.20:80/apps/api/45/devices/198/on: Device not found or not authorized to send that command"
In review: I have two switch nodes (which are kind of pointless) which are shown with DEBUG messages 1 and 2. The last message is more error than debug. To me, it looks like it was generated by the kitchen sink switch/outlet (deviceId 196).
To make it work, I put in a change node where set msg.deviceID to 196
Here are the significant debugs:
10/21/2021, 4:19:49 PMnode: ** DEBUG CHEATER **
msg : Object
object
source: "DEVICE"
name: "motion"
displayName: "Front Door Sensor"
value: "inactive"
type: "null"
unit: "null"
deviceId: "196"
hubId: 0
installedAppId: 0
descriptionText: "Front Door Sensor: motion is inactive"
_session: object
_msgid: "a4a9bf0501ed56ac"
10/21/2021, 4:19:49 PMnode: *** DEBUG 3 ***msg : Object
object
source: "DEVICE"
name: "motion"
displayName: "Front Door Sensor"
value: "inactive"
type: "null"
unit: "null"
deviceId: "196"
hubId: 0
installedAppId: 0
descriptionText: "Front Door Sensor: motion is inactive"
_session: object
_msgid: "a4a9bf0501ed56ac"
response: object
requestCommand: "on"
requestArguments: ""
Thinking about what Waterboysh mentioned about associations.....
I found nothing by way of the older GE switch/outlet.
For the Zooz 4-in-1 700 I did see this association:
dev:1982021-10-21 03:57:11.050 pm infoAssociationReport- groupingIdentifier:1, maxNodesSupported:5, nodes:[1]
dev:1982021-10-21 03:57:10.704 pm debugskip: NotificationReport(v1AlarmType:0, v1AlarmLevel:0, reserved:0, notificationStatus:255, notificationType:7, event:8, properties1:0, eventParameter:[],