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

  • 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