AtmoWakeHelper - 1.00 - Solution for auto COM reconnect on sleep/resume (1 Viewer)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    Rick, the config data can be at the root of EXE, instead of AppData ?
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Correct, both folder config options should point to the root folder of the apps.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    An other ask can you :
    Set the resume delay as detting ?
    Add checkbox for debug ? At least no needed to build proper binary...
    I test the debug v4.
    Can you say me. If must add "/" at the end of custom path (atmowin and atmowakehekper) ? Because i think atmowin should be have this one. And atmowakehelper not.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    New version attached with configurable delay and debug log toggle.
    For the custom path with or without "/" shouldn't matter as I use Path.Combine which calculates the correct path automatically :)
     

    Attachments

    • AtmoWakeHelper_1.01.zip
      145.3 KB

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    1.01 work fine.

    i have set 300 ms delay for the fun.
    i have one issue, due to conflict with Atmolight ( i think )
    After resume, the MP gui is show in 1-2 sec max.
    but Atmolight is started at the same time than Atmowake script. so i think i have the next issue :
    PC resume
    Atmolight set Atmowin to "live view"
    Atmowakehelper restart Atmowin ( who was set to "Live view" before, and liveview is set after restart )
    LEds are ON, but Atmolight can't control it. and leds use internal Atmowin screen capture.

    @Lightning303 : for information.
    possible to add an delay to Atmolight on resume ?

    This issue appear only with GUI/Front end capture, if not, no issue because Atmolight search to control Atmowin when play media.
     

    Lightning303

    MP Donator
  • Premium Supporter
  • September 12, 2009
    798
    577
    Home Country
    Germany Germany

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    Hum don't work ..
    Rick when MP resume, atmowake first kill Atmowin before unconnect USB ?

    i think, and i have this issue on my system with teensy2, before unplug, atmowin should be closed.

    can you add few delay between each step ?

    when i use resume, no leds are show on Gui :cry:
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Currently it does these steps:

    - Kills AtmoWin
    - Disconnect COM port
    - Connect COM port
    - Startup AtmWin if option enabled

    Attached new version which has a an additional delay option between those steps :) , if this doesn't work we can add an disconnect COM port before the kill AtmoWin as well but that might make AtmoWin popup with an error.
     

    Attachments

    • AtmoWakeHelper_1.02.zip
      145.6 KB

    Users who are viewing this thread

    Top Bottom