Comments (6)
Same thing happens to me! Here's text from my log:
`C:\Users\John\Desktop\kelvin-windows-amd64-v0.0.8>kelvin.exe > log.txt
2017/03/29 20:02:05 Kelvin v0.0.8 starting up... 🚀
2017/03/29 20:02:05 Looking for updates...
2017/03/29 20:02:05 ⚙ Configuration config.json loaded
2017/03/29 20:02:05 ⌘ Initializing bridge from configuration
2017/03/29 20:02:05 ⌘ Connection to bridge established
2017/03/29 20:02:05 💡 Devices found on current bridge:
2017/03/29 20:02:05 | Name | ID | Reachable | On | Dimmable | Temperature | Color | Cur. Temp | Cur. Bri |
2017/03/29 20:02:05 | living couch lamp | 4 | true | true | true | true | true | 2314K | 79 |
2017/03/29 20:02:05 | living reading | 5 | true | true | true | true | true | 2314K | 79 |
2017/03/29 20:02:05 | kitchen white | 7 | true | true | true | false | false | - | 79 |
2017/03/29 20:02:05 | living room corner lamp | 9 | true | true | true | true | true | 2314K | 79 |
2017/03/29 20:02:05 | Living Overhead | 10 | true | true | true | true | true | 2314K | 79 |
2017/03/29 20:02:05 | kitchen color | 6 | true | true | true | true | true | 2314K | 79 |
2017/03/29 20:02:05 | Hanging Table | 8 | true | true | true | true | true | 2314K | 79 |
2017/03/29 20:02:05 | John Room | 11 | true | true | true | true | false | 2298K | 79 |
2017/03/29 20:02:05 | Bathroom | 12 | false | true | true | true | false | 2732K | 100 |
2017/03/29 20:02:05 🌍 Working with location: 40.8504, -73.9369 from configuration
2017/03/29 20:02:05 💡 Starting cyclic update for Living Overhead
2017/03/29 20:02:05 Configuring intervals for Wednesday March 29 2017
2017/03/29 20:02:05 Managing lights for interval 20:00 to 22:00
2017/03/29 20:02:05 💡 Starting cyclic update for kitchen color
2017/03/29 20:02:05 💡 Starting cyclic update for kitchen white
2017/03/29 20:02:05 💡 Starting cyclic update for Hanging Table
2017/03/29 20:02:05 💡 Starting cyclic update for living room corner lamp
2017/03/29 20:02:05 💡 Starting cyclic update for John Room
2017/03/29 20:02:05 💡 Starting cyclic update for living couch lamp
2017/03/29 20:02:05 💡 Starting cyclic update for living reading
2017/03/29 20:02:05 💡 Starting cyclic update for Bathroom
2017/03/29 20:02:07 💡 Light Living Overhead just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light kitchen color just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light kitchen white just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light living room corner lamp just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light Hanging Table just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light John Room just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light living reading just appeared. Initializing state to 2295K at 80%
2017/03/29 20:02:07 💡 Light living couch lamp just appeared. Initializing state to 2295K at 80%
panic: runtime error: index out of range
goroutine 44 [running]:
panic(0x692c80, 0x10f3e008)
/home/travis/.gimme/versions/go1.7.4.linux.amd64/src/runtime/panic.go:500 +0x331
main.(*LightState).equals(0x11138264, 0x8fa, 0x7dd8e8, 0x0, 0x0, 0x4f, 0x8fa)
/home/travis/gopath/src/github.com/stefanwichmann/kelvin/lightstate.go:36 +0x233
main.(*Light).update(0x11138230, 0x0, 0x0)
/home/travis/gopath/src/github.com/stefanwichmann/kelvin/light.go:150 +0x470
main.(*Light).updateCyclic(0x11138230, 0x11060840)
/home/travis/gopath/src/github.com/stefanwichmann/kelvin/light.go:71 +0x237
created by main.main
/home/travis/gopath/src/github.com/stefanwichmann/kelvin/kelvin.go:86 +0xc65`
from kelvin.
Thanks for reporting these.
My guess is this happens with lamps only supporting color temperature but no real colors. In this case the lightstate isn't initialized properly.
A fix is on the way...
from kelvin.
I do have two color temp only bulbs so that could definitely be the problem. Let me know when fixed and I'll test for you. Looking forward to an update!
from kelvin.
Ok, after some trouble with travis I finally pushed a new build with a fix. Please feel free to try again.
from kelvin.
downloaded and currently running, no crash, will keep you updated. thanks for the quick fix, looking forward to using it!
from kelvin.
Works for me too, nice work!
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.