Cisco Touch 10 Customization #cisco #touch10


 

I know this one has been talked to death at times, but I have a few questions.

I know I can customize the room controls page; that's no problem.

I've also been able to create an action button and use a cisco macro to execute something.  

I'm 99% certain there is no way to add a custom popup to the cisco panel, right?  I have a customer that wanted a shutdown button (not on the room controls page), and I have created an action button that calls the "system standby" command.  It works, but they're asking if I can create a "confirm" page.  Just thought I'd ask the group, as I have limited experience with this customization.

Thank you!
Mike


 

I’ve not done it and I don’t think it’s advisable based on how convoluted it would be but conceivably you could implement something close-ish by enabling and disabling panels (xCommand UserInterface Extensions Panel Update) or dynamically adding and removing widgets (xCommand UserInterface Extensions Panel Save – note you’d need to specify the entire XML payload for that command)

 

--

Lincoln King-Cliby, CTS, DMC-E-4K/T/D
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Diamond)
ControlWorks Consulting, LLC
Direct: (+1)440.771.4807 | Cleveland: (+1)440.449.1100  | Boston: (+1)508.695.0188 | DC: (+1)202.381.9070  | Fax: (+1)440.449.1106
Crestron Services Provider | Biamp Authorized Independent Programmers | Extron Qualified Independent Programmer

 

From: crestron@groups.io [mailto:crestron@groups.io] On Behalf Of Mike Taylor
Sent: Monday, May 03, 2021 5:51 PM
To: crestron@groups.io
Subject: [crestron] Cisco Touch 10 Customization #cisco #touch10

 

I know this one has been talked to death at times, but I have a few questions.

I know I can customize the room controls page; that's no problem.

I've also been able to create an action button and use a cisco macro to execute something.  

I'm 99% certain there is no way to add a custom popup to the cisco panel, right?  I have a customer that wanted a shutdown button (not on the room controls page), and I have created an action button that calls the "system standby" command.  It works, but they're asking if I can create a "confirm" page.  Just thought I'd ask the group, as I have limited experience with this customization.

Thank you!
Mike


 
Змінено

You can create a prompt using the xapi:

xapi.command('UserInterface Message Prompt Display', {
  Title: 'Shutdown',
  Text: 'Would you like to shut the system down?',
  Duration: 30,
  FeedbackId: 'feedbackId',
  'Option.1': 'Yes',
  'Option.2': 'No',
});


You can also register a listener for the response:

xapi.event.on('UserInterface Message Prompt Response'onPromptResponse);


Then handle the response in the callback. The callback will pass an event object that will contain the response.

function onPromptResponse(event) {
  console.log(`Prompt Response: ${event.FeedbackId} | ${event.OptionId}`);
}


Note: The prompt won't show up in the panel preview in the Cisco web interface, but it will show up on the physical panel.


 

Thanks Lincoln.  Kind of what I figured.  Appreciate the confirmation!


 

Thanks Jonathan - 

Anyone know if it's possible to monitor a button press from the touch 10?  For example, have a crestron processor do something when the "webex" button is pressed?  I've not got a lot of experience with these codecs.  


 

You can use the “Cisco Touch 10 Room Control Button v1.0” module that can act on a buttonpress in the Cisco.

 

Math

 

Van: crestron@groups.io <crestron@groups.io> Namens Mike Taylor
Verzonden: vrijdag 14 mei 2021 21:39
Aan: crestron@groups.io
Onderwerp: Re: [crestron] Cisco Touch 10 Customization #cisco #touch10

 

Thanks Jonathan - 

Anyone know if it's possible to monitor a button press from the touch 10?  For example, have a crestron processor do something when the "webex" button is pressed?  I've not got a lot of experience with these codecs.  


 

I’m using the room controls to do things in a room controls pane- I’m referring specifically to monitoring a button press that isn’t contained inside a room controls pane. 

Thanks,
Mike


 

I can’t remember the exact term they use in the API but at the start of your connection session you can “subscribe” to receive status info on a whole stack of features. 
I’m not much of a UI guy so I like working with the Touch 10. At the beginning of the project I would make sure the VC setup was finished and then subscribe to all the status info I liked the look of (too much). I would then watch a terminal or debugger while using the Touch 10 to see what status info was useful to the Crestron side of code. In the end I would usually get down to subscribing to 3 or 4 features to deliver the necessary system.
TH

Il giorno ven 14 mag 2021 alle 22:21 Math Leenen | Emenem Building Automation <m.leenen@...> ha scritto:

You can use the “Cisco Touch 10 Room Control Button v1.0” module that can act on a buttonpress in the Cisco.

 

Math

 

Van: crestron@groups.io <crestron@groups.io> Namens Mike Taylor
Verzonden: vrijdag 14 mei 2021 21:39
Aan: crestron@groups.io
Onderwerp: Re: [crestron] Cisco Touch 10 Customization #cisco #touch10

 

Thanks Jonathan - 

Anyone know if it's possible to monitor a button press from the touch 10?  For example, have a crestron processor do something when the "webex" button is pressed?  I've not got a lot of experience with these codecs.  

--
Regards
Tony Howard

T | B | T

+39 333 597 1791 | Italy - Aust | +61 412 967 619 


Andrew Davis
 

On Sat, May 15, 2021 at 4:17 AM Tony Howard <tonyhav@...> wrote:
I can’t remember the exact term they use in the API but at the start of your connection session you can “subscribe” to receive status info on a whole stack of features. 
I’m not much of a UI guy so I like working with the Touch 10. At the beginning of the project I would make sure the VC setup was finished and then subscribe to all the status info I liked the look of (too much). I would then watch a terminal or debugger while using the Touch 10 to see what status info was useful to the Crestron side of code. In the end I would usually get down to subscribing to 3 or 4 features to deliver the necessary system.
TH

Il giorno ven 14 mag 2021 alle 22:21 Math Leenen | Emenem Building Automation <m.leenen@...> ha scritto:

You can use the “Cisco Touch 10 Room Control Button v1.0” module that can act on a buttonpress in the Cisco.

 

Math

 

Van: crestron@groups.io <crestron@groups.io> Namens Mike Taylor
Verzonden: vrijdag 14 mei 2021 21:39
Aan: crestron@groups.io
Onderwerp: Re: [crestron] Cisco Touch 10 Customization #cisco #touch10

 

Thanks Jonathan - 

Anyone know if it's possible to monitor a button press from the touch 10?  For example, have a crestron processor do something when the "webex" button is pressed?  I've not got a lot of experience with these codecs.  

--
Regards
Tony Howard

T | B | T

+39 333 597 1791 | Italy - Aust | +61 412 967 619 


 

I try to use macro to do TCP/IP and seems xapi didn`t support TCP/IP? 
 
httpclient is fully supported. 


 

Hi Folks,
 
we are about to install a system with Cisco Touch 10 with room control functions.
The Touch 10 will be the only touch panel in the room.
I never did this before, unifortunately the Cisco system is not yet in our office.
On the Cisco website I found the manual how to implement the widgets, seems easy.
 
However, the system we will build has a divisible room, each room has its own WebEx and Touch 10.
If the rooms are combined, the Cisco Touch 10 need to show the inputs of both rooms.
When the rooms are separated, the Touch 10 need to show the input of each room, but not of the other room.
Is it possible to create multiple pages and create a conditional page flip based on the room configuration?
I am thankful for any hint...
 
Thanks in advance
Crestronfreak55


 
Змінено

I have used these commands to accomplish that and similar things...(from the API doc)...
 

xCommand UserInterface Extensions Panel Close

Applies to: All products

Not available for the Webex Devices Cloud xAPI service on personal mode devices.

Requires user role: ADMIN, INTEGRATOR, ROOMCONTROL, USER

Closes an open custom panel or web app.

USAGE:

xCommand UserInterface Extensions Panel Close

 

xCommand UserInterface Extensions Panel Open

Applies to: All products

Not available for the Webex Devices Cloud xAPI service on personal mode devices.

Requires user role: ADMIN, INTEGRATOR, ROOMCONTROL, USER

Opens the custom panel or web app that has the given PanelId. If the panel has multiple

pages you can specify which page to open by including the PageId parameter.

USAGE:

xCommand UserInterface Extensions Panel Open PanelId: "PanelId" [PageId:

"PageId"]

where

PanelId:

String (0, 255)

The unique identifier of the custom panel or web app.

PageId:

String (0, 255)

The unique identifier of a page on a custom panel.

 

xCommand UserInterface Extensions Panel Update

Applies to: All products

Not available for the Webex Devices Cloud xAPI service on personal mode devices.

Requires user role: ADMIN, INTEGRATOR, ROOMCONTROL, USER

Updates the custom panel, action botton, or web app, that has the given PanelId.

Successful changes are immediately visible on the device.

USAGE:

xCommand UserInterface Extensions Panel Update PanelId: "PanelId" [Name:

"Name"] [Color: "Color"] [Icon: Icon] [IconId: "IconId"] [Location: Location]

[Visibility: Visibility]

where

PanelId:

String (0, 255)

The unique identifier of the custom panel, action button, or web app.

Name:

String (0, 255)

The new name of the custom panel, action button, or web app.

Color:

String (0, 255)

The color of the button in hexadecimal notation (for example, #4287f5).

Icon:

Briefing/Camera/Concierge/Custom/Disc/Handset/Help/Helpdesk/Home/Hvac/Info/

Input/Language/Laptop/Lightbulb/Media/Microphone/Power/Proximity/Record/Spark/

Tv/Webex/General

The icon on the button. Use one of the preinstalled icons from the list or select

Custom to use a custom icon that has been uploaded to the device.

IconId:

String (0, 255)

The unique identifier of the uploaded custom icon.

Location:

CallControls/Hidden/HomeScreen/HomeScreenAndCallControls

Decide if a button (for a custom panel, action button, or web app) is on the Home

screen, in the call controls, both places, or nowhere.

This parameter is not available for Room 70 Panorama and Room Panorama in this

software version.

CallControls: The button is only in the call controls. This implies that it's only available

when in a call.

Hidden: The button is always hidden, but you can open the panel or web app using

API commands.

HomeScreen: The button is only on the Home screen.