Chewbucka or sparkman have either of you updated the BatteryReport Script to reflect the latest? I noticed that when I execute it via the Virtual device I get the following error message;
Not sure what not working? the funny things is that if I use an event to run it the script I'm able to get it to run (see below) so its something re the Virtual device execution any ideas? Mike
Aug-14 9:20:05 PM | Error 3 | Running script BatteryReport.vb :Object of type 'System.Object[]' cannot be converted to type 'System.String'.->Does entry point Main exist in script? at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr) at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig) at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Obj ect obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Scheduler.clsRunVBNetScript.ExecuteScript() |
Aug-14 9:20:05 PM | Device Control | Device: Virtual Controls Lowest Battery to Send Report (Execute Script) by/from: CAPI Control Handler |
Aug-14 9:32:49 PM | Email successfully sent to email@XXX.com |
Aug-14 9:32:47 PM | Battery Report | Battery report created. |
Aug-14 9:32:47 PM | Event | Running script and waiting: C:/Program Files (x86)/HomeSeer HS3/scripts/BatteryReport2.vb |
Aug-14 9:32:47 PM | Event | Event Trigger "Utilities Battery Report 2" |
Comment