I've written a vb script using Newtonsoft.Json that runs fine under tenScripting3 but when I move it to the scripts directory on the Zee S2 it fails to compile with "Compiling script /usr/local/HomeSeer/scripts/BEBScripts.vb: The import 'Newtonsoft.Json' could not be found."
I added "ScriptingReferences=System.XML;System.XML.dll,System.Data;S ystem.Data.Dll,System.Web;System.Web.dll,System.Web.DataVisu alization;System.Web.DataVisualization.dll,System.Drawing;Sy stem.Drawing.dll;Newtonsoft.Json;bin\homeseer\Newtonsoft.Jso n.dll" to settings.ini in the Config folder but that did not change the message.
I then copied the Newtonsoft.Json.dll to the homeseer directory and took the path off that configuration line but still get the same message.
Then when I restarted homeseer on the Zee I saw that the changes to settings.ini have been lost. No ScriptingReferences line is there at all, even though WinSCP definitely shows me the updated version before I restart. Every time I restart homeseer the ScriptingReferences line is removed from settings.ini.
I'm now suspecting the problem is actually that I'm somehow not updating the settings.ini file correctly.
Any ideas?
I added "ScriptingReferences=System.XML;System.XML.dll,System.Data;S ystem.Data.Dll,System.Web;System.Web.dll,System.Web.DataVisu alization;System.Web.DataVisualization.dll,System.Drawing;Sy stem.Drawing.dll;Newtonsoft.Json;bin\homeseer\Newtonsoft.Jso n.dll" to settings.ini in the Config folder but that did not change the message.
I then copied the Newtonsoft.Json.dll to the homeseer directory and took the path off that configuration line but still get the same message.
Then when I restarted homeseer on the Zee I saw that the changes to settings.ini have been lost. No ScriptingReferences line is there at all, even though WinSCP definitely shows me the updated version before I restart. Every time I restart homeseer the ScriptingReferences line is removed from settings.ini.
I'm now suspecting the problem is actually that I'm somehow not updating the settings.ini file correctly.
Any ideas?
Comment