I copied this example from the documentation:
Trying to run with "GetLastValue" as "Sub or Function" and "947" as "parameter".
This just results in an error in the log:
Isn't scripting against "Device History" supported on Linux?
Running on Ubuntu with Mono 5.18 (newest).
Code:
Sub GetLastValue(strRef As String) Dim dblValue as Double dblValue = hs.PluginFunction("Device History", "", "GetLastValue", {strRef}) hs.WriteLog("Device History", "Last value for " & strRef & ": " & dblValue) End Sub
This just results in an error in the log:
Jan-08 19:10:40 | Error | Compiling script /usr/local/HomeSeer/scripts/CreateHSTgraph.vb: http://mono-project.com/Bugs) |
Jan-08 19:10:40 | Error | Compiling script /usr/local/HomeSeer/scripts/CreateHSTgraph.vb: The import 'System.Core' could not be found. |
Running on Ubuntu with Mono 5.18 (newest).
Comment