www.homeseer.com  
 

Go Back   HomeSeer Message Board > Developer Support > Scripts & Plug-Ins:Development and Libraries > Script & Plug-In Library

Script & Plug-In Library If you have a script for HomeSeer that you would like to share, please post it here. This forum is for scripts only, and no replies are allowed here. You may discuss these scripts in the Scripts Discussion forum.

Reply
 
Thread Tools Display Modes
  #1  
Old September 10th, 2009, 04:10 PM
dale3h's Avatar
dale3h dale3h is offline
Seer Deluxe
 
Join Date: Mar 2002
Location: Arlington, TX
Posts: 436
Default Growl Plug-in for HomeSeer

Here's my latest plug-in...Growl for HomeSeer. It supports local and remote Growl systems (Windows and Mac), as well as password protection, sticky, and priority. It supports unlimited hosts, so you can push notifications to as many computers as you'd like.

This simply pushes all log entries to Growl. Displaying a notification is now available via actions and also scripting.
To disable specific notification types (there are currently 5 types: user, action, log info, log warning, log error), allow the plug-in to register with Growl and then use the Growl settings to adjust the notifications.

Here are a few examples for the scripting portion:
Code:
hs.Plugin("Growl").Notify "Message goes here" ' Title will default to "HomeSeer"
hs.Plugin("Growl").Notify "Title", "Message goes here" ' Title and message are specified
hs.Plugin("Growl").Notify "Title", "Message goes here", True ' Sticky is set to true, which requests that the notification stays on the screen until clicked
hs.Plugin("Growl").Notify "Title", "Message goes here", True, 2 ' Sets priority to Emergency; 2 = Emergency, 1 = High, 0 = Normal, -1 = Low, -2 = Very Low
Growl for HomeSeer 1.0.3680.9146 [1/28/2010 5:04 AM, 40KB]

The following is my setup; it allows me to be alerted visual and audibly for HomeSeer errors:

Default Display: Smokestack, at top-right of screen

HomeSeer Notifications:
Log Notice: Disabled
Log Warning: Display=Visor, Duration=5 sec, Priority=High [Orange in Visor display], Sound=Windows Error.wav
Log Error: Display=Visor, Duration=10 sec, Priority=Emergency [Red in Visor display], Sound=Windows Critical Stop.wav
User Message (Scripting): Default
Event Action: Default

Hope this helps get an idea of how to use this plug-in!

Please report all bugs and feedback to this thread. Thanks!
__________________
Dale Higgs
dale3h, formerly Synthesize

New Website: http://dale3h.com/ (formerly synvb.com)

Last edited by dale3h; January 28th, 2010 at 06:38 AM.
Reply With Quote
  #2  
Old January 28th, 2010, 07:49 PM
dale3h's Avatar
dale3h dale3h is offline
Seer Deluxe
 
Join Date: Mar 2002
Location: Arlington, TX
Posts: 436
Default

Growl for HomeSeer has been updated to version 1.0.3680.9146. It now supports notifications via event actions and scripting.
__________________
Dale Higgs
dale3h, formerly Synthesize

New Website: http://dale3h.com/ (formerly synvb.com)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:53 AM.

Untitled Document
NEW!
New Products


Copyright HomeSeer Technologies, LLC