Oleksandr

Results 58 comments of Oleksandr

It seems that, at least for H402, it is possible to somehow cleanly dim TFT backlight brightness without resorting to blending hacks. Somehow the original firmware can do that, therefore,...

> > It seems that, at least for H402, it is possible to somehow cleanly dim TFT backlight brightness without resorting to blending hacks. > > Your pictures show the...

> The H402 actually has a couple transistors, which could be used to pwm control the backlight, on the H401 there is an empty transistor slot. Maybe it's controlled directly...

@kub3let I have analyzed two contacts of the Q1 transistor and got the following results for different brightnesses: Bottom contact and then top right contact: ![20241010_162632](https://github.com/user-attachments/assets/51aff41f-8bae-44c9-9f50-8834ac022712) ![20241010_162831](https://github.com/user-attachments/assets/bfabdc4d-51e6-4aed-b061-dfbf2941d421) 100% brightness ![20241010_162640](https://github.com/user-attachments/assets/19de93a7-c4cf-43ab-8cc1-f133cb748d1c)...

@aly-fly thus, it seems, that they do not PWM the BL, they PWM the ground of the LCDs (if I undestood correctly the purpose and connection of the Q1 transistor).

![20241010_172432](https://github.com/user-attachments/assets/de801a3d-07d1-4c71-8f55-4f415b3da4fb) It seems that PWM-dimming GPIO4 works perfectly. Maybe such approach can be reused with other models. (Although mind the inverting of LOW / HIGH signals for different models)

> +Vsupply --> LED+ --> Backlight --> LED- --> Transistor --> GND That may be the case, because after turning off the displays (by setting GPIO4 to HIGH) and turning...

> no need to reinitialize everything on power on. ~~I did not do this part because I am unsure about state transitions of TFTs when reinit is called, but PWM...

I can confirm that on the latest stable official P1S (and AMS!) firmware both AMS 2 Pro and AMS now report exact percentages: ``` { ... "data": { "config_entry": {...

> These aren't valid humidity percentages: "humidity_raw": "3", "humidity_raw": "1", > > I see temperature is showing up now though - it used to always be zero. @AdrianGarside, they are...