songnon / pi-homekit-switch Goto Github PK
View Code? Open in Web Editor NEWSwitches to reboot/shutdown Raspberry Pi
Switches to reboot/shutdown Raspberry Pi
Excuse me, I got an error when I tried to build. I was using a Raspberry Pi 3B +. Can you help me.
● pihomekit.service
Loaded: loaded (/lib/systemd/system/pihomekit.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-02-10 16:25:46 CST; 5s ago
Process: 1850 ExecStart=/usr/bin/node index.js (code=exited, status=200/CHDIR)
Main PID: 1850 (code=exited, status=200/CHDIR)
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Service RestartSec=100ms expired, scheduling restart.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Scheduled restart job, restart counter is at 5.
2月 10 16:25:46 raspberrypi systemd[1]: Stopped pihomekit.service.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Start request repeated too quickly.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Failed with result 'exit-code'.
2月 10 16:25:46 raspberrypi systemd[1]: Failed to start pihomekit.service.
pi@raspberrypi:~ $ journalctl -u pihomekit -f
-- Logs begin at Thu 2019-02-14 18:11:59 CST. --
2月 10 16:25:46 raspberrypi systemd[1850]: pihomekit.service: Changing to the requested working directory failed: Not a directory
2月 10 16:25:46 raspberrypi systemd[1850]: pihomekit.service: Failed at step CHDIR spawning /usr/bin/node: Not a directory
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Main process exited, code=exited, status=200/CHDIR
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Failed with result 'exit-code'.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Service RestartSec=100ms expired, scheduling restart.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Scheduled restart job, restart counter is at 5.
2月 10 16:25:46 raspberrypi systemd[1]: Stopped pihomekit.service.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Start request repeated too quickly.
2月 10 16:25:46 raspberrypi systemd[1]: pihomekit.service: Failed with result 'exit-code'.
2月 10 16:25:46 raspberrypi systemd[1]: Failed to start pihomekit.service.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.