Should be simple as this:
function alloffbutton(){
socket.emit('call', {
id: 'executeAction-1',
action: 'executeAction',
params: {
actionString: 'press all-off'
}
});
}
Sorry that the whole GUI zip is so messy. I have been too lazy to fix a more permanent solution, as this has worked so well!