-
|
For a couple of years Ive had the latest version of openhasp flashed on my sensecap d1 with the mqtt buttons and the dimming of screen working after 4 seconds working successfully. however when playing with trying to 'fade out' the screen rather than immediately dimming, ive lost the ability to to have it fade out at all. It was previously working with no GPIO pin selected in the display settings, but now after trying that (and all other pin options) and having the web menu set to short idle 4 and long idle 9. I set these options, save settings and reboot and does not dim at all. I suspect it could be related to my code (which is below) but when i try and change bcklinv to say 10, it just goes back to 0 after a reboot.
I have the following files on my openhasp: I find it strange how it was working previously, but not working anymore with the same settings. Ive also tried to force it via MQTT commands but they're not working to dim the screen either. Have also turned off my Home Assistant to confirm its abolsutely sending nothing to my device to interfere with it... Happy to provide any other info but at a real loss to understand what's going on here, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
I forgot to say also, I'm not getting anywhere with toggling the dimming options within the openhasp integration within HA, and no success from following a couple of other device solutions which I've seen elsewhere in here |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I think I'm pretty close now actually. i reboot and the screen is now off. Ive made some cmd files and uploaded them: idle_short which contains now when i touch the screen (it boots with screen off which is ok) it flicks on screen for like a quarter of a second, then off, but when i touch it again it stays on for the required 3 seconds, and can use as i want to. But every other touch, it does this quarter of a second on/off thing and the next touch works fine... my gui settings for openhasp via web menu is 'idle short' = 3, and 'idle long' = 3 too. Terminal logs as follows: |
Beta Was this translation helpful? Give feedback.

Ive actually solved this! I made idle_off.cmd note backlight 100.