← Back to team overview

sikuli-driver team mailing list archive

[Question #702646]: Optimizing resource usage

 

New question #702646 on SikuliX:
https://answers.launchpad.net/sikuli/+question/702646


Hi, i'm working on home assistant  (HA) display tablet based on windows for elderly,

the tablet serves various functions but mainly as viewing cctv station to know who's in front.

Now i'd also like to the tablet for auto answer videocall for emergency use. The only software capable for this so far is skype.

Problem is after a call session, skype contact window blocks the HA instance, and it wont minimize automatically.

So i've used sikuli like this to bring HA in front after each skype call. Where skype .png is a call / hangup button pic.


HomeAssistant = App(r"c:\HA\Home_Assistant.exe")
While True
  wait(skype.png, FOREVER)
  waitVanish(skype.png, FOREVER)
  HomeAssistant.focus()


The problem is this takes large toll on resources, at times 50-60% which is understandable since it's a NUC5cphy machine.
And it makes other apps impossible to run
But i'm restricted in terms of resoure since the whole system runs on POE (30 watts max)
So is there any other approach that is more resource friendly for my case?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.