Announcement

Collapse
No announcement yet.

Try to read Hs3 log

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

    Try to read Hs3 log

    Hi i try to read hs3 log to put it in mysql database.
    I try documentation sample:
    PHP Code:
    Dim Logs() As HomeSeerAPI.LogEntry
    Logs 
    hs.GetLog_FullFilter(Now.AddDays(-7), Now"Error"""False13True, -1True)
    If 
    Logs IsNot Nothing AndAlso Logs.Count 0 Then
        hs
    .WriteLog("Info"Logs.Count.ToString " log entries retrieved, and this just added another!")
    End If 
    from online help
    http://homeseer.com/support/homeseer...fullfilter.htm
    and get this error
    PHP Code:
    nov.-12 20:56:23         Error    Compiling script C:\Program Files\HomeSeer HS3\scripts\Test_log.vb'Count' n'est pas un membre de 'System.Array'.
    nov.-12 20:56:23         Error    Compiling script C:\Program Files\HomeSeer HS3\scripts\Test_log.vb: '
    Count' n'est pas un membre de 'System.Array'.
    nov.-12 20:56:23         Event    Running script in backgroundC:/Program Files/HomeSeer HS3/scripts/Test_log.vb
    nov
    .-12 20:56:23         Event    Event Trigger "Mysql Mysql_HS3_Log" 
    Any ideas thx ?
Working...
X