Blade asked for ways that people are using the Message Server plugin, so I figured I'd share how I set this up.
I wanted a way to see an image when an event triggered to capture a new image, even if I am at work. I also wanted an easy way to turn the notifications off but still have the events trigger.
Since I already used the Message Server plugin, I already had the ability to send messages to my work computer.
I created an event called "Msg Server Notify". In the Action tab for Message Server I entered the following:
<pre class="ip-ubbcode-code-pre">
Clients: kjl-jeff,babylon5,homeserver
Message Type: Info
Message Box checked
Title: Image Captured
Message:<img src='http://%HS_SERVER%:85/webcam/ATI/Video Tuner/latest.jpg'>
</pre>
Then I setup a virtual device (s2).
I can click the on or off buttons to turn off my image notify using this device.
Next, on all my events that capture images, I added this to the scripts tab.
<pre class="ip-ubbcode-code-pre">
&if hs.DeviceStatus("s2") = 2 Then hs.DelayTrigger 5,"Msg Serv Notify"
</pre>
This allows the events to trigger but only send me the notify message when I turn the notify flag on.
While the example I posted is setup for the WebCam plugin, this could be setup to work with anything that deals with images.
I've attached an image of the message that gets sent. You can see the image in the popup window. In my case, I have one really cheap camera so the image is not the greatest, but it shows what is possible with the message window.
I wanted a way to see an image when an event triggered to capture a new image, even if I am at work. I also wanted an easy way to turn the notifications off but still have the events trigger.
Since I already used the Message Server plugin, I already had the ability to send messages to my work computer.
I created an event called "Msg Server Notify". In the Action tab for Message Server I entered the following:
<pre class="ip-ubbcode-code-pre">
Clients: kjl-jeff,babylon5,homeserver
Message Type: Info
Message Box checked
Title: Image Captured
Message:<img src='http://%HS_SERVER%:85/webcam/ATI/Video Tuner/latest.jpg'>
</pre>
Then I setup a virtual device (s2).
I can click the on or off buttons to turn off my image notify using this device.
Next, on all my events that capture images, I added this to the scripts tab.
<pre class="ip-ubbcode-code-pre">
&if hs.DeviceStatus("s2") = 2 Then hs.DelayTrigger 5,"Msg Serv Notify"
</pre>
This allows the events to trigger but only send me the notify message when I turn the notify flag on.
While the example I posted is setup for the WebCam plugin, this could be setup to work with anything that deals with images.
I've attached an image of the message that gets sent. You can see the image in the popup window. In my case, I have one really cheap camera so the image is not the greatest, but it shows what is possible with the message window.
Comment