Trying to create a custom GUI (dashboard) and using the socket IO option.
How can i emit a change from the GUI to pimatic? when i try the follow code i can an error that say the action is not supported:
socket.emit('call', {
id: 'switch1',
action: 'turnOn',
});
this example for a switch device does not work.
Where can i find some documentation on this? the supported operations actions etc?
Thanks