Hey all, @plaidman took inspiration from a post Xongle did a while back and expanded on it a bit. Install via archive installer, and read the readme for configuration options.
This package includes a script in Tasks to manually change between dark and light mode, with configurable temperature settings.
It also includes an optional automatic temperature adjustment script with configurable time and speed of adjustment.
config file is in SD1/MUOS/task/.daynight/daynight.ini. it’s pretty self-explanatory, but there are details in the readme.
readme: cube-xx/day-night/README.md at main · plaidman/cube-xx · GitHub
pixie version: https://github.com/plaidman/cube-xx/raw/refs/heads/main/day-night/DayNightMode.muxzip
banana version: https://github.com/plaidman/cube-xx/raw/refs/heads/main/day-night/DayNightMode.zip
future plans:
automatic day/night tracking if you have wifi enabled
also change brightness
maybe a UI to edit config values.
I added a simple hotkey toggle to turn day/night mode off, if like me you need to use it for your kids nap time during the day and don’t want to exit your game.
R1+R2+Select = day
R1+R2+Start = night
https://github.com/imantorx/stuff/raw/e13801b357c7c85e3b1d469ea01373d0fa686c1e/DayNightHotkeysV2.muxzip
update for pixie patch 2: https://github.com/imantorx/stuff/raw/refs/heads/main/DayNightHotkeysV2.1.muxzip
*Note * installing this will overwrite any other modifications that have been made to the hotkey files through other scripts or manually.
10 Likes
Hey ! I noticed you’re using a generic icon in your script
May I provide you an icon for your app ? All you’d have to do is to replace # ICON: junk
with a unique name, like daynight
.
Thanks in advance
1 Like
I love the idea of this. Just commenting that hopefully we can get brightness change added also. It’d help a lot!
2 Likes
Hey Jay you can already do brightness with hotkeys. menu key + volume up and down will change it globally!
1 Like
Yeah i know, but would be cool to hit a hot key combo and it goes dim and warm for nightnode. Even cooler if it could also turn off LEDS
Love this app, it is really useful. Thank you!!!
I’m trying to use the hotkey toggle, but it isn’t using the values I set here: SD1/MUOS/task/.daynight/daynight.ini. I have also set automatic to no.
When I use the hotkey toggle it always uses the values that were initially set, the ones that came with the instalation. Maybe I’ve done something wrong…?
When I use the toggle in the Task Toolkit, it uses my values:
I’m using the pixie version and NightHotkeysV2.1.muxzip.
I’ve also installed this Issues with wifi and search in Pixie patch 2 (54c85a0f) - #7 by xonglebongle a few days ago to correct the issue with search.
If someone could help me, I would really appreciate that.
Thanks in advance!
The hotkeys use their own values, its unfortunately seperate from the automatic script. If you want to set those you’ll have to edit the values in the following file either on your device via ssh or in the muxzip before installing it:
/opt/muos/script/mux/hotkey.sh
and the specific one you’re looking for is:
#DAY NIGHT TOGGLE:
DAY) echo 0 > /sys/class/disp/disp/attr/color_temperature ;;
NIGHT) echo 250 > /sys/class/disp/disp/attr/color_temperature ;;
2 Likes
Alright! Thank you very much! 