[Plugin] WOL-PowerManager (3 Viewers)

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    And I really love the option to see on Basic Home which of my PC are awake... For me this is more important than the wake up itself...
     

    darkside40

    Portal Pro
    August 17, 2009
    482
    32
    41
    Ruhrgebiet
    Home Country
    Germany Germany
    For me this plugin is the most useful in MePo. I use it to wake my TV-Server and my File- Server, so it saves me much money.

    If editing does not work than you can maybe directly edit the plugins XML Config File?
    Nevertheless would be great to have this plugin fully functional in MePo 1.9.
    I know there is for example an Option to wake the TVServer in MePo directly, but afaik it wakes the server directly when coming from sleep. WOL- Powermanager for example only starts the TV Server when i really watch TV and not if i only want to watch a movie from my Fileserver.

    Btw. i think Lehmden's idea really interesting.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Btw. i think Lehmden's idea really interesting.
    I'm using this since years now... It's part of WOLPowerManager since beginning...
    Only a few Skin modifications needed to get this working. Here you can see this on top right corner of the screen. Below the weather you can see 2 PC named "Spock" and "Kirk" with "Spock" is awake and "Kirk" is in standby. Skin is PureVisionHD- Mod...
    screen-1-jpg.120385
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    hi
    here is the skin controls I'm using. With Modifications on x and y coordinates this should work on most skins:
    XML:
        <!--  *******************************************************************************************  -->
        <!--  ******************************   WOLPowerManager Section   ********************************  -->
        <!--  *******************************************************************************************  -->
           
            <control>
            <description>GROUP: WOLPowerManager</description>
          <type>group</type>
                <dimColor>0xffffffff</dimColor>
            <visible>plugin.isenabled(WOL-PowerManager) + string.contains(#WOLPowerManager.IntervalState,true)</visible>
               <animation effect="slide" start="-400,0" end="0,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowOpen</animation>
            <animation effect="slide" end="-400,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowClose</animation>
            <control>
                <description>GROUP: Server0</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername0,WOLPowerManager.Servername0)</visible>
                 <control>
                     <description>Server0</description>
                   <type>label</type>
                            <id>101234</id>
                      <align>right</align>
                  <posX>1773</posX>
                  <posY>41</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                  <label>#WOLPowerManager.Servername0</label>
                </control>
                <control>
                   <description>GreenButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate0,online)</visible>
                <posX>1785</posX>
                <posY>41</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_gn.png</texture>
              </control>
              <control>
                   <description>RedButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate0,offline)</visible>
                <posX>1785</posX>
                <posY>41</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_rd.png</texture>
              </control>
                </control>
            <control>
                <description>GROUP: Server1</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername1,WOLPowerManager.Servername1)</visible>
                        <control>
                  <description>Server1</description>
                   <type>label</type>
                          <id>111234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>61</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                     <label>#WOLPowerManager.Servername1</label>
                </control>
              <control>
                  <description>GreenButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate1,online)</visible>
                <posX>1785</posX>
                <posY>61</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_gn.png</texture>
                        </control>
              <control>
                     <description>RedButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate1,offline)</visible>
                <posX>1785</posX>
                <posY>61</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_rd.png</texture>
              </control>
                </control>
            <control>
                <description>GROUP: Server2</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername2,WOLPowerManager.Servername2)</visible>
                        <control>
                       <description>Server2</description>
                  <type>label</type>
                        <id>121234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>81</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                   <label>#WOLPowerManager.Servername2</label>
                 </control>
              <control>
                    <description>GreenButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate2,online)</visible>
                <posX>1785</posX>
                <posY>81</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_gn.png</texture>
              </control>
              <control>
                     <description>RedButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate2,offline)</visible>
                <posX>1785</posX>
                <posY>81</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_rd.png</texture>
              </control>
                </control>
            <control>
                  <description>GROUP: Server3</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername3,WOLPowerManager.Servername3)</visible>
                        <control>
                       <description>Server3</description>
                   <type>label</type>
                          <id>131234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>101</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                  <label>#WOLPowerManager.Servername3</label>
                    </control>
                 <control>
                     <description>GreenButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate3,online)</visible>
                   <posX>1785</posX>
                   <posY>101</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_gn.png</texture>
                 </control>
                 <control>
                     <description>RedButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate3,offline)</visible>
                   <posX>1785</posX>
                   <posY>101</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_rd.png</texture>
                 </control>
                    </control>
            <control>
                   <description>GROUP: Server4</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername4,WOLPowerManager.Servername4)</visible>
                        <control>
                       <description>Server4</description>
                  <type>label</type>
                          <id>141234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>121</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                   <label>#WOLPowerManager.Servername4</label>
                    </control>
                <control>
                     <description>GreenButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate4,online)</visible>
                   <posX>1785</posX>
                   <posY>121</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_gn.png</texture>
                 </control>
                 <control>
                    <description>RedButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate4,offline)</visible>
                   <posX>1785</posX>
                   <posY>121</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_rd.png</texture>
                 </control>
                    </control>
            </control>
    This is for up to 5 different servers
     

    seppi2204

    Portal Pro
    December 8, 2010
    103
    56
    Stuttgart
    Home Country
    Germany Germany
    Hi guys,
    happy to see that so many people here are still using this plugin. Unfortunately i probably can't provide a fix for MePo 1.9 in the next few days - just way too much stuff to do.
    I will have a look at this as soon as possible. If someone else can't wait and likes to fix it by hisself, I will gladly add his code to the project.
     
    C

    CypherMK

    Guest
    hi
    here is the skin controls I'm using. With Modifications on x and y coordinates this should work on most skins:
    XML:
        <!--  *******************************************************************************************  -->
        <!--  ******************************   WOLPowerManager Section   ********************************  -->
        <!--  *******************************************************************************************  -->
           
            <control>
            <description>GROUP: WOLPowerManager</description>
          <type>group</type>
                <dimColor>0xffffffff</dimColor>
            <visible>plugin.isenabled(WOL-PowerManager) + string.contains(#WOLPowerManager.IntervalState,true)</visible>
               <animation effect="slide" start="-400,0" end="0,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowOpen</animation>
            <animation effect="slide" end="-400,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowClose</animation>
            <control>
                <description>GROUP: Server0</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername0,WOLPowerManager.Servername0)</visible>
                 <control>
                     <description>Server0</description>
                   <type>label</type>
                            <id>101234</id>
                      <align>right</align>
                  <posX>1773</posX>
                  <posY>41</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                  <label>#WOLPowerManager.Servername0</label>
                </control>
                <control>
                   <description>GreenButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate0,online)</visible>
                <posX>1785</posX>
                <posY>41</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_gn.png</texture>
              </control>
              <control>
                   <description>RedButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate0,offline)</visible>
                <posX>1785</posX>
                <posY>41</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_rd.png</texture>
              </control>
                </control>
            <control>
                <description>GROUP: Server1</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername1,WOLPowerManager.Servername1)</visible>
                        <control>
                  <description>Server1</description>
                   <type>label</type>
                          <id>111234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>61</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                     <label>#WOLPowerManager.Servername1</label>
                </control>
              <control>
                  <description>GreenButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate1,online)</visible>
                <posX>1785</posX>
                <posY>61</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_gn.png</texture>
                        </control>
              <control>
                     <description>RedButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate1,offline)</visible>
                <posX>1785</posX>
                <posY>61</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_rd.png</texture>
              </control>
                </control>
            <control>
                <description>GROUP: Server2</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername2,WOLPowerManager.Servername2)</visible>
                        <control>
                       <description>Server2</description>
                  <type>label</type>
                        <id>121234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>81</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                   <label>#WOLPowerManager.Servername2</label>
                 </control>
              <control>
                    <description>GreenButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate2,online)</visible>
                <posX>1785</posX>
                <posY>81</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_gn.png</texture>
              </control>
              <control>
                     <description>RedButton</description>
                <type>image</type>
                <visible>string.contains(#WOLPowerManager.Serverstate2,offline)</visible>
                <posX>1785</posX>
                <posY>81</posY>
                <width>20</width>
                <height>20</height>
                <texture>pos_rd.png</texture>
              </control>
                </control>
            <control>
                  <description>GROUP: Server3</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername3,WOLPowerManager.Servername3)</visible>
                        <control>
                       <description>Server3</description>
                   <type>label</type>
                          <id>131234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>101</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                  <label>#WOLPowerManager.Servername3</label>
                    </control>
                 <control>
                     <description>GreenButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate3,online)</visible>
                   <posX>1785</posX>
                   <posY>101</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_gn.png</texture>
                 </control>
                 <control>
                     <description>RedButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate3,offline)</visible>
                   <posX>1785</posX>
                   <posY>101</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_rd.png</texture>
                 </control>
                    </control>
            <control>
                   <description>GROUP: Server4</description>
              <type>group</type>
              <visible>!string.contains(#WOLPowerManager.Servername4,WOLPowerManager.Servername4)</visible>
                        <control>
                       <description>Server4</description>
                  <type>label</type>
                          <id>141234</id>
                      <align>right</align>
                  <posX>1773</posX>
                   <posY>121</posY>
                  <font>Font9</font>
                  <textcolor>fff5deb3</textcolor>
                   <label>#WOLPowerManager.Servername4</label>
                    </control>
                <control>
                     <description>GreenButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate4,online)</visible>
                   <posX>1785</posX>
                   <posY>121</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_gn.png</texture>
                 </control>
                 <control>
                    <description>RedButton</description>
                   <type>image</type>
                   <visible>string.contains(#WOLPowerManager.Serverstate4,offline)</visible>
                   <posX>1785</posX>
                   <posY>121</posY>
                   <width>20</width>
                   <height>20</height>
                   <texture>pos_rd.png</texture>
                 </control>
                    </control>
            </control>
    This is for up to 5 different servers
    Which XML should this be put in?
     

    schwarzrz

    Portal Pro
    May 23, 2010
    370
    57
    Frankfurt
    Home Country
    Germany Germany
    This plugin still works on my htpc running 1.10 pre. What's not working on other setups?
    It still works, but nothing can be changed. As i said any new settings can not be saved or not even updated.
    The old settings (Wake TV-Server/NAS when MePo starts) still work perfectly.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Which XML should this be put in?
    Depends on the skin. If there is a Basic Home Menu editor who alters the basichome.xml directly it's better to add this to e.g. common.time or something else that will be imported in the home screen...
     

    Users who are viewing this thread

    Top Bottom