home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Powerscheduler HeartBeat-Monitor
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Diggen" data-source="post: 484325" data-attributes="member: 49542"><p>Hello,</p><p>I know there are more or less active Threads at the moment about Powerscheduler and Multiseatsetups (e.G <a href="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/powerscheduler-network-monitoring-share-traffic-60756/" target="_blank">Here</a>) but IMHO montioring traffic or shares ist not ideal for this. Especialy if your TV-Server is some kind of NAS (for other Computers), too.</p><p>hats why I decided to look into the Powerscheduler-Code an implented a HeartBeat Monitor. When just using Tv-Server as Tv-Server JBravos <a href="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/patch-power-scheduler-tv-server-plugin-52155/" target="_blank">PowerScheduler Client Patch</a> should do the Job (it corrects IPowerController in Multiseat)</p><p></p><p>But now to the HeartBeat-Monitor.</p><p>The patch for the Tv-Server adds a new Tab to PowerScheduler Configuration for enabling Hb-Monitor. When its enabled PowerScheduler will start a UDP Server at Port 4010 an waits for Heartbeats. It will check every 60 seconds if there is a Heartbeat that is not older than 60 seconds and will allow/disallow Standby.</p><p>The client patch sends every 30 seconds an UDP-Packet/HeartBeat to the Server, not more or less.</p><p>This shouldn't necesary with JBravos clientPatch.</p><p></p><p>The real effort is the litlle UDPclient which can be run on another Computer to simple prevent standby of the Tv-Server (a littlebit like <a href="http://www.home-server-blog.de/add-ins/lightsout/" target="_blank">LightsOut for WHS</a>). </p><p>I'm working on an improved version of this UDPclient, with WOL and Trayicon-support...</p><p></p><p>The only unremained Problem is sending a WOL-Packet at MePo start/wakeup.</p><p>Solution 1 seems to be in the mentioned <a href="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/powerscheduler-network-monitoring-share-traffic-60756/" target="_blank">Thread</a>.</p><p>Solution 2 is to send a WOL-Packet before MePo starts, I'm working at a shell replacement which will do that. </p><p>or the next Version of my UDPclient which will do that at start/wake of the Computer,too.</p><p></p><p>I hope my englisch wasn't to bad and the Hearbeat-Monitor is something usefull <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>The patch is against SVN23143, the compiled dlls also but they work in MePo 1.0.2.0</p></blockquote><p></p>
[QUOTE="Diggen, post: 484325, member: 49542"] Hello, I know there are more or less active Threads at the moment about Powerscheduler and Multiseatsetups (e.G [URL="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/powerscheduler-network-monitoring-share-traffic-60756/"]Here[/URL]) but IMHO montioring traffic or shares ist not ideal for this. Especialy if your TV-Server is some kind of NAS (for other Computers), too. hats why I decided to look into the Powerscheduler-Code an implented a HeartBeat Monitor. When just using Tv-Server as Tv-Server JBravos [URL="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/patch-power-scheduler-tv-server-plugin-52155/"]PowerScheduler Client Patch[/URL] should do the Job (it corrects IPowerController in Multiseat) But now to the HeartBeat-Monitor. The patch for the Tv-Server adds a new Tab to PowerScheduler Configuration for enabling Hb-Monitor. When its enabled PowerScheduler will start a UDP Server at Port 4010 an waits for Heartbeats. It will check every 60 seconds if there is a Heartbeat that is not older than 60 seconds and will allow/disallow Standby. The client patch sends every 30 seconds an UDP-Packet/HeartBeat to the Server, not more or less. This shouldn't necesary with JBravos clientPatch. The real effort is the litlle UDPclient which can be run on another Computer to simple prevent standby of the Tv-Server (a littlebit like [URL="http://www.home-server-blog.de/add-ins/lightsout/"]LightsOut for WHS[/URL]). I'm working on an improved version of this UDPclient, with WOL and Trayicon-support... The only unremained Problem is sending a WOL-Packet at MePo start/wakeup. Solution 1 seems to be in the mentioned [URL="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/powerscheduler-network-monitoring-share-traffic-60756/"]Thread[/URL]. Solution 2 is to send a WOL-Packet before MePo starts, I'm working at a shell replacement which will do that. or the next Version of my UDPclient which will do that at start/wake of the Computer,too. I hope my englisch wasn't to bad and the Hearbeat-Monitor is something usefull ;) The patch is against SVN23143, the compiled dlls also but they work in MePo 1.0.2.0 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Powerscheduler HeartBeat-Monitor
Contact us
RSS
Top
Bottom