Click or drag to resize

GHASys Methods

[This is preliminary documentation and is subject to change.]

The GHASys type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddTimer
Creates a simple timer object under Modules/GHATimers node in the hierarchy. Timer is NOT started after creation. Set the Enabled property to true to activate the timer
Public methodStatic memberCreateAlert(AlertInfo)
Creates and publishes an alert
Public methodStatic memberCreateAlert(DateTime, String, String, String, String)
Creates and publishes an alert
Public methodStatic memberFireMessageCallback
Initiates a message callback. Receiving end should pop a message box or take some sort of action to let the user know this event has happened
Public methodStatic memberGetDevices
Returns the Devices root object in the GHA hierarchy
Public methodStatic memberGetHome
Returns the Home object in the GHA hierarchy
Public methodStatic memberGetMedia
Returns the Media root object in the GHA hierarchy
Public methodStatic memberGetModules
Returns the Module root object in the GHA hierarchy
Public methodStatic memberGetMonitoring
Returns the Monitor root object in the GHA hierarchy
Public methodStatic memberGetScenes
Returns the Scenes root object in the GHA hierarchy
Public methodStatic memberGetSchedules
Returns the Schedule root object in the GHA hierarchy
Public methodStatic memberIsDark
Helper method to access Nighttime status
Public methodStatic memberIsLight
Helper method to access Daylight status
Public methodStatic memberRemoveTimer
Removes the timer with the specified name
Public methodStatic memberSendCommand
Sends the provided string using the command device. The command device is assumed to implement either the IInfraredOutput or ISerialPort capabilities
Public methodStatic memberSendSMTPMessage(SMTPWorkItemBase)
Queues an SMTP message
Public methodStatic memberSendSMTPMessage(String, String, String, String, String)
Queues an SMTP message
Public methodStatic memberSendSMTPMessage(String, String, String, String, String, String, String)
Queues an SMTP message
Public methodStatic memberSpeak(String)
Initiate text to speech operation that will render on the default audio device of the GHA server
Public methodStatic memberSpeak(String, ITTSStream)
Initiates text to speech operation that will render on the specified device
Public methodStatic memberSpeak(String, ITTSText)
Initiates text to speech operation that will render on the specified device
Top
See Also