cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
540
Views
0
Helpful
2
Replies

Room Kit activate standby by one click on touch10

clauspedersen1
Level 1
Level 1

Hi all 

Theese days lots of customers want to save energi , and in that case they actually activate the system standby mode 

when leaving the meeting. This is activated by three clikc on the Touch 10.  Have anybody made an macro for activating standby mode by one click (red dot ish) on the touch 10 ?

Thanks in advance

Regards

Claus Pedersen

2 Replies 2

Tobias Gramckow
Level 1
Level 1

Hey Claus,
I recently wrote a macro for this case. You can find the code attached in the textfile. Once you activate the macro on the endpoint, a button is getting created automatically.

 

Greetings,
Tobias

Yes - just use the UI Extensions Editor to create a button (in my example, I called it "Standby_Button").

Then use a macro such as this one:

import xapi from 'xapi';

xapi.event.on('UserInterface Extensions Panel Clicked', (event) => { 
 if (event.PanelId === 'Standby_Button') {
 xapi.command('Standby Activate');
 } 
});

 

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.