Comments (11)
Hi KevRooster,
have you tried running Kelvin directly from the shell without using systemd? Does it crash there too?
If you can, please run ./kelvin -debug
and paste the output here. Thanks!
from kelvin.
from kelvin.
Thanks for the follow up.
The last line of your output gives a hint to what might be the problem here: Kelvin can't write the changed configuration to disk because of missing permissions.
Could you paste the output of running ls -lha /home/pi/kelvin/config.json
?
I would guess the config belongs to root and your normal user doesn't have the right to write to this file. You can fix this by running chown $USER /home/pi/kelvin/config.json
.
Hope this helps!
from kelvin.
from kelvin.
Ok, the file permissions seem to be ok.
Next we should make sure you are in the correct working directory. Please execute:
cd /home/pi/kelvin/
./kelvin -debug
This should make sure you are really using the config file from /home/pi/kelvin/.
from kelvin.
from kelvin.
This looks much better. So there seems to be a Kelvin configuration file somewhere on your system with the wrong permissions. This file seems to get used if you start Kelvin via systemd.
I just released Kelvin v1.1.8 which will print the absolute paths of the binary and configuration file. This should lead us to the source of the problem.
from kelvin.
from kelvin.
Thanks for updating to the latest version. Now we can identify which configuration file Kelvin wants to write to once it was started via systemd.
Please paste the output of journalctl -u kelvin
and sudo journalctl -u kelvin
. These commands should print the output of the process started by systemd.
from kelvin.
from kelvin.
Sorry, we missed activating the debug output. Please add the -debug
flag to the ExecStart
line inside /etc/systemd/system/kelvin.service
. It should look like this:
ExecStart=/home/pi/kelvin/kelvin -debug
After this exec sudo systemctl restart kelvin
for the changes to take effect. Then we should have another look at the output of journalctl -u kelvin
from kelvin.
Related Issues (20)
- After the Upgrade to v1.3.3, Kelvin No Longer Reacts to Lights Turning On HOT 4
- Push new releases to Docker Hub? HOT 1
- Possible to have defined time take precedence over sunset?
- Daylight Savings Adjustment
- Can't run on mac HOT 2
- How to make Kelvin play nicely with the "Wake up with light" automation? HOT 1
- How to stop Kelvin for disabling when physical lightswitch turned off and on? HOT 5
- How do I change the lights at exactly sunrise and sunset? HOT 1
- Kel
- Auto update to 1.3.5 failing on raspberry pi HOT 2
- Hue API v2 support
- Previous versions were deleted from Docker Hub HOT 1
- 1.3.5 unable to serve GUI HOT 2
- Disable automatic Updates HOT 1
- "enable kelvin" greyed out in dashboard
- Home Assistant OS Plugin HOT 1
- Does not work when bulp is disconected from the power grid
- Half of lights not adjusting when enableWhenLightsAppear = false
- Kelvin only applies defaultBrightness, defaultTemperature and schedules. Nothing else. HOT 3
- Auto update installed bad binary on Raspberry Pi HOT 3
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 kelvin.