The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: XAP integrated into web page


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Re: xAP message watchdog



------=_NextPart_000_002B_01CB583E.B70B7870
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

I've had a look at these apps and can't figure out how to do something with
them.

The two things I would like to do are -

1) Monitor my Misterhouse application. Misterhouse generates xAP BSC
messages for all of it's defined I/O.
Occasionally MH locks up. When this happens it stops sending BSC
messages.
I want to send an email when this happens.

2) After the email has been sent, I want to restart the PC.




Regards,

Neil Wrightson.



_____

From: xap_automation@xxxxxxx [mailto:xap_automation@xxxxxxx]
On Behalf Of Kevin T
Sent: Tuesday, 17 August 2010 4:59 PM
To: xap_automation@xxxxxxx
Subject: Re: [xap_automation] Re: xAP message watchdog






I think the app that Kevin was thinking about might be xAP Watcher

http://www.mi4.biz/modules.php?name=Downloads
<http://www.mi4.biz/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=
6&ttitle=xAP_Watcher_v1.1>
&d_op=viewdownloaddetails&lid=6&ttitle=xAP_Watcher_v1.1

and xAP Watcher Viewer

http://www.mi4.biz/modules.php?name=Downloads
<http://www.mi4.biz/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=
10&ttitle=xAP_Watcher_Viewer>
&d_op=viewdownloaddetails&lid=10&ttitle=xAP_Watcher_Viewer

KevinT
(the other kevin)

On 16 August 2010 22:40, Neil Wrightson <neilw@xxxxxxx> wrote:






Thanks for the tips Kevin.


Regards,

Neil Wrightson.



_____

From: xap_automation@xxxxxxx [mailto:xap_automation@xxxxxxx]
On Behalf Of Kevin Hawkins
Sent: Tuesday, 17 August 2010 2:12 AM
To: xap_automation@xxxxxxx
Subject: Re: [xap_automation] Re: xAP message watchdog




mi4's xAP Ping will detect and advise about absent devices (by a variety of
means).  There's xMonitor too.

I'm sure there was a xAP app that offered access to a variety of Windows
functions including reboot but I can't just remember what it was ..  xAP is
not very secure though for such a vital function.

K

On 16/08/2010 15:50, derek.kennedy@xxxxxxx wrote:






A long time ago, I wrote a little application that caused Windows to be
restarted when an SMS message was sent a mobile phone attached to the PC.
This ran on XP and I recall that there was some twiddling with privileges
required before the call to make Windows exit and restart would work.

Suppose it wouldn't be too hard to tweak this to listen for xAP messages,
or
a lack thereof. Suspect that the program would also need to be aware of an
xAP hub.

What version of Windows are you running? Also, does Windows always exit and
reboot cleanly if you use the standard 'shutdown and restart' option?

Cheers,
Derek.

--- In xap_automation@xxxxxxx
<mailto:xap_automation%40yahoogroups.com>
, "Neil Wrightson"
<mailto:neilw@...>
<neilw@...> wrote:
>
> Hi All,
>
> I'm running Misterhouse as my main controller.
> Approximately every 3..8 days it crashes and the only cure is a
windows
> restart.
>
> What I'm looking for is an xAP application that can reside on the same
> windows PC as the MH box and monitor xAP status messages being sent
from
> Misterhouse.
> If the messages stopped for a defined period then the xAP watchdog
> application, comes to the front and warns of a reboot in 60 seconds,
if no
> user action is taken, then the watchdog application restarts the PC.
> A log of the xAP watchdog actions i.e. MH stopped, user aborted
automatic
> shutdown or restart, would also be nice.
>
> Does anything like this exist?
>
>
> Regards,
>
> Neil Wrightson.
>




















------=_NextPart_000_002B_01CB583E.B70B7870
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit





<head>

<style type="text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii"
http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML
8.00.6001.18939"></HEAD>
<BODY style="BACKGROUND-COLOR: #fff">


<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->



<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>I've had a look at these apps and can't figure
out how
to do something with them.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>The two things I would like to do are
-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>1) Monitor my Misterhouse application.
Misterhouse&nbsp;generates xAP BSC messages for all of it's defined
I/O.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>&nbsp;&nbsp;&nbsp; Occasionally MH
locks up.&nbsp;When
this happens it stops sending BSC
messages.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>&nbsp;&nbsp;&nbsp; I want to send
an email when this
happens.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010>2) After the email has been sent, I want to
restart the
PC.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=914490311-19092010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2
face=Arial></FONT>&nbsp;</DIV>
<DIV class=Section1>
<P><SPAN style="FONT-FAMILY: Arial; FONT-SIZE:
10pt">Regards,</SPAN> </P>
<P><B><SPAN style="FONT-SIZE: 13.5pt">Neil
Wrightson.</SPAN></B>
<BR></P></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT:
5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B>
xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx]
<B>On Behalf Of </B>Kevin
T<BR><B>Sent:</B> Tuesday, 17 August 2010 4:59
PM<BR><B>To:</B>
xap_automation@xxxxxxx<BR><B>Subject:</B> Re:
[xap_automation] Re: xAP
message watchdog<BR></FONT><BR></DIV>
<DIV></DIV><SPAN style="DISPLAY:
none">&nbsp;</SPAN>
<DIV id=ygrp-text>
<P>
<DIV>I think the app that Kevin was thinking about might be xAP
Watcher</DIV>
<DIV>&nbsp;</DIV>
<DIV><A
href="http://www.mi4.biz/modules.php?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=6&amp;ttitle=xAP_Watcher_v1.1";>http://www.mi4.biz/modules.php?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=6&amp;ttitle=xAP_Watcher_v1.1</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>and xAP Watcher Viewer<BR></DIV>
<DIV><A
href="http://www.mi4.biz/modules.php?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=10&amp;ttitle=xAP_Watcher_Viewer";>http://www.mi4.biz/modules.php?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=10&amp;ttitle=xAP_Watcher_Viewer</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>KevinT</DIV>
<DIV>(the other kevin)<BR></DIV>
<DIV class=gmail_quote>On 16 August 2010 22:40, Neil Wrightson
<SPAN
dir=ltr>&lt;<A href="mailto:neilw@xxxxxxx";>neilw@xxxxxxx</A>&gt;</SPAN>
wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid"
class=gmail_quote>
<DIV style="BACKGROUND-COLOR:
#fff"><SPAN>&nbsp;</SPAN>
<DIV>
<DIV>
<DIV>
<P>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN>Thanks
for the tips Kevin.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<P><SPAN style="FONT-FAMILY: Arial; FONT-SIZE:
10pt">Regards,</SPAN> </P>
<P><B><SPAN style="FONT-SIZE: 13.5pt">Neil
Wrightson.</SPAN></B>
<BR></P></DIV><BR>
<BLOCKQUOTE style="BORDER-LEFT: #0000ff 2px solid">
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> <A
href="mailto:xap_automation@xxxxxxx";
target=_blank>xap_automation@xxxxxxx</A> [mailto:<A
href="mailto:xap_automation@xxxxxxx";
target=_blank>xap_automation@xxxxxxx</A>] <B>On Behalf Of
</B>Kevin Hawkins<BR><B>Sent:</B> Tuesday, 17
August 2010 2:12
AM<BR><B>To:</B> <A href="mailto:xap_automation@xxxxxxx";
target=_blank>xap_automation@xxxxxxx</A><BR><B>Subject:</B>
Re:
[xap_automation] Re: xAP message
watchdog<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV></DIV><SPAN>&nbsp;</SPAN>
<DIV>
<P>mi4's xAP Ping will detect and advise about absent devices (by a
variety of means).&nbsp; There's xMonitor too.<BR><BR>I'm
sure there was a
xAP app that offered access to a variety of Windows functions including
reboot but I can't just remember what it was ..&nbsp; xAP is not very
secure though for such a vital
function.<BR><BR>K<BR><BR>On 16/08/2010
15:50, <A href="mailto:derek.kennedy@xxxxxxx";
target=_blank>derek.kennedy@xxxxxxx</A> wrote:
<BLOCKQUOTE type="cite"><SPAN>&nbsp;</SPAN>
<DIV>
<P><BR><BR>A long time ago, I wrote a little application
that caused
Windows to be restarted when an SMS message was sent a mobile phone
attached to the PC. This ran on XP and I recall that there was some
twiddling with privileges required before the call to make Windows exit
and restart would work.<BR><BR>Suppose it wouldn't be too hard
to tweak
this to listen for xAP messages, or a lack thereof. Suspect that the
program would also need to be aware of an xAP hub. <BR><BR>What
version
of Windows are you running? Also, does Windows always exit and reboot
cleanly if you use the standard 'shutdown and restart' option?
<BR><BR>Cheers,<BR>Derek.<BR><BR>--- In <A
href="mailto:xap_automation%40yahoogroups.com";
target=_blank>xap_automation@xxxxxxx</A>, "Neil
Wrightson" <A
href="mailto:neilw@...";
target=_blank>&lt;neilw@...&gt;</A>
wrote:<BR>&gt;<BR>&gt; Hi All,<BR>&gt;
<BR>&gt; I'm running Misterhouse
as my main controller.<BR>&gt; Approximately every 3..8 days it
crashes
and the only cure is a windows<BR>&gt; restart.<BR>&gt;
<BR>&gt; What
I'm looking for is an xAP application that can reside on the
same<BR>&gt; windows PC as the MH box and monitor xAP status
messages
being sent from<BR>&gt; Misterhouse.<BR>&gt; If the
messages stopped for
a defined period then the xAP watchdog<BR>&gt; application, comes
to the
front and warns of a reboot in 60 seconds, if no<BR>&gt; user
action is
taken, then the watchdog application restarts the PC.<BR>&gt; A
log of
the xAP watchdog actions i.e. MH stopped, user aborted
automatic<BR>&gt;
shutdown or restart, would also be nice.<BR>&gt;
<BR>&gt; Does anything
like this exist?<BR>&gt; <BR>&gt; <BR>&gt;
Regards, <BR>&gt; <BR>&gt;
Neil
Wrightson.<BR>&gt;<BR><BR></P></DIV></BLOCKQUOTE><BR>
<P></P>
<P></P>
<P></P></DIV></DIV></DIV></BLOCKQUOTE>
<P></P>
<P></P></DIV>
<DIV style="COLOR:
#fff"></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR>
<P></P></DIV><!-- end group email -->



<!-- **begin egp html banner** -->

<br>



<br>

<!-- **end egp html banner** -->


<div width="1" style="color: white; clear:
both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- **begin egp html banner** -->

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=4678/stime=1284927726";
width="1" height="1"> <br>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmaHFwczZkBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyODQ5Mjc3MjY-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkMWFpN2hvBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjg0OTI3NzI2";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style="color: white; clear:
both;"/>__,_._,___</div>
</BODY></HTML>

------=_NextPart_000_002B_01CB583E.B70B7870--

xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.