Announcement

Collapse
No announcement yet.

Dim Android display from linux HS3

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

    Dim Android display from linux HS3

    Hi, all,
    I am trying to get my Android tablets to dim from a Linux (HS3 ZEE S2 Edition 3.0.0.357 (Linux)) install and trying it via a script.

    Using:
    Sub Main(byval input as Object)
    hs.PluginFunction("HSTouch Server", "", "ClientAction", {89,"HOMETROLLERZEES2:BELLA",".01",""})
    End Sub


    Error:
    "Compiling script /usr/local/HomeSeer/scripts/DimKids.vb: Visual Basic.Net Compiler version 0.0.0.5943 Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved. /tmp/6b07faee/293ba69e.0.vb (2,16) : Warning VBNC40056: The import 'System.Core' could not be found. /tmp/6b07faee/293ba69e.0.vb (20,35) : Error VBNC99999: Internal compiler error close to this location Error : VBNC99999: Unexpected error: Object reference not set to an instance of an object at vbnc.Argument.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in :0 at vbnc.BaseObjects`1[vbnc.Argument].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in :0 at vbnc.ArgumentList.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in :0 at vbnc.InvocationOrIndexExpression.ResolveExpressionInternal (vbnc.ResolveInfo Info) [0x00000] in :0 at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo) [0x00000] in :0 Compilation took 00:00:05.6631700"


    Any help will be appreciated.

    #2
    Try leaving out the "byval", making it just
    Code:
    Sub Main(input as Object)
    Fred

    HomeSeer Pro 3.0.0.548, HS3Touch, Zwave 3.0.1.252, Envisalink DSC 3.0.0.40, WeatherXML, Z-stick, HS phone, Way2Call

    Comment


      #3
      Thanks. Did that and got the same error.

      Comment


        #4
        Got rid of error message in the log by:

        Sub Main(input as Object)
        hs.PluginFunction("HSTouch Server", "", "ClientAction", New Object() {89,"HOMETROLLERZEES2:BELLA","0",""})
        End Sub

        Now I just need the screen to dim - but I have read that some tablets don't dim. Is this just a china tablet (android) thing?

        Comment


          #5
          Originally posted by Leylander View Post
          Now I just need the screen to dim - but I have read that some tablets don't dim. Is this just a china tablet (android) thing?
          Software-controlled dimming seems to be all over the board! Some won't dim at all, some will dim a lot - but won't go all the way off. I've never seen anyone mention a way to tell other than buy one and try it! Bummer! Maybe we could start a new thread somewhere where users could post their tablet model and whether it has no, partial, or full support for dimming?

          BTW, my Insignia 10" tablet [from BestBuy] falls in the "dims a lot but won't go all the way off" category. The original Homeseer WFTT07 series 1 offers full support, but the series 2 does not.
          Fred

          HomeSeer Pro 3.0.0.548, HS3Touch, Zwave 3.0.1.252, Envisalink DSC 3.0.0.40, WeatherXML, Z-stick, HS phone, Way2Call

          Comment

          Working...
          X