Originally posted by BigBadBuzz
View Post
Announcement
Collapse
No announcement yet.
Jon00 Homeseer Plugin Enable/Disable utility
Collapse
This topic is closed.
X
This is a sticky topic.
X
X
-
Originally posted by Sanci View PostHi,
I have problem, I tried Version2.
Event disable Modbus plugin, wait 30 sec, enable modbus plugin, wait 30 sec, restart event.
Sometimes work (3x, 4x), and error:
Error in Main Block 3: System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0xb4750b18 + 0x00177> in :0 at System.Net.HttpWebRequest.GetResponse () <0xb474fb70 + 0x0004c> in :0 at scriptcode2.VBWrapper.Main (System.String Parm) <0xb3e24c68 + 0x02acd> in :0
Please help me.
Thanks
Sanci
Comment
-
Originally posted by jon00 View Post
For those of you running this on Linux with the timeout issue shown above, please try version 1.0.6 (on my site) to see if it helps.
Unfortunately, it didn't help.
Error:
Error in Main Block 3: System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0xb5128b18 + 0x00177> in :0 at System.Net.HttpWebRequest.GetResponse () <0xb5127b70 + 0x0004c> in :0 at scriptcode2.VBWrapper.Main (System.String Parm) <0xb3c08000 + 0x02d6d> in :0
Thanks,
Sanci
Comment
-
Originally posted by Sanci View Post
Hi,
Unfortunately, it didn't help.
Error:
Error in Main Block 3: System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0xb5128b18 + 0x00177> in :0 at System.Net.HttpWebRequest.GetResponse () <0xb5127b70 + 0x0004c> in :0 at scriptcode2.VBWrapper.Main (System.String Parm) <0xb3c08000 + 0x02d6d> in :0
Thanks,
Sanci
Open up Jon00Plugin.ini (found in your Config folder) and under the [Settings] heading add:
UseInterface=2
If that also fails, change it to:
UseInterface=3
Hopefully one will work!
Comment
-
Hi all,
I'm trying to use this plugin to restart my arduino plugin (having problems with that one but that's a different story).
Did all the settings as suggested, plugins appear in the selection list. I created an event to stop and start the arduino plugin but it does not seem to work.
Any suggestions?
Comment
-
Any suggestions?
Comment
-
I've been running into some issues with both v1 and V2. They work for most folks so I'm sure it's something with my system, just not sure what other than sheer complexity.
V1
V1 disables the wrong plugin. I have an event that enables the withings plugi, waits 4 minutes, and then disables it. But enable appears to do nothing, and then when the disable fires, it disables the WeatherXML plugin (The one right above it i the plug-in list)
Jun-28 8:54:54 AM Info Plugin weatherXML with instance: has disconnected
Jun-28 8:54:54 AM Plug-In Shutting down Plug-In: weatherXML
Jun-28 8:54:44 AM Event Running script in background: c:/program files (x86)/homeseer hs3/scripts/Jon00PluginSet.vben("Main","Withings;0")
V2 throws an error when trying to set the Enable or Disable device.
Jun-28 8:14:27 AM Jon00_Plugin Error in Main Block 3: System.Net.WebException: The request was aborted: The operation has timed out. at System.Net.HttpWebRequest.GetResponse() at scriptcode15.VBWrapper.Main(String Parm)
System is WIndows 10 Workstation. Dual XEON processors and 64 GB RAM. CPU rarely spikes above 20%.
Any ideas. Should I try UseInterface=2/UseInterface=3 a try. Do i need to restart or can i just re-run the script to load the new ini values?My home is smarter than your honor roll student.
Comment
-
Originally posted by Mr_Resistor View PostUpdate:Yes, enable/disable by number works correctly. Name is more convenient, but this works. I just need to keep track of what Number various plugs are, and when I add/remove, I'll adjust events accordingly.
Thanks.
Specifically, how do I enable/disable by number? I am using the V2 plugin on a HS Ze 2
Thanks in advance.
Comment
-
G'day Jon
I have installed this plugin to troubleshoot a potential problem I am having with another - I'm going to disable and (20 seconds later) re-enable the plugin every few hours.
Worked an absolute treat the first time - BOTH the disable and enable worked fantastic.
Every time thereafter nothing happens and the following error appears in my log:
7/16/2020 8:19:41 PM
Script
Jon00_Plugin
Error in Main Block 3: System.Net.WebException: The operation has timed out. at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in :0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in :0 at scriptcode4.VBWrapper.Main (System.String Parm) [0x00a23] in :0
Running with your V2 plugin with HS4 on Linux
Comment
-
Originally posted by Tillsy View PostWorked an absolute treat the first time - BOTH the disable and enable worked fantastic.
Every time thereafter nothing happens and the following error appears in my log
Comment
Comment