Homey Community Forum

MQTT can listen but $command not working

I can listen to MQTT payload via the topic homie/homey

but

homie/homey/$command with payload
{
“command”: “set”,
“device”: {
“name”: “hue-color-spot-1-werkkamer”
},
“capability”: “onoff”,
“value”: true
}
does not work

BTW:
homie/homey/hue-color-spot-1-werkkamer/onoff/set “false”
does work.

but the $command version would be more elegant to use in nodejs.