Originally posted by jon00
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
-
-
Unfortunately there is no standard and some plugins now have two lines in the config page to control/setup a single plugin.
I compensated for this in the last build to help someone out. This it is now causing an issue for remote plugins (which also have the same name) hence the script has skipped these as it thinks it is a double line plugin.
Leave a comment:
-
Guest repliedOk,
Thanks for looking into it. I see your point about counting the list, not the most convenient if you add/delete plugins. Right now I am just using the name below the one I need to disable/enable and it works.
Leave a comment:
-
Not an easy one to solve unfortunately. I may have to add an option where you have to physically count where the plugin is on the list and use that number. The problem is that if you add another plugin, you will have to adjust if necessary.
Leave a comment:
-
Guest repliedMultiple Instances of Plugin
Jon,
Thanks for the great work. I have noticed that if you have multiple instances of a plugin and you try to disable/enable a plugin after the multiple instance plugin, it will disable the wrong one. For example, I use a DirecTv plugin and it has two instances running, one for each room. The script will disable/enable the plugin before the plugin I am trying to control. If I delete the multiple instance, it works as planned. Any thoughts?
Leave a comment:
-
After working with Zac, I've identified the issue and have released V1.0.2 on my site.
Leave a comment:
-
I don't know. I downloaded the plugin and tried it here....works fine:
Code:Aug-27 16:10:25 Info Plugin ThinkingCleaner with instance: has disconnected Aug-27 16:10:25 Plug-In Shutting down Plug-In: ThinkingCleaner Aug-27 16:10:25 Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00PluginSet.vben("Main","ThinkingCleaner;0") Aug-27 16:10:25 Event Event Trigger "Test PluginSet" Aug-27 16:10:25 Event Event Test PluginSet triggered by the event page 'Run' button. Aug-27 16:09:50 Plug-In Finished initializing plug-in ThinkingCleaner Aug-27 16:09:50 ThinkingCleaner DEBUG1: GetLogLevel: Entered function Aug-27 16:09:49 Info Plugin ThinkingCleaner has connected. IP:127.0.0.1:2529 Aug-27 16:09:49 Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00PluginSet.vben("Main","ThinkingCleaner;1")
Leave a comment:
-
Leave a comment:
-
Look at the plugin page. When you enable/disable the plugin manually, is the plugin text name exactly the same for both?
Leave a comment:
-
Tried a few minutes, it just doesn't seem to see the name of the plugin while it's disabled, which is weird.
Leave a comment:
-
It looks OK. Just wondering if you have you tried a duration longer than 20 seconds between stopping and starting? Some plugins take longer than others to stop/start.
Leave a comment:
-
Can you please post screen shots of the stop & start run script event actions you are using.
Leave a comment:
Leave a comment: