11-26-2018 04:23 PM - edited 03-18-2019 02:29 PM
I have a SX80 and am using the cameras for other applications, is there a way to disable the codec going into its halfwake so the cameras stay awake.
11-27-2018 01:20 AM
Hi,
Not by configuration but by customising the codec behavior. A macro should do the trick for this.
Ill provide an example for you.
/Magnus
11-27-2018 11:58 AM
Hi,
Here is a quick example on how to "disable" Halfwake. Whenever the device is about to enter Halfwake it just resets the timer. Copy the below and create a new macro on the device, paste in the code and start it.
const xapi = require('xapi'); function resetHalfwake(state) { if (state === "Halfwake") xapi.command("Standby ResetHalfwakeTimer", {Delay: '480'}); } xapi.status.on("Standby State", resetHalfwake);
/Magnus
05-24-2019 10:57 AM
We have the same problem.
We did try the Macro and it does wake the SX80 back up, but there is a momentary loss of video each time it re-awakes.
I wish there were simply a way to disable half wake. This was not an issue in older revs of software.
09-26-2021 06:41 PM
I tried the macro Maguns posted and got the same result with a momentary loss of video but changing the delay value to '400' instead of '480' fixed that issue on the one SX80 I have tested it on.
02-21-2019 12:48 PM - edited 02-21-2019 12:51 PM
I came across this post when looking for how to disable the halfwake as well. I wrote a slightly different macro than magnus did because my goal was to put the system straight to sleep rather than sitting in halfwake.
Rather than restarting the timer and keeping the system awake, I immediately set the system to go into standby when halfwake hits. The reaction time is so fast that you don't even seen the halfwake state on the codec.
const xapi = require('xapi'); xapi.status.on('Standby State', state => { console.log('going to ', state); if (state === 'Halfwake') xapi.command('Standby Activate'); });
For what you're trying to do, just change "Standby Activate" to "Standby Deactivate" so that it keeps the system awake. Shown below:
const xapi = require('xapi'); xapi.status.on('Standby State', state => { console.log('going to ', state); if (state === 'Halfwake') xapi.command('Standby Deactivate'); });
04-30-2019 10:01 AM
I am looking for the opposite.
How can I make the system stay in halfwake state forever and not shutdown?
05-31-2022 12:53 PM
Do you have a macro to keep it in halfwake mode and not to go in to standby?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide