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

Codec Macros and getting Error Wrong number of keys

Joel Stanfield
Level 1
Level 1

First time issue creating a macro, it is for a Codec Mini CE9.12.1

I tried example macros and my own shown below, when saving any these I get ERROR "Unable to save macro: Invalid command response: Wrong number of keys (35)" Any idea what is the issue?

Tried 'Hello World' example macro and get the error.

The macro I need to get working is the following;

const xapi = require('xapi');

xapi.event.on('UserInterface Extensions Panel Clicked', (event) => {
if (event.PanelId === 'panel_1 _ button') {
xapi.command('Standby ResetHalfwakeTimer', {Delay: '240'} );
}
});

1 Accepted Solution

Accepted Solutions

Joel Stanfield
Level 1
Level 1

Solved. This issue apparently was due to a beta release of CE9.12. I downgraded to CE9.10.1 and all seems fine now.

Wish the halfwake timer could have a persistent setting, instead of the temporary setting.

View solution in original post

2 Replies 2

Mike_Brezicky
Cisco Employee
Cisco Employee
The code looks correct, I also copied and pasted exactly what you have here into one of my mini's without issue. It couldn't hurt to reboot the unit and see if it works afterwards.

Joel Stanfield
Level 1
Level 1

Solved. This issue apparently was due to a beta release of CE9.12. I downgraded to CE9.10.1 and all seems fine now.

Wish the halfwake timer could have a persistent setting, instead of the temporary setting.