Comments (6)
Friendly bump if anyone can help me, the plugin works brilliantly otherwise :)
from homebridge-wol.
Could it be a problem with escaped strings? Try to escape the backslash by writing \\media-pc
instead.
from homebridge-wol.
Thanks, i can confirm in the config.json there are two backslashes \
Here's the error again (note at the bottom it shows the CMD command with \
[5/28/2019, 12:58:18 PM] [Computer] NetworkDevice "Computer" (10.1.1.153) went from status "Online" to "Shutting Down"
[5/28/2019, 12:58:18 PM] [Computer] An error occured while trying to shut down "Computer" (10.1.1.153): Error: Command failed: shutdown /s /m \media-pc -t 0
\media-pc: The network address is invalid.(1707)
at ChildProcess.exithandler (child_process.js:304:12)
at ChildProcess.emit (events.js:196:13)
at maybeClose (internal/child_process.js:1011:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:5) {
killed: false,
code: 1707,
signal: null,
cmd: 'shutdown /s /m \media-pc -t 0'
from homebridge-wol.
Hmmm....i just noticed it here aswell, when i use dual \ it only shows one?
from homebridge-wol.
Could you try four? It's entirely possible that they are interpreted once when I read the config file and once when they are run as a command, meaning it could be interpreted as escaping the letter 'm'.
from homebridge-wol.
Thank you very much!!! It was the four I required and along the way I learnt a bit more about json files which will surely help me in the future
from homebridge-wol.
Related Issues (20)
- Wake on LAN not working W11 HOT 1
- macOS lock HOT 2
- WoL always on, although when the device is off HOT 3
- WOL doesn't work after extended time
- Network Device Ping Status every Time offline
- Settings for mac mini running Monterey
- Sleep-On-LAN (SOL)
- Can't shutdown my computer with the shutdown command
- WOL starts device, but no ping and no Online status HOT 9
- Homebridge running on docker no sambo-common
- Check if Windows PC is sleeping
- Samba Mac
- Ask for wake/start command
- Adding plugin to HomeKit
- ssh keeps asking for passphrase
- Feature Request: Add support for pingsToChange for ping commands HOT 2
- Please add icons if possible HOT 1
- Dont wake after shutdown HOT 15
- Add instruction for Enable Printer and File Sharing W10+ HOT 1
- magic packets sent not waking pc anymore HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-wol.