0.3.47 • Published 9 years ago
homebridge-winpc v0.3.47
homebridge-winpc
Homebridge module for the windows PC (using WOL and Airytec Switch Off)
Description
This plugin is basically a modification of homebridge-http. Main difference is:
- Ability to poll every 5 min a WindowsPC
- Ability to sent a WakeOnLan request
- Ability to sent on OFF command to a WindowsPC (provided Airytec Switch Off is running in service mode and active)
- If no answer is received, the power state is set to false
- If any answer is received, the power state is set to true
Installation
- Install homebridge using: npm install -g homebridge
- Install this plugin using: npm install -g homebridge-philipswinpc
- Update your configuration file. See the sample below.
Configuration
Example accessory config (needs to be added to the homebridge config.json):
"accessories": [
{
"accessory": "WinPC",
"name": "My Windows PC",
"http_method": "GET",
"on_url": "wol://40:39:51:04:99:c0",
"off_url": "http://10.0.1.23:7878/?action=System.Shutdown",
"status_url": "http://10.0.1.23:7878/",
"sendimmediately": "yes",
"poll_status_interval": "60",
"username" : "User",
"password" : "password",
"powerstateOnError" : "0",
"powerstateOnConnect" : "1"
}
]
Or:
"accessories": [
{
"accessory": "WinPC",
"name": "My Windows PC",
"http_method": "GET",
"on_url": "wol://40:39:51:04:99:c0?ip=10.0.1.23",
"off_url": "http://10.0.1.23:7878/?action=System.Shutdown",
"status_url": "http://10.0.1.23:7878/",
"sendimmediately": "yes",
"poll_status_interval": "60",
"username" : "User",
"password" : "password",
"powerstateOnError" : "0",
"powerstateOnConnect" : "1"
}
]
0.3.47
9 years ago
0.3.46
9 years ago
0.3.45
9 years ago
0.3.44
9 years ago
0.3.43
9 years ago
0.3.42
9 years ago
0.3.41
9 years ago
0.3.40
9 years ago
0.3.39
9 years ago
0.3.38
9 years ago
0.3.37
9 years ago
0.3.36
9 years ago
0.3.35
9 years ago
0.3.34
9 years ago
0.3.33
9 years ago
0.3.32
9 years ago
0.3.31
9 years ago
0.3.30
9 years ago
0.3.29
9 years ago
0.3.28
9 years ago
0.3.27
9 years ago
0.3.26
9 years ago
0.3.25
9 years ago
0.3.24
9 years ago
0.3.23
9 years ago
0.3.22
9 years ago
0.3.21
9 years ago
0.3.20
9 years ago
0.3.18
9 years ago
0.3.17
9 years ago
0.3.16
9 years ago
0.3.12
9 years ago
0.3.11
9 years ago
0.3.10
9 years ago
0.3.9
9 years ago
0.3.8
9 years ago
0.3.7
9 years ago
0.3.6
9 years ago
0.3.5
9 years ago
0.3.4
9 years ago
0.3.3
9 years ago
0.3.2
9 years ago
0.3.1
9 years ago
0.3.0
9 years ago
0.2.0
9 years ago
0.1.0
9 years ago