I have successfully set up Balena-dash on my official Raspberry Pi 7" display and have been able to give it a custom URL pointing to my Home Assistant interface.
Is it possible to turn the display on and off via a command from my local network (via ssh) for a quick response please? I have a motion sensor linked into Home Assistant and would like to use this to send a command that turns the display on when I walk into the room, and then another off command when no motion is detected.
I currently do this using a HyperPixel 4.0 display which works really well, but I’d like to upgrade to the larger 7" display using Balena-dash instead. Being able to turn the display on and off is key for use with this project.
I have found the following commands that may work but I’m not sure how to check if this path exists within the custom build?
sudo sh -c 'echo "1" > /sys/class/backlight/rpi_backlight/bl_power' sudo sh -c 'echo "0" > /sys/class/backlight/rpi_backlight/bl_power'