Starlight icon indicating copy to clipboard operation
Starlight copied to clipboard

Can't read ambient light sensor on 2018 MBP 15"

Open antoniogermano opened this issue 5 years ago • 6 comments

Hi, I was testing the app and I absolutely loved it! Thank you very much for it, I'm very happily using it on my 2013 MBP 15" (Mojave 10.14.3 (18D109)).

However, when I tried it on my 2018 MBP 15" (Mojave 10.14.3 (18D109)), it couldn't read the ambient light.

Do you think this might be related to System Integrity Protection? (Just guessing). I had it disabled on the other Mac (but enabled it now). I've never disabled it on the 2018 MBP. Or maybe the T2 chip has something to do with it?

log:

 •• Settings loaded successfully
 •• Settings decoded successfully
 •• Settings checked
 • Rule of sunset to sunrise is: off. Sunrise: 06:01, Sunset: 18:41
" ••• Coult not read ambient light sensor (1)"
 ••• Failed to change the theme of Visual Studio Code
The file “settings.json” couldn’t be opened because there is no such file.

~/.starlight.json (location hidden for privacy)

{
        "intervals":            10,
        "minimumLux":           75000,
        "sunset":               "auto",
        "sunrise":              "auto",
        "location": {
                "latitude":         XX.XXXX,
                "longitude":        -XX.XXXX
        },
        "vscode": {
                "light":            "Light Theme",
                "dark":             "Dark Theme"
        }
}

~/.settings.json

{
        "vscode": {
                "light":            "Light Theme",
                "dark":             "Dark Theme"
        }
}

antoniogermano avatar Feb 24 '19 20:02 antoniogermano