diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.52k stars 274 forks source link

Software Version always resetting #913

Open Pixelramp opened 1 year ago

Pixelramp commented 1 year ago

Issue does not already exist?

I have searched and found no existing issue

Select Environment

Docker

Home Assistant related?

No

Description

Every time the Container gets restarted, the software version resets itself to 19561788040. It also happens on the Hassio addon.

I tried setting the Software Version via the Web app and setting it via the config.yaml.

It's interesting that the config.yaml does not change and stays with the new version.

image image

Errorlog:

Steps to reproduce

Please enter your operating system details here

Ubuntu 22.10 - Docker 24.0.1

What DiyHue version(branch) are you using?

master (latest)

mariusmotea commented 1 year ago

Hi, probably it is a bug. The swversion must be updated only if is a lower number than the one stored in the code.

Pixelramp commented 1 year ago

Okay, but somehow it seems like it doesn't read the version from the config. Philips Hue claims that there is a Firmware Update.

So I need to set the swversion on the Webapp to 1957200040 that the Hue app connects. But if I restart the Container, it's all gone again.

mariusmotea commented 1 year ago

For the moment i changed the initial value to 1957200040, update the docker image to the last version (build take ~10 min). When i will find more free time i will debug why this happened in the first place.