Announcement

Collapse
No announcement yet.

Where and how do we set accesslevel?

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

    Where and how do we set accesslevel?

    Where and how do we set AccessLevel() ?
    ie. Free or Key Required
    -Larry

    A member of "The HA Pioneer Group", MyWebSite

    Plugins:
    VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

    Hardware:
    Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

    #2
    Originally posted by lpitman View Post
    Where and how do we set AccessLevel() ?
    ie. Free or Key Required
    I've added the old method, haven't tested whether it is doing anything ....

    Code:
        Public Overrides ReadOnly Property AccessLevel As Integer Implements HomeSeer.PluginSdk.IPlugin.AccessLevel
            Get
                ' return the access level for this plugin
                ' 1=everyone can access, no protection
                ' 2=level 2 plugin. Level 2 license required to run this plugin
                Return 1
            End Get
        End Property

    Comment


      #3
      Thanks, looks like Overrides is our friend.
      -Larry

      A member of "The HA Pioneer Group", MyWebSite

      Plugins:
      VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

      Hardware:
      Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

      Comment

      Working...
      X