How to send values via widgets and cockpit?

Is there any way to establish link between standard widgets like relais or send message with lwm2m object. Device protocols are loaded, read/write objects created but no visible way how to manage conection to objects via widgets and cockpit.