That delay is because of the frequency of the ping on the Vera itself. If it catches it at the right time you will not see much lag but if you miss it it needs to wait for the next ping. It is probably set for a minute possibly. I think that is the default.
Looks to be 60 seconds
We are using the same Vera plugin right ?
Yes it is, you can try to lower it but realize it will check at that period 24/7
I’ve set it to 30 seconds as a test, see if that makes things line up a bit quicker.
I’ve added a “Wait Power On” banner now also.
I posted on the Vera forum with some more screen shots:
If I remember correctly when I used iRule, I think had it set up to change the ping period frequency on the fly. For example upon the button press Io turn on my pc I changed the frequency to 5 seconds and once the ping was successful it set it back to 60 seconds. I think I used lua but can’t remember for sure. It was a long time ago.
That’s a good idea if changing the ping period via a LUA HTTP command doesn’t then require a LUUP Engine reload.
I might try that out and let you know.
What was iRule like any good? Its a dead project now right?
OK I’ve tested these HTTP API commands.
Sets a WOLPingPlus devices Period to 5 seconds:
http://192.168.0.12/port_3480/data_request?id=lu_variableset&DeviceNum=38&serviceId=urn:garrettwp-com:serviceId:WOLPlusPing1&Variable=Period&Value=5
Sets a WOLPingPlus devices Period to 60 seconds:
http://192.168.0.12/port_3480/data_request?id=lu_variableset&DeviceNum=38&serviceId=urn:garrettwp-com:serviceId:WOLPlusPing1&Variable=Period&Value=60
I don’t know the best way to send these commands from Home Remote?
Or another way to change Vera device variables from Home Remote?
You could add a HTTP device in Home Remote and add the HTTP Get commands.
Your saying “Upon the button press to turn on my PC”
That power button for me on my custom Kodi web GUI page is the Logitech Harmony Media Center Activity PowerToggle button.
When the Harmony activity is started or turned ON you’d want to send the 5 second ping period command.
And when the ping is successful you’d want to send the 60 second ping period command.
This works for the Power button pressed and sends the 5 seconds Ping Period command.
However it also sets the Ping Period to 5 when pressing the PowerToggle button again to turn off the Harmony activity, so not going to work.
So can a Condition be added? To only send the Ping Period 5 seconds commands when the PowerToggle button is pressed and also only when the Kodi01 WOLPingPlus device in Vera is already OFF ?
I tried adding a Condition and it appears to work. Now when pressing the PowerToggle button again to turn OFF the Harmony activity it does not send the 5 seconds Ping Period command again.
More difficult need to work out how to send the 60 seconds Ping Period command when the WOLPingPlus device in Vera change to the ON status.
Maybe I can use the Label I added earlier in HR that changes to say the text “Ping - Yes” when the WOLPingPlus device in Vera has changed to ON.
Tried this and it does not work.
So I do not know how to send the 60 seconds Ping Period command when the WOLPingPlus device in Vera has changed from OFF to ON ?
I need to get into designer to play out what you are trying to do I will get back to you.
The first part is working OK, when pressing the PowerToggle button for the Harmony HTPC activity, Home Remote sends the HTTP command to Vera to change the Kodi01 WOLPingPlus devices Ping Period to 5 seconds.
The second part - I now need to be able to send the 60 seconds Ping Period HTTP command to Vera when the Kodi01 WOLPingPlus device has changed from OFF to ON.
But I have no idea how to do that in Home Remote, I have tried everything.
“IF” Switch X State changes to ON “THEN” do something - aka send the HTTP command.
I cannot see any way to do IF / THEN actions.
When monitoring the state of a switch ON or OFF and then to send the HTTP command when that switch changes to ON.
Ok, This is how I would handle it I don’t think it will work via Home Remote since data triggers only allow for property changes thru setters. It would work in HR thru a button press event trigger for Off but that’s not what we want.
I would pass the 60 second logic off to Vera. Set up a triggered scene. The trigger being the on state of the ping. Add a few second delay and send the command via lua to set the sensor to 60 seconds.
Also, I think there is a HTTP plugin for Home Remote.
Exactly my problem. You can only set the “Event” of the Event Trigger for a button press not for the state change of a switch device.
I thought the “Loaded” may have done it in the example I posted a screen shot above, but that didn’t work.
I have considered this and it would be easy to do in PLEG. However if I turn on the HTPC by some other means and not via this page in Home Remote, then I am needlessly setting that Ping Period variable to 60 seconds when it will already be set to 60 seconds.
What is the advantage of using the HTTP plugin for Home Remote over what I have just done and created a HTTP device that connects to Vera in Home Remote.
I have considered this and it would be easy to do in PLEG. However if I turn on the HTPC by some other means and not via this page in Home Remote, then I am needlessly setting that Ping Period variable to 60 seconds when it will already be set to 60 seconds.
Set up a second condition in PLEG. A virtual switch that is triggered from the On press in HR. If it is not true PLEG will not send the command.
Bill would be better at explaining the plugins advantages if any. What you have may be fine.
OK I will have a think about it and use what I have setup for a while and see how happy I am with it.
I may not even need to set the Ping Period on the fly, but it would be nice to be able to do it.
The other thing you can do is set the 5 second with the on-press like you are doing and set a delay for the amount of time of your PC’s boot sequence + a few more seconds for good measure and then send the 60-second command. There is a new scene feature in Home Remote that should handle this.
Ok, Under further investigation. I do believe this can be handled in Home Remote thru the new scene feature. Download the sample project from
It should layout the framework for you.
A delay may work.
Its the Clicked Event on the EventTrigger for the Power button, that sends the HTTP command to Vera for 5 second Ping Period variable change on the PingWOLPlus device.
I can add a Delay in to that existing EventTrigger for say 1 minute and then send the second HTTP command to Vera to set the Ping Period back to 60 seconds on the PingWOLPlus device.
I’ve not used Scenes yet in Home Remote.