Announcement

Collapse
No announcement yet.

Nighttime error?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lpcalcaterra
    replied
    Thanks Bob.

    For HS2 use blradar...
    For HS3 use blradar.PluginFunction

    Leave a comment:


  • Blade
    replied
    Try this:

    Code:
    If blradar.PluginFunction("NightTime", Nothing) Then
        blradar.PluginFunction("ControlDevice", new Object(){"2ND FLOOR Stairway Lighting", "dim", 15})
        blradar.PluginFunction("NewDelayedEventForNoEcho",New Object(){"Stain Light control","2ND FLOOR Stairway Lightingff",5,""})
    End if

    Leave a comment:


  • lpcalcaterra
    started a topic Nighttime error?

    Nighttime error?

    UDMC:
    If blradar.NightTime() Then
    blradar.PluginFunction("ControlDevice", new Object(){"2ND FLOOR Stairway Lighting", "dim", 15})
    blradar.PluginFunction("NewDelayedEventForNoEcho",New Object(){"Stain Light control","2ND FLOOR Stairway Lightingff",5,""})
    End if



    PHP Code:
    Oct-23 12:34:23 PM         Error    Compiling script BLRadar\BLRadar_On_test.vb'NightTime' is not a member of 'HomeSeerAPI.PluginAccess'.
    Oct-23 12:34:23 PM         Error    Compiling script BLRadar\BLRadar_On_test.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn'use any aliases
Working...
X