Hi every one, it’s possible to turn on a personal computer from the vera lite?
I’m not sure but I’d use a wall outlet or appliance switch (basically inline zwave on/off controller). And use that to toggle power. Within the BIOS of computers theres an option on whether to stay off in case of power loss or turn back on.
Not sure if there’s a way to have Vera communicate with a PC (A client of sorts?), which I suspect is what you’re looking for
The generic way though is using wake on lan Wake-on-LAN - Wikipedia
[quote=“syyid, post:2, topic:171455”]I’m not sure but I’d use a wall outlet or appliance switch (basically inline zwave on/off controller). And use that to toggle power. Within the BIOS of computers theres an option on whether to stay off in case of power loss or turn back on.
Not sure if there’s a way to have Vera communicate with a PC (A client of sorts?), which I suspect is what you’re looking for
The generic way though is using wake on lan http://en.wikipedia.org/wiki/Wake-on-LAN[/quote]
I set the BIOS on my computers to turn on when power is restored and then just use any Z-Wave wall outlet or appliance module to turn it on. In order to shut them down remotely, I installed Unified Remote that has an Android app that allows me to do a number of things on them remotely, such as reboot, shutdown, use my tablet or phone as a keyboard/mouse, etc. Each night, I shutdown the PC’s with Unified Remote and then turn the power off to their outlets using Vera. When I initiate the scene to turn things on in the morning, The PC’s automatically boot up. I hope this helps.
Yes as @syyid noted wake on lan is a good way to go. THere is a Wake on lan plug-in for Vera here.
“This plugin creates a device which allows to store ten devices (by mac address) which support wake-on-lan (in example a laptop). The vera is then able to wake (turn on) these devices over your local lan. This can be done by clicking the button in the plugin device or by a scene.”
You can also do it by wiring one of the supported relays (and associated plugin) to the power button!
I use the WOL plugin to wake up (although used to use the BiOS power on after power fail method) and also a scene to shut mine down again afterwards via a socket connection.
I just changed my setup to match this post as it allows a software-only solution to being able to add Windows computer shutdowns to a scene in Vera. I also installed the Wake-on-LAN plugin mentioned above. I changed the LUUP code from the above post to allow me to shutdown multiple machines after a delay as follows:
NOTE: Add a shortcut to the MCE Controller program to Startup on the Windows computer to have it start when Windows starts.
function shutDown(host)
local socket = require("socket")
c = assert(socket.connect(host, 5150))
c:send("shutdown\r")
c:close()
end
luup.call_delay("shutDown", <delay_in_seconds>, "<ip_or_hostname>")
luup.call_delay("shutDown", <delay_in_seconds>, "<ip_or_hostname>")
For example: If I want to shutdown the machine at IP address 10.0.0.34 after 10 seconds, the line above would be:
luup.call_delay("shutDown", 10, "10.0.0.34")
Funny I was trying to find my post earlier and couldn’t find it ![]()
Thkns you all!, this info was very usefull!!
Hi,
For some reason I can’t get MCE Controller to talk to my Vera on port 5150. I’m running UI7. Is it possible that the port has changed? If so, how can I check?
Thanks,
Kevin
[quote=“OtisPresley, post:6, topic:171455”]I just changed my setup to match this post as it allows a software-only solution to being able to add Windows computer shutdowns to a scene in Vera. I also installed the Wake-on-LAN plugin mentioned above. I changed the LUUP code from the above post to allow me to shutdown multiple machines after a delay as follows:
NOTE: Add a shortcut to the MCE Controller program to Startup on the Windows computer to have it start when Windows starts.
function shutDown(host)
local socket = require("socket")
c = assert(socket.connect(host, 5150))
c:send("shutdown\r")
c:close()
end
luup.call_delay("shutDown", <delay_in_seconds>, "<ip_or_hostname>")
luup.call_delay("shutDown", <delay_in_seconds>, "<ip_or_hostname>")
For example: If I want to shutdown the machine at IP address 10.0.0.34 after 10 seconds, the line above would be:
luup.call_delay("shutDown", 10, "10.0.0.34")
Being as you are “Hard Coding” an IP address that is typically associated with a “Dynamic” IP address, meaning that the IP address is subject to change based on the DHCP Server interpretations, I suggest that you go into your DHCP server and “reserve” the MAC address/IP address of the target computer that you are trying to control.
Otherwise, at some point in the future it is possible and very likely that the DHCP server will lease a new and different IP address to your controlled target computer and with the old IP address “Hard Coded” you will no longer be able to control that target computer unless you discover the new IP address of the target computer and then hard code and replace that new IP address into your control code.
Setting the IP address as reserved in the DHCP will help prevent this IP address change.
You can also go into the TCPIP settings on your target computer and set the IP address as static. Just make sure that the IP address you set in TCPIP on the target computer and the IP address that you set in DHCP are the exact same/match.