15.04.2016, 14:54
(15.04.2016, 10:10)buuuudzik Wrote: Thank you for your answer but can you or somebody else add some 100% working very step-by-step example with all necessary information including how can I choose the GA of short and long pushbutton, how can I connect the specific class to the script. Please, I am very new in js, but I also want to use this functions. If Embedded Systems can prepare some training about using js in LM it will be very helpfull. I can also consider the participation in a such training if this will be paid training.Hi,
You don't need to know the js, just paste the code (unchanged) into your custom Javascript (available in new firmware soon / this week).
After that create the buttons as usual only notice the status-object that might be mis-used for second object (;
Then add the additional class lines for each function you want to use on the matching button(s) and change the send or time values.
Good luck!
BR,
Erwin van der Zwart