@laszlocsaba
imgObj.onclick = ()=> {
this.sendSocketNotification("CLICKED", somePayload)
}
I think you might have some confusing with using this. If you are using ES6 style arrow function, you can easily bind.
@laszlocsaba very interesting!
The module should be expanded for all other “Shelly” sensors (Relays, Sensor and Plug and play…).
Are you planning to expand the module?
Thanks.