macmade / Sensors

A macOS application displaying the thermal, voltage and current sensor values.
https://xs-labs.com/en/apps/sensors/
MIT License
126 stars 4 forks source link

[feature request] ambient sensor #2

Open Tone866 opened 1 year ago

Tone866 commented 1 year ago

Would it be possible to add the ambient sensor as well? Thanks!

macmade commented 1 year ago

I’ll see what I can do

macmade commented 1 year ago

I've been experimenting a bit with ambiant light sensors.
You can try version 1.2.0:

https://github.com/macmade/Sensors/releases/tag/1.2.0

On my machine (MacBook Air M2), I got a sensor reacting to the ambiant light.

Tone866 commented 1 year ago

Hmm, I can see the checkbox, but no graph for it. I'm using an Intel MacBook Air 2020.

macmade commented 1 year ago

OK, I haven't been able to test on an Intel machine yet.

If possible, can you use the following software so I can see the available keys on your SMC?
https://github.com/macmade/SMC-Reader

File > Export Dump File...
Tone866 commented 1 year ago

Yes, here is the output:

################################################################################################################################
# smc-dump
# 
# Date:                     2023-02-14T20:36:58Z
# System Version:           Version 13.2 (Build 22D49)
# Model Name:               MacBook Air
# Model Identifier:         MacBookAir9,1
# Total Number of Cores:    4
# Memory:                   8 GB
################################################################################################################################
#KEY    ui32    4 bytes     787                                 13030000
AC-B    si8     1 byte      -1                                  FF
AC-C    flag    1 byte      False                               00
AC-h    ui8     1 byte      1                                   01
AC-I    ui16    2 bytes     1                                   0100
AC-i    ui16    2 bytes     0                                   0000
AC-J    ui16    2 bytes     0                                   0000
AC-l    ui8     1 byte      0                                   00
AC-M    hex_    2 bytes                                         0202
AC-m    ui16    2 bytes     0                                   0000
AC-N    ui8     1 byte      2                                   02
AC-n    ui16    2 bytes     0                                   0000
AC-P    ui8     1 byte      0                                   00
AC-p    ui8     1 byte      0                                   00
AC-Q    ui8     1 byte      0                                   00
AC-R    ui8     1 byte      0                                   00
AC-S    flag    1 byte      True                                01
AC-s    ui16    2 bytes     0                                   0000
AC-T    ui8     1 byte      0                                   00
AC-t    ui16    2 bytes     0                                   0000
AC-U    flag    1 byte      False                               00
AC-W    si8     1 byte      -1                                  FF
AC-w    ui32    4 bytes     0                                   00000000
AC-x    ui16    2 bytes     0                                   0000
ACDI    ui16    2 bytes     0                                   0000
ACEN    ui8     1 byte      1                                   01
ACFP    flag    1 byte      False                               00
ACIC    ui16    2 bytes     0                                   0000
ACKL    hex_    1 byte                                          00
ACKS    hex_    2 bytes                                         0000
ACLM    ui16    2 bytes     3000                                B80B
ACPW    ui32    4 bytes     0                                   00000000
ACSt    hex_    4 bytes                                         00000047
ACTL    ui8     1 byte      0                                   00
ACVM    flag    1 byte      True                                01
ACVS    ui8     1 byte      0                                   00
ADC0    ui16    2 bytes     0                                   0000
ADC1    ui16    2 bytes     0                                   0000
ADC2    ui16    2 bytes     3575                                F70D
ADC3    ui16    2 bytes     237                                 ED00
ADC4    ui16    2 bytes     890                                 7A03
ADC5    ui16    2 bytes     1                                   0100
ADC6    ui16    2 bytes     0                                   0000
ADC7    ui16    2 bytes     3                                   0300
ADC8    ui16    2 bytes     6                                   0600
ADC9    ui16    2 bytes     7                                   0700
ADCa    ui16    2 bytes     7                                   0700
ADCb    ui16    2 bytes     7                                   0700
ADCc    ui16    2 bytes     7                                   0700
ADCd    ui16    2 bytes     3919                                4F0F
ADCE    ui32    4 bytes     1                                   01000000
ADCe    ui16    2 bytes     3812                                E40E
ADCf    ui16    2 bytes     3760                                B00E
ADCg    ui16    2 bytes     1814                                1607
ADCh    ui16    2 bytes     832                                 4003
ADCi    ui16    2 bytes     690                                 B202
ADCj    ui16    2 bytes     579                                 4302
ADCk    ui16    2 bytes     498                                 F201
ADCl    ui16    2 bytes     441                                 B901
ADCm    ui16    2 bytes     397                                 8D01
ADCn    ui16    2 bytes     361                                 6901
AOPs    ui16    2 bytes     8448                                0021
AUDC    ui16    2 bytes     1852                                3C07
AUDS    ui8     1 byte      255                                 FF
AUPO    ui8     1 byte      0                                   00
B0AC    si16    2 bytes     -725                                2BFD
B0AG    hex_    8 bytes                                         013AFD0F00041101
B0Al    ui16    2 bytes     65535                               FFFF
B0Am    ui8     1 byte      16                                  10
B0AP    flt     4 bytes     9.07                                4111327C
B0Ar    ui8     1 byte      0                                   00
B0As    ui8     1 byte      0                                   00
B0At    ui16    2 bytes     2400                                6009
B0Au    ui16    2 bytes     2400                                6009
B0AV    ui16    2 bytes     12517                               E530
B0BI    hex_    1 byte                                          11
B0CI    hex_    2 bytes                                         4218
B0CT    ui16    2 bytes     54                                  3600
B0DC    ui16    2 bytes     7441                                111D
B0FC    ui16    2 bytes     4101                                0510
B0FG    hex_    8 bytes                                         0000000001380001
B0FH    hex_    8 bytes                                         000000007FF80201
B0FI    hex_    2 bytes                                         00C0
B0IV    si16    2 bytes     4093                                FD0F
B0LI    ui16    2 bytes     32767                               FF7F
B0MI    ui16    2 bytes     3072                                000C
B0OS    hex_    2 bytes                                         43E4
B0PS    hex_    2 bytes                                         0000
B0R1    hex_    32 bytes                                        1E023001B500890085007B007B007600720066008D00810072006C00A0000000
B0R2    hex_    32 bytes                                        95011F01AB008A007E007400990083007E0072009C008E007A007100A4005500
B0R3    hex_    32 bytes                                        B4012301AE00890086008700A1009E0092007D00A700960089007F00BD005500
B0RC    ui16    2 bytes     33280                               0082
B0RI    ui16    2 bytes     3285                                D50C
B0RM    ui16    2 bytes     3945                                690F
B0RS    ui16    2 bytes     130                                 8200
B0RV    ui16    2 bytes     13038                               EE32
B0St    hex_    2 bytes                                         C000
B0TE    ui16    2 bytes     14849                               013A
B0TF    ui16    2 bytes     65535                               FFFF
BALG    ui8     1 byte      0                                   00
BAST    hex_    16 bytes                                        0000000B0200E4430000000000000000
BATP    flag    1 byte      True                                01
BBAD    flag    1 byte      False                               00
BBIF    ui8     1 byte      64                                  40
BBIN    flag    1 byte      True                                01
BC1V    ui16    2 bytes     4185                                5910
BC2V    ui16    2 bytes     4172                                4C10
BC3V    ui16    2 bytes     4160                                4010
BCF0    flag    1 byte      False                               00
BCFO    ui8     1 byte      0                                   00
BCFP    ui32    4 bytes     0                                   00000000
BCFR    hex_    1 byte                                          00
BCLM    ui8     1 byte      100                                 64
BCMV    ui16    2 bytes     4185                                5910
BCMW    ui16    2 bytes     4160                                4010
BCTB    si16    2 bytes     1583                                2F06
BCTC    si16    2 bytes     1472                                C005
BCTF    ui8     1 byte      0                                   00
BCTL    flt     4 bytes     1.00                                3F800000
BCTP    flt     4 bytes     28.48                               41E3D70A
BCTS    ui8     1 byte      1                                   01
BCTW    ui8     1 byte      0                                   00
BDD1    ui8     1 byte      4                                   04
BDD2    ui8     1 byte      4                                   04
BDD3    ui8     1 byte      4                                   04
BDVT    ui8     1 byte      0                                   00
BEMB    flag    1 byte      True                                01
BFC1    ui16    2 bytes     4880                                1013
BFC2    ui16    2 bytes     1296                                1005
BFCT    ui16    2 bytes     0                                   0000
BFLO    ui8     1 byte      0                                   00
BFWC    ui16    2 bytes     5129                                0914
BIMX    ui16    2 bytes     9298                                5224
BIPD    ui16    2 bytes     0                                   0000
BITV    ui16    2 bytes     0                                   0000
BLTA    si8     1 byte      0                                   00
BLTO    ui32    4 bytes     845676544                           00006832
BLTP    hex_    16 bytes                                        000000000000000E00000A6600000009
BMDT    ch8*    7 bytes     280219.                             00393132303832
BNCB    ui8     1 byte      3                                   03
BNCR    ui8     1 byte      1                                   01
BNum    ui8     1 byte      1                                   01
BQCC    si16    2 bytes     68                                  4400
BQD1    ui16    2 bytes     592                                 5002
BQD2    ui16    2 bytes     616                                 6802
BQD3    ui16    2 bytes     624                                 7002
BQX1    ui16    2 bytes     4410                                3A11
BQX2    ui16    2 bytes     4386                                2211
BQX3    ui16    2 bytes     4378                                1A11
BROS    ui16    2 bytes     150                                 9600
BRSC    ui16    2 bytes     97                                  6100
BRTC    ui8     1 byte      27                                  1B
BRTE    ui8     1 byte      0                                   00
BRTG    ui8     1 byte      15                                  0F
BRTH    si8     1 byte      5                                   05
BRTM    si8     1 byte      -1                                  FF
BRTP    ui16    2 bytes     0                                   0000
BSAC    hex_    1 byte                                          20
BSIn    hex_    1 byte                                          C0
BSLP    ui8     1 byte      0                                   00
BSSA    ui16    2 bytes     273                                 1101
BSSC    ui16    2 bytes     1024                                0004
BTFU    flag    1 byte      False                               00
BTIL    ui16    2 bytes     1472                                C005
BTTI    ui8     1 byte      2                                   02
BTVI    ui8     1 byte      3                                   03
BTVS    fp1f    2 bytes                                         2E7B
Bvt0    ui8     1 byte      1                                   01
Bvt1    ui32    4 bytes     845676544                           00006832
Bvt2    flt     4 bytes     0.52                                3F04AAD2
Bvt3    flt     4 bytes     0.52                                3F04AAD2
Bvt4    flt     4 bytes     -0.21                               BE5B0F98
Bvt5    flt     4 bytes     0.00                                00000000
Bvt6    flt     4 bytes     0.00                                3B831000
Bvt7    flt     4 bytes     4.35                                408B126F
Bvt8    flt     4 bytes     4.35                                408B126F
Bvt9    ui8     1 byte      0                                   00
Bvta    hex_    16 bytes                                        000000000000000E00000A6600000009
Bvtb    ui32    4 bytes     0                                   00000000
BVVL    ui16    2 bytes     64016                               10FA
BVVN    ui16    2 bytes     65040                               10FE
BVVO    ui16    2 bytes     65040                               10FE
BVVP    ui16    2 bytes     65040                               10FE
BVVQ    ui16    2 bytes     64016                               10FA
BVVR    ui16    2 bytes     64016                               10FA
BWLM    ui8     1 byte      0                                   00
CH0B    hex_    1 byte                                          00
CH0H    ui32    4 bytes     0                                   00000000
CH0K    flag    1 byte      False                               00
CHBI    ui16    2 bytes     0                                   0000
CHBV    ui16    2 bytes     13038                               EE32
CHCC    flag    1 byte      False                               00
CHCE    flag    1 byte      False                               00
CHCR    flag    1 byte      False                               00
CHGC    ui16    2 bytes     7176                                081C
CHGI    ui16    2 bytes     736                                 E002
CHGV    ui16    2 bytes     13036                               EC32
CHII    ui16    2 bytes     0                                   0000
CHIM    flag    1 byte      True                                01
CHIT    ui16    2 bytes     0                                   0000
CHNC    ui8     1 byte      1                                   01
CLKA    ui32    4 bytes     4294967295                          FFFFFFFF
CLKL    hex_    6 bytes                                         00DE38E67B82
CLKM    hex_    6 bytes                                         00DE392A8005
CLKO    hex_    6 bytes                                         3117BF4A4E95
CLKR    ui32    4 bytes     8388608                             00008000
CLSD    ui16    2 bytes     65535                               FFFF
CLTD    flag    1 byte      False                               00
CLWK    ui16    2 bytes     22971                               BB59
CPL1    flt     4 bytes     0.00                                00000000
CPL2    flt     4 bytes     0.00                                00000000
CPPL    sp87    2 bytes                                         0005
CPTX    sp78    2 bytes     100.00                              0064
D1Ac    hex_    4 bytes                                         96580243
D1Au    ui8     1 byte      0                                   00
D1BD    ui32    4 bytes     10                                  0A000000
D1BI    ui16    2 bytes     0                                   0000
D1CA    ui16    2 bytes     0                                   0000
D1Ca    ui8     1 byte      0                                   00
D1Cb    ui8     1 byte      0                                   00
D1Cc    ui16    2 bytes     0                                   0000
D1CD    ui16    2 bytes     256                                 0001
D1CF    ui16    2 bytes     0                                   0000
D1Cf    ui16    2 bytes     0                                   0000
D1Ci    ui16    2 bytes     0                                   0000
D1Cm    ui16    2 bytes     1                                   0100
D1Cn    ui16    2 bytes     0                                   0000
D1CR    ui16    2 bytes     1                                   0100
D1Cr    ui16    2 bytes     0                                   0000
D1Cs    ui16    2 bytes     0                                   0000
D1Cv    ui16    2 bytes     0                                   0000
D1Cw    ui16    2 bytes     0                                   0000
D1DA    hex_    2 bytes                                         7000
D1DE    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D1DI    ui8     1 byte      2                                   02
D1DP    hex_    8 bytes                                         0000000000000000
D1Dp    flag    1 byte      False                               00
D1DR    flag    1 byte      True                                01
D1EC    ui8     1 byte      0                                   00
D1EF    hex_    4 bytes                                         00000000
D1Ep    flag    1 byte      True                                01
D1FC    ui32    4 bytes     0                                   00000000
D1FS    hex_    1 byte                                          00
D1FV    hex_    4 bytes                                         00992000
D1IC    ui16    2 bytes     65535                               FFFF
D1if    ch8*    12 bytes    ............                        000000000000000000000000
D1ih    ch8*    12 bytes    ............                        000000000000000000000000
D1ii    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D1im    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D1in    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D1IR    ui16    2 bytes     0                                   0000
D1is    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D1JA    ui32    4 bytes     1276968960                          00001D4C
D1JB    ui32    4 bytes     1276968960                          00001D4C
D1JD    {jst    21 bytes                                        0000001D4C000000001D4C1D4C00001D4C00001D4C
D1JI    flt     4 bytes     0.00                                00000000
D1JR    si32    4 bytes     1276968960                          00001D4C
D1JS    si32    4 bytes     1276968960                          00001D4C
D1JV    flt     4 bytes     0.00                                00000000
D1LR    ui8     1 byte      1                                   01
D1MI    ui16    2 bytes     0                                   0000
D1MP    ui32    4 bytes     0                                   00000000
D1MV    ui16    2 bytes     0                                   0000
D1Pd    hex_    2 bytes                                         0000
D1PI    si8     1 byte      -1                                  FF
D1PR    ui8     1 byte      0                                   00
D1PS    ui8     1 byte      0                                   00
D1PT    ui8     1 byte      0                                   00
D1Rc    ui32    4 bytes     0                                   00000000
D1ST    ui8     1 byte      0                                   00
D1St    hex_    2 bytes                                         0000
D1Vb    ui8     1 byte      0                                   00
D1VC    ui16    2 bytes     0                                   0000
D1VD    flt     4 bytes     0.00                                00000000
D1Vd    hex_    2 bytes                                         0000
D1VM    ui16    2 bytes     0                                   0000
D1Vm    ui8     1 byte      0                                   00
D1VR    ui16    2 bytes     0                                   0000
D1VX    ui16    2 bytes     0                                   0000
D2Ac    hex_    4 bytes                                         00000000
D2Au    ui8     1 byte      0                                   00
D2BD    ui8     1 byte      0                                   00
D2BI    ui16    2 bytes     0                                   0000
D2CA    ui16    2 bytes     0                                   0000
D2Ca    ui8     1 byte      0                                   00
D2Cb    ui8     1 byte      0                                   00
D2Cc    ui16    2 bytes     0                                   0000
D2CD    ui16    2 bytes     0                                   0000
D2CF    ui16    2 bytes     0                                   0000
D2Cf    ui16    2 bytes     0                                   0000
D2Ci    ui16    2 bytes     0                                   0000
D2Cm    ui16    2 bytes     1                                   0100
D2Cn    ui16    2 bytes     0                                   0000
D2CR    ui16    2 bytes     0                                   0000
D2Cr    ui16    2 bytes     0                                   0000
D2Cs    ui16    2 bytes     0                                   0000
D2Cv    ui16    2 bytes     0                                   0000
D2Cw    ui16    2 bytes     0                                   0000
D2DA    hex_    2 bytes                                         7E00
D2DE    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D2DI    ui8     1 byte      2                                   02
D2DP    hex_    8 bytes                                         0000000000000000
D2Dp    flag    1 byte      False                               00
D2DR    flag    1 byte      True                                01
D2EC    ui8     1 byte      0                                   00
D2EF    hex_    4 bytes                                         00000000
D2Ep    flag    1 byte      False                               00
D2FC    ui32    4 bytes     0                                   00000000
D2FS    hex_    1 byte                                          00
D2FV    hex_    4 bytes                                         00992000
D2IC    ui16    2 bytes     65535                               FFFF
D2if    ch8*    12 bytes    ............                        000000000000000000000000
D2ih    ch8*    12 bytes    ............                        000000000000000000000000
D2ii    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D2im    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D2in    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D2IR    ui16    2 bytes     0                                   0000
D2is    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
D2JA    ui32    4 bytes     1276968960                          00001D4C
D2JB    ui32    4 bytes     1276968960                          00001D4C
D2JD    {jst    21 bytes                                        0000001D4C000000001D4C1D4C0000000000000000
D2JI    flt     4 bytes     0.00                                00000000
D2JR    si32    4 bytes     1276968960                          00001D4C
D2JS    si32    4 bytes     1276968960                          00001D4C
D2JV    flt     4 bytes     0.00                                00000000
D2LR    ui8     1 byte      1                                   01
D2MI    ui16    2 bytes     0                                   0000
D2MP    ui32    4 bytes     0                                   00000000
D2MV    ui16    2 bytes     0                                   0000
D2Pd    hex_    2 bytes                                         0000
D2PI    si8     1 byte      0                                   00
D2PR    ui8     1 byte      0                                   00
D2PS    ui8     1 byte      0                                   00
D2PT    ui8     1 byte      0                                   00
D2Rc    ui32    4 bytes     0                                   00000000
D2ST    ui8     1 byte      0                                   00
D2St    hex_    2 bytes                                         0000
D2Vb    ui8     1 byte      0                                   00
D2VC    ui16    2 bytes     0                                   0000
D2VD    flt     4 bytes     0.00                                00000000
D2Vd    hex_    2 bytes                                         0000
D2VM    ui16    2 bytes     0                                   0000
D2Vm    ui8     1 byte      0                                   00
D2VR    ui16    2 bytes     0                                   0000
D2VX    ui16    2 bytes     0                                   0000
DBTE    ui8     1 byte      1                                   01
DICT    flag    1 byte      False                               00
DSAS    ui8     1 byte      0                                   00
DULT    ui8     1 byte      70                                  46
DUST    ui8     1 byte      0                                   00
DUTC    flag    1 byte      False                               00
DUTT    ui8     1 byte      45                                  2D
EFBI    hex_    4 bytes                                         00000000
EFBM    ui8     1 byte      0                                   00
EFBP    ui8     1 byte      0                                   00
EFMU    hex_    16 bytes                                        669A42B5F66E6C90D84DF4472CA0A017
EFMV    hex_    32 bytes                                        0000000000000000000000000000000000000BE5000000100000001400000101
EFRO    hex_    16 bytes                                        6D1255E8E632D8B28D424EB106509191
EFSR    ui8     1 byte      0                                   00
ERCE    flag    1 byte      False                               00
ERCR    ui16    2 bytes     1                                   0100
ERCS    flag    1 byte      False                               00
EVPF    hex_    13 bytes                                        00000000000000000000000800
F0Ac    flt     4 bytes     2732.61                             452AC9D2
F0Dc    flt     4 bytes     0.20                                3E49DA70
F0Fb    ui8     1 byte      1                                   01
F0Fc    ui16    2 bytes     5                                   0500
F0Md    ui8     1 byte      0                                   00
F0Mn    flt     4 bytes     2700.00                             4528C000
F0Mx    flt     4 bytes     8000.00                             45FA0000
F0Sf    ui16    2 bytes     0                                   0000
F0St    ui8     1 byte      5                                   05
F0Tg    flt     4 bytes     2700.00                             4528C000
FAC0    ui8     1 byte      0                                   00
FAC1    ui8     1 byte      0                                   00
FAC2    ui8     1 byte      0                                   00
FAC3    ui8     1 byte      0                                   00
FBAD    hex_    4 bytes                                         00000000
FNum    ui8     1 byte      1                                   01
FOFC    ui32    4 bytes     1                                   01000000
FOff    ui8     1 byte      1                                   01
FRmp    ui16    2 bytes     0                                   0000
HBKP    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
HBKT    ui32    4 bytes     345600                              00460500
HBKU    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000000000000000
HC0N    ui8     1 byte      4                                   04
HC0T    ui8     1 byte      24                                  18
HI0N    ui8     1 byte      16                                  10
HI0T    ui8     1 byte      0                                   00
HI1N    ui8     1 byte      16                                  10
HI1T    ui8     1 byte      0                                   00
HNVD    ui16    2 bytes     0                                   0000
hSdn    flt     4 bytes     0.00                                00000000
hSta    hex_    3 bytes                                         000201
hSup    flt     4 bytes     0.00                                00000000
IAPC    flt     4 bytes     0.00                                3B26D5F7
IBAC    sp78    2 bytes     0.71                                B500
IBAF    sp78    2 bytes     0.74                                BD00
IBLR    flt     4 bytes     0.00                                3AC54336
IBSC    flt     4 bytes     0.84                                3F573C9E
IC0R    flt     4 bytes     0.70                                3F331F48
ICIC    flt     4 bytes     0.99                                3F7CA6F1
ID0R    flt     4 bytes     0.00                                3A6E673C
IH0R    flt     4 bytes     0.00                                393062D0
IM0C    flt     4 bytes     0.00                                39A3ADDF
IM1C    flt     4 bytes     0.00                                3AA63976
IO3R    flt     4 bytes     0.00                                3A9947AA
IO5R    flt     4 bytes     0.00                                3A8D9996
IPBR    flt     4 bytes     0.82                                3F52FC5B
ISLC    flt     4 bytes     0.02                                3C9D2BB2
KDD0    hex_    32 bytes                                        87F300002D195FBEF9E998E5DF6F9A8B6BBE20F7954DB276CF23B7367030B76F
KDD1    hex_    32 bytes                                        0000F1A50000000000000000000000000805000000000000E40E000000000000
KDTP    ui8     1 byte      1                                   01
KINC    ui16    2 bytes     13                                  0D00
KINV    ch8*    4 bytes     MSDW                                5744534D
KINX    hex_    4 bytes                                         5744534D
LCAD    ui8     1 byte      1                                   01
LCAE    ui8     1 byte      0                                   00
LCFS    ui16    2 bytes     0                                   0000
LCRC    ui16    2 bytes     0                                   0000
LCSA    ui8     1 byte      155                                 9B
LDKN    ui8     1 byte      3                                   03
LDSS    sp78    2 bytes     0.00                                0000
LDWA    hex_    8 bytes                                         0000000000000000
LDWE    hex_    4 bytes                                         00000000
LDWL    hex_    8 bytes                                         0000000000000000
LGPA    ui64    8 bytes     251917145997312                     000000081EE50000
LGPE    flag    1 byte      False                               00
LGPI    ui32    4 bytes     0                                   00000000
LIDB    flag    1 byte      True                                01
MBSS    ui16    2 bytes     0                                   0000
MEPS    hex_    3 bytes                                         020100
MFIC    hex_    4 bytes                                         00000000
MFIX    flag    1 byte      False                               00
MPBd    flag    1 byte      True                                01
MPBT    flag    1 byte      True                                01
MPTB    flag    1 byte      True                                01
MPWF    flag    1 byte      True                                01
MSAc    fp88    2 bytes                                         0000
MSAE    flag    1 byte      True                                01
MSAf    fp6a    2 bytes                                         0000
MSAg    fp88    2 bytes                                         0000
MSAL    hex_    1 byte                                          4B
MSAP    ui8     1 byte      3                                   03
MSBC    ui16    2 bytes     230                                 E600
MSBc    ui16    2 bytes     0                                   0000
MSbc    ui8     1 byte      0                                   00
MSBP    flt     4 bytes     13.08                               415150A7
MSBp    flt     4 bytes     0.00                                00000000
MSC0    ui16    2 bytes     0                                   0000
MSC1    ui16    2 bytes     0                                   0000
MSC2    ui16    2 bytes     5846                                D616
MSFE    ui8     1 byte      0                                   00
MSFL    ch8*    4 bytes     ....                                00000000
MSFM    ui8     1 byte      0                                   00
MSFN    ui8     1 byte      0                                   00
MSFV    flt     4 bytes     0.00                                00000000
MSkc    ui8     1 byte      0                                   00
MSKE    flag    1 byte      True                                01
MSKT    ui16    2 bytes     0                                   0000
MSLC    ui8     1 byte      0                                   00
MSLD    ui8     1 byte      0                                   00
MSLE    flag    1 byte      True                                01
MSLG    ui8     1 byte      0                                   00
MSLP    ui8     1 byte      0                                   00
MSLS    ui8     1 byte      0                                   00
MSPA    fp6a    2 bytes                                         0000
MSPC    ui8     1 byte      4                                   04
MSPP    ui8     1 byte      0                                   00
MSPR    ui8     1 byte      0                                   00
MSPS    hex_    2 bytes                                         0400
MSPT    hex_    5 bytes                                         000910101C
MSPU    hex_    6 bytes                                         000405060400
MSQC    hex_    2 bytes                                         3001
MSQL    ui8     1 byte      0                                   00
MSQM    ui8     1 byte      5                                   05
MSQW    ui16    2 bytes     0                                   0000
MSSB    si8     1 byte      0                                   00
MSSC    flag    1 byte      False                               00
MSSD    si8     1 byte      5                                   05
MSSP    si8     1 byte      0                                   00
MSSS    ui8     1 byte      0                                   00
MSSW    flag    1 byte      False                               00
MSt0    flt     4 bytes     0.00                                00000000
MSt1    flt     4 bytes     0.00                                00000000
MSt2    flt     4 bytes     0.00                                00000000
MST3    ui32    4 bytes     0                                   00000000
MSt3    flt     4 bytes     0.00                                00000000
MST6    ui64    8 bytes     0                                   0000000000000000
MSTC    ui16    2 bytes     0                                   0000
MStc    ui8     1 byte      0                                   00
MSTD    ui16    2 bytes     0                                   0000
MSTL    ui32    4 bytes     111822922                           4A48AA06
MSTS    ui8     1 byte      24                                  18
MSWr    ui8     1 byte      25                                  19
MSX0    ui16    2 bytes     12325                               2530
MSX2    ui8     1 byte      12                                  0C
MSX9    ui8     1 byte      48                                  30
MSXA    ch8*    4 bytes     MSAf                                6641534D
MSXb    ui8     1 byte      0                                   00
MSxb    hex_    2 bytes                                         1402
MSXC    ui32    4 bytes     0                                   00000000
MSXc    ui32    4 bytes     0                                   00000000
MSXD    ch8*    16 bytes    ................                    00000000000000000000000000000000
MSXd    ch8*    16 bytes    ................                    00000000000000000000000000000000
MSxd    hex_    32 bytes                                        40CAB66A07413800407A585E4C4B000040A5672492AE080000034B3E00001402
MSXH    ch8*    16 bytes    ................                    00000000000000000000000000000000
MSXh    ch8*    16 bytes    ................                    00000000000000000000000000000000
MSXK    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000F3F2F1F0EFEB
MSXk    ch8*    32 bytes    ................................    0000000000000000000000000000000000000000000000000000D8D7D6D5D4D3
MSXL    ch8*    16 bytes    ................                    E8FD0000E8FD0000E8FD0000E8FD0000
MSXl    ch8*    16 bytes    (knN(knN(knN(knN                    4E6E6B284E6E6B284E6E6B284E6E6B28
MSXm    ui16    2 bytes     8                                   0800
MSXN    ui8     1 byte      38                                  26
MSXn    ui8     1 byte      45                                  2D
MSXP    ui32    4 bytes     0                                   00000000
MSXS    ch8*    4 bytes     ....                                04030201
MSXs    ui32    4 bytes     16909060                            04030201
MSxs    hex_    16 bytes                                        409DB3C7A2F6F8000003820600001702
MSXT    ui32    4 bytes     4294967295                          FFFFFFFF
MSXt    ch8*    16 bytes    ................                    00000000000000000000000000000000
MSXU    hex_    2 bytes                                         0000
MSXZ    flt     4 bytes     0.00                                00000000
MT0c    flt     4 bytes     0.00                                00000000
MT0g    flt     4 bytes     0.00                                00000000
MT0t    flt     4 bytes     0.00                                00000000
MT0z    flt     4 bytes     0.00                                00000000
MT1c    flt     4 bytes     0.00                                00000000
MT1g    flt     4 bytes     0.00                                00000000
MT1t    flt     4 bytes     0.00                                00000000
MT2c    flt     4 bytes     0.00                                00000000
MT2g    flt     4 bytes     0.00                                00000000
MT2t    flt     4 bytes     0.00                                00000000
MT3c    flt     4 bytes     0.00                                00000000
MT3g    flt     4 bytes     0.00                                00000000
MT3t    flt     4 bytes     0.00                                00000000
MTBc    flt     4 bytes     0.00                                00000000
MTBg    flt     4 bytes     0.00                                00000000
MTBt    flt     4 bytes     0.00                                00000000
N0Tr    ui8     1 byte      0                                   00
N0Tw    ui8     1 byte      0                                   00
NATi    ui16    2 bytes     0                                   0000
NATJ    ui8     1 byte      0                                   00
NOPB    ui8     1 byte      0                                   00
Ns0T    ui8     1 byte      2                                   02
Ns1T    ui8     1 byte      0                                   00
NsNL    ui8     1 byte      1                                   01
NTAP    flag    1 byte      True                                01
OSSS    hex_    32 bytes                                        0000000000000000000000000000000000000000000000000000000000000000
OSWD    ui16    2 bytes     57                                  3900
PAPC    flt     4 bytes     0.01                                3C09A3A6
PBLR    flt     4 bytes     0.02                                3C999757
PC0R    flt     4 bytes     8.68                                410AD602
PCIC    flt     4 bytes     1.36                                3FADC58E
PCPC    sp87    2 bytes                                         2302
PCPG    sp87    2 bytes                                         1B00
PCPT    sp87    2 bytes                                         5D03
PDTR    flt     4 bytes     0.00                                370FB82B
PH0R    flt     4 bytes     0.00                                3B097A91
PHPC    flt     4 bytes     0.00                                00000000
PM0C    flt     4 bytes     0.00                                3A8708EF
PM1C    flt     4 bytes     0.02                                3C816D3E
pmFC    hex_    2 bytes                                         0000
PO3R    flt     4 bytes     0.01                                3C6ED1FB
PO5R    flt     4 bytes     0.01                                3C5CC103
PPBR    flt     4 bytes     10.23                               4123ADB2
PSLC    flt     4 bytes     0.06                                3D81AAAC
PSTR    flt     4 bytes     9.07                                41113297
PZ0E    flt     4 bytes     15.00                               41700000
PZ0F    flt     4 bytes     7.96                                40FE9D22
PZ0G    flt     4 bytes     8.68                                410AD602
PZ0T    flt     4 bytes     0.00                                00000000
PZ1E    flt     4 bytes     20.00                               41A00000
PZ1F    flt     4 bytes     8.16                                41028416
PZ1G    flt     4 bytes     8.68                                410AD602
PZ1T    flt     4 bytes     0.00                                00000000
PZ2E    flt     4 bytes     4.20                                4086662A
PZ2F    flt     4 bytes     0.87                                3F5F7F6B
PZ2G    flt     4 bytes     0.82                                3F52FC5B
PZ2T    flt     4 bytes     0.00                                00000000
PZ3E    flt     4 bytes     15.82                               417D1032
PZ3F    flt     4 bytes     0.82                                3F526C0C
PZ3G    flt     4 bytes     0.84                                3F573C9E
PZ3T    flt     4 bytes     0.00                                00000000
QCEC    si8     1 byte      0                                   00
QCFE    flt     4 bytes     0.00                                00000000
QCHA    flt     4 bytes     0.00                                00000000
QCHa    si8     1 byte      -1                                  FF
QCHE    flt     4 bytes     0.00                                00000000
QCLA    flt     4 bytes     0.00                                00000000
QCLa    si8     1 byte      -1                                  FF
QCLE    flt     4 bytes     0.00                                00000000
QCLV    ui8     1 byte      0                                   00
QCLv    flt     4 bytes     0.00                                00000000
QCPE    flt     4 bytes     0.00                                00000000
QECI    ui8     1 byte      0                                   00
QECS    ui8     1 byte      0                                   00
QENA    flag    1 byte      True                                01
QENN    flag    1 byte      True                                01
QERI    hex_    4 bytes                                         00000000
QERR    hex_    4 bytes                                         00000000
QERS    hex_    4 bytes                                         00000000
QFL!    hex_    1 byte                                          00
QIEC    si8     1 byte      0                                   00
QIFE    flt     4 bytes     0.00                                00000000
QIHA    flt     4 bytes     0.00                                00000000
QIHa    si8     1 byte      -1                                  FF
QIHE    flt     4 bytes     0.00                                00000000
QILA    flt     4 bytes     0.00                                00000000
QILa    si8     1 byte      -1                                  FF
QILE    flt     4 bytes     0.00                                00000000
QILV    ui8     1 byte      0                                   00
QILv    flt     4 bytes     0.00                                00000000
QIPE    flt     4 bytes     0.00                                00000000
QVER    ui8     1 byte      1                                   01
RBID    ui32    4 bytes     63                                  3F000000
RBRV    ui32    4 bytes     4                                   04000000
RCID    ui32    4 bytes     32786                               12800000
RCRV    ui32    4 bytes     16                                  10000000
RECI    ui64    8 bytes     370741785296934                     26806A0C30510100
RESV    ch8*    16 bytes    ................                    00000000000000000000000000000000
RGEN    ui8     1 byte      3                                   03
RMAC    hex_    6 bytes                                         000000000000
RMSN    hex_    17 bytes                                        30414D59344E5356423132363130395646
RPlt    ch8*    8 bytes     j230k...                            0000006B3033326A
RPVs    ch8*    8 bytes     0.8.....                            0000000000382E30
RSSN    hex_    16 bytes                                        0000000059484E4D4D31344B43465646
RWCV    hex_    4 bytes                                         00003358
SB0G    flt     4 bytes     0.64                                3F23D70A
SB0H    ui8     1 byte      3                                   03
SB0N    flt     4 bytes     0.00                                00000000
SB0W    sp78    2 bytes     3.98                                FA03
SB0X    sp78    2 bytes     3.98                                FA03
SBF     hex_    4 bytes                                         00000000
SBFD    hex_    4 bytes                                         00000000
SBFE    flag    1 byte      True                                01
SBFF    hex_    4 bytes                                         00000000
SBFL    hex_    4 bytes                                         40000000
SBFN    hex_    4 bytes                                         00000000
SBFU    hex_    4 bytes                                         00000000
SBFV    hex_    4 bytes                                         FF070000
SBFZ    ui8     1 byte      0                                   00
SCIL    ui8     1 byte      0                                   00
SPH0    ui16    2 bytes     0                                   0000
SPHR    ui32    4 bytes     0                                   00000000
SPHS    ui8     1 byte      0                                   00
SPHT    ui16    2 bytes     0                                   0000
TA0V    sp78    2 bytes     18.81                               CF12
TAEN    ui8     1 byte      0                                   00
TB0T    sp78    2 bytes     29.40                               661D
TB1T    sp78    2 bytes     29.40                               661D
TB2T    sp78    2 bytes     24.70                               B318
TC0E    sp78    2 bytes     82.69                               B052
TC0F    sp78    2 bytes     83.77                               C553
TC0P    sp78    2 bytes     58.81                               D03A
TC1C    sp78    2 bytes     83.50                               8053
TC2C    sp78    2 bytes     79.50                               804F
TC3C    sp78    2 bytes     78.50                               804E
TC4C    sp78    2 bytes     80.50                               8050
TCaP    sp78    2 bytes     39.50                               8027
TCBC    sp78    2 bytes     79.05                               0C4F
TCGC    sp78    2 bytes     74.50                               804A
TCHP    sp78    2 bytes     41.69                               B029
TCIC    hex_    4 bytes                                         53000000
TCID    sp78    2 bytes     83.00                               0053
TCIF    sp78    2 bytes     74.89                               E54A
TCMX    sp78    2 bytes     83.50                               8053
TCSA    sp78    2 bytes     72.00                               0048
TCXC    sp78    2 bytes     79.22                               384F
TH0a    sp78    2 bytes     33.25                               4021
TH0F    sp78    2 bytes     32.99                               FE20
TM0P    sp78    2 bytes     55.75                               C037
Tm0P    sp78    2 bytes     35.69                               B023
TPCD    sp78    2 bytes     60.00                               003C
Ts0P    sp78    2 bytes     21.75                               C015
Ts0S    sp78    2 bytes     32.50                               7F20
Ts1P    sp78    2 bytes     23.19                               3017
Ts1S    sp78    2 bytes     31.93                               EE1F
TSMP    sp78    2 bytes     35.00                               0023
TUDD    sp78    2 bytes     30.88                               E01E
TW0P    sp78    2 bytes     49.62                               A031
VCAC    flt     4 bytes     1.66                                3FD4ACB2
VCIC    flt     4 bytes     1.38                                3FB00F87
VD0R    flt     4 bytes     0.00                                3B6B703B
VHNC    flt     4 bytes     2.52                                402196AC
VP0R    flt     4 bytes     12.46                               41475480
WCPW    ui8     1 byte      0                                   00
WKEN    hex_    4 bytes                                         00000000
WKOS    ui8     1 byte      0                                   00
WKTP    ui8     1 byte      0                                   00
WOr0    si8     1 byte      -1                                  FF
WOw0    si8     1 byte      -1                                  FF
WOw1    si8     1 byte      -1                                  FF
WPo0    si8     1 byte      -1                                  FF
ZPEN    hex_    1 byte                                          0F
zSAa    ui64    8 bytes     8584720707877863424                 00000001000E2377
zSAc    ui32    4 bytes     3389390848                          000006CA
zSAi    ui32    4 bytes     0                                   00000000
zSEi    ui64    8 bytes     13085712293650497536                0000000000CA99B5
zSEj    ui32    4 bytes     0                                   00000000
zSEm    ch8*    32 bytes    e4tfb9zmv4......................    0000000000000000000000000000000000000000000034766D7A396266743465
zSEs    ui32    4 bytes     0                                   00000000
zSEw    ui64    8 bytes     3223970402778742784                 0000000000D8BD2C
zSLa    ui64    8 bytes     6976178081673248768                 00000000015DD060
zSLc    ui32    4 bytes     3484680448                          0001B4CF
zSLi    ui32    4 bytes     1914896384                          00002372
zSPa    ui64    8 bytes     1110375910759989248                 0000000002D9680F
zSPc    ui32    4 bytes     3406168064                          000006CB
zSPe    ui32    4 bytes     0                                   00000000
zSPi    ui32    4 bytes     0                                   00000000
zSPm    ui32    4 bytes     0                                   00000000
zSPn    ui32    4 bytes     0                                   00000000
macmade commented 1 year ago

Thanks a lot, I'll take a look at it asap!

macmade commented 1 year ago

Are you using any other tool that provides ambient light sensor information?

Tone866 commented 1 year ago

Yes DarkModeBuddy