Skip to content

simple node server running in docker to run WOL and powershell commands on remote pc

Notifications You must be signed in to change notification settings

Snipzwolf/wol-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wol-endpoint

simple node server running in docker to send WOL packets from local machine and run powershell sleep/shutdown commands on remote pc for use with ha-bridge for alexa integration

Example usage (http)

docker run -d --network="host" --restart=always \
	-e LISTEN_IP="127.0.0.1" -e LISTEN_PORT="9000" \
	-e WOL_MAC="xx:xx:xx:xx:xx:xx" -e WOL_BROADCAST_ADDR="x.x.x.x" \
	-e  USE_SSL="0" -e WINRM_USERNAME="some_username" \
	-e WINRM_PASSWORD="a_password" -e WINRM_ENDPOINT="http://x.x.x.x:5985/wsman" \
	--name wol-endpoint snipzwolf/wol-endpoint

Example usage (https)

docker run -d --network="host" --restart=always \
	-e LISTEN_IP="127.0.0.1" -e LISTEN_PORT="9000" \
	-e WOL_MAC="xx:xx:xx:xx:xx:xx" -e WOL_BROADCAST_ADDR="x.x.x.x" \
	-e SSL_PEER_FINGERPRINT="<certificate (thumb/finger)print>" -e WINRM_USERNAME="some_username" \
	-e WINRM_PASSWORD="a_password" -e WINRM_ENDPOINT="https://x.x.x.x:5986/wsman" \
	--name wol-endpoint snipzwolf/wol-endpoint

About

simple node server running in docker to run WOL and powershell commands on remote pc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published