Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

Nighttime error?

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

  • 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
    Larry

  • #2
    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
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      Thanks Bob.

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

      Comment

      Working...
      X