Closed mareknbg closed 10 years ago
I am trying to connect my hue lights
msg.subdevice = 'M_Room_Lights2'; msg.payload = { setState: {lightNumber: 1, on: false}
}; return msg;
but in /home/pi/hub/hub.log on my raspberryPi I found an error:
message received from: xxxx-UUID-NodeBlu-xxxx matching subdevice found: M_Room_Lights2 messenger send { devices: 'xxxx-UUID-NodeBlu-xxxx', message: [ { error: [Object] } ] } undefined
What's wrong? On my raspberryPi I have only installed skynet hub
The issue is fixed. It was an incorrect payload syntax. This is the correct one msg.payload = { setState: {lightNumber: 1, options:{on: false}}
};
I am trying to connect my hue lights
msg.subdevice = 'M_Room_Lights2'; msg.payload = { setState: {lightNumber: 1, on: false}
}; return msg;
but in /home/pi/hub/hub.log on my raspberryPi I found an error:
message received from: xxxx-UUID-NodeBlu-xxxx matching subdevice found: M_Room_Lights2 messenger send { devices: 'xxxx-UUID-NodeBlu-xxxx', message: [ { error: [Object] } ] } undefined
What's wrong? On my raspberryPi I have only installed skynet hub