screenBloom icon indicating copy to clipboard operation
screenBloom copied to clipboard

Error On Startup

Open nanospork opened this issue 6 years ago • 3 comments

I'm getting a strange error on startup. If I uninstall and re-install, it fixes it temporarily, but then it comes back later. Not sure if it comes back after restart or just some amount of time (as if an IP address change.)

2017-10-06

edit: Looking at the config file, the "current_preset" key does not have a value corresponding to it. The line just looks like this:

current_preset =

Given the name of the method mentioned in the error above (update_presets_if_necessary) perhaps this is the source of the error?

I confirmed that the issue was not the IP, as the IP in the config matches the IP of my bridge.

If I intentionally corrupt/remove the config file, everything works fine... for now. (Didn't try that before because I didn't know where it was, but I found it.)

nanospork avatar Oct 07 '17 06:10 nanospork

Hey there! It's a problem with the screenBloom_presets.json file. I've noticed this error a few times on my end as well. It happens after an update to your Hue configuration, like adding a new light or switching bridges. ScreenBloom tries its best to update your presets file after changes to your Hue setup but I'm clearly missing something for this error to show up.

In any case, deleting your presets file and starting fresh will solve it. If you still have your presets file, it might help for me to take a look, alongside your config file.

kershner avatar Oct 09 '17 14:10 kershner

JSON: https://pastebin.com/vJ7Pivid

Config: https://pastebin.com/quKZqksr

Deleting presets seemed to make it go away as expected.

nanospork avatar Oct 11 '17 05:10 nanospork

Just Delete all the existing preset and then save with new preset thru Screen-bloom Home Page "192.168.10.126:5000/" then everything will perfectly fine. OR or set the current preset value as "current_preset = Preset 1" in the "screenBloom_config.cfg" file.

hemsan avatar Oct 30 '17 02:10 hemsan