-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
‘LED intensity’ is not applied #3360
Comments
If CamGainceiling is set too high, you hardly notice the change of LEDIntensity or not at all. Try using CamGainceiling x2 or x4. |
@Ingo-Knito I'm not sure if this was changed recently. Are you sure this was working with 15.7? |
That's what I thought. Hmm. I think you're right. It was probably more of a wish than knowledge. But that also means that the brightness of external LEDs can only be changed after a reboot. |
So no issue |
@Ingo-Knito I made an adjustment, if you want you can test the firmware: https://github.com/SybexX/AI-on-the-edge-device/actions/runs/11544187034 |
Thanks for the test! The FW itself works fine, but I don't see any difference. Has the "Auto-exposure Control" and/or "Auto-exposure Control 2" active or not? How should i see the test? |
The intention was that by changing the LEDIntensity, the brightness of the RGB LED would change. To test it, it's best to go to the configuration page, change the LEDIntensity, save the configuration and use the live stream to see whether the change has taken effect. This should first be used to test the calculation, so you must save the settings after changing the LEDIntensity. |
I've tried the following:
If i now change LED intensity there is no difference between 10 or 99 % |
I still had a calculation error: https://github.com/SybexX/AI-on-the-edge-device/actions/runs/11544187034 |
I tried it, but no difference between 10 and 90 % |
Apparently there are three different WS2812B types, I have now added them to the firmware and to the config page: https://github.com/SybexX/AI-on-the-edge-device/actions/runs/11546717327 |
Many thanks for the update. It is difficult for me to recognise when I should reboot and when not. I assume that the end of the configuration must be followed by a reboot and then the reference image must be relearned. Here I had the effect that I only get a much brighter image after the reboot, but this is not reflected by changing the LED intensity in the reference image, no matter what I set there the image remains the same - but not as bright as the image after the reboot. However, I have set it to the LED type that I have probably installed. At the moment it is not practical to adjust the configuration, then reboot and then adjust the brightness on the reference image. |
Normally the brightness should be applied without a restart, even on the reference image page. |
So that I don't get it wrong: I adjust the LED type in the configuration and go directly to the refimagegdialogue without rebooting? |
The WebUI and the ESP each work independently, the common interface is the config.ini. So far I have only adjusted the camera settings so that a restart is not necessary after a change. This means that if you change the LED type or the RGB values, you have to restart, but not if you change the LED intensity. |
The Problem
The ‘LED intensity’ is not taken over when recording a new reference image on the 'Reference Image and Camera Settings', if external WS2812B-LEDs are connected.
The external LEDs are triggered, as you can see on the image of the water meter, but it seems to be a default.
I can observe this behavior with the RC3 and RC4. It works with the 15.7.
Reproduceable on three devices.
Version
Release: v16.0.0-RC3 (Commit: a0333d9+)
Logfile
Expected Behavior
Adjusting the brightness when adjusting the ‘LED intensity’ parameter
Screenshots
Watermeter 5 %
Watermeter 99 %
Gasmeter 10 %
Gasmeter 99 %
Additional Context
CAM-Settings in the config-file:
[TakeImage]
;RawImagesLocation = /log/source
;RawImagesRetention = 15
WaitBeforeTakingPicture = 5
CamGainceiling = x8
CamQuality = 10
CamBrightness = 0
CamContrast = 0
CamSaturation = 2
CamSharpness = 1
CamAutoSharpness = false
CamSpecialEffect = no_effect
CamWbMode = auto
CamAwb = true
CamAwbGain = true
CamAec = true
CamAec2 = true
CamAeLevel = 1
CamAecValue = 600
CamAgc = true
CamAgcGain = 8
CamBpc = true
CamWpc = true
CamRawGma = true
CamLenc = true
CamHmirror = false
CamVflip = false
CamDcw = true
CamDenoise = 0
CamZoom = true
CamZoomOffsetX = 0
CamZoomOffsetY = 176
CamZoomSize = 13
LEDIntensity = 50
Demo = false
The text was updated successfully, but these errors were encountered: