When I run an app on my S8+ called Galaxy Sensors I get the following, which indicates the presence of working Barometric Pressure, Temperature and Humidity sensors;
However when I parse all of the sensors using PhoneSensorsExtra library, I get the following, which has the Temperature and Humidity sensors missing;
senlist.size 34
{Sensor name="Rear Ambient Light", vendor="ADI", version=1, type=65577, maxRange=500000.0, resolution=1.0, power=1.0, minDelay=10000}
{Sensor name="Rear Proximity detecting", vendor="ADI", version=1, type=65580, maxRange=3.0, resolution=1.0, power=1.0, minDelay=0}
{Sensor name="HRMLED IR", vendor="ADI", version=1, type=65571, maxRange=500000.0, resolution=1.0, power=1.0, minDelay=10000}
{Sensor name="HRMLED RED", vendor="ADI", version=1, type=65572, maxRange=500000.0, resolution=1.0, power=1.0, minDelay=10000}
{Sensor name="ADPD143RI", vendor="ADI", version=1, type=65561, maxRange=500000.0, resolution=1.0, power=1.0, minDelay=10000}
{Sensor name="LSM6DSL Acceleration Sensor", vendor="STM", version=1, type=1, maxRange=78.4532, resolution=0.0023942017, power=0.25, minDelay=2000}
{Sensor name="LSM6DSL Gyroscope Sensor", vendor="STM", version=1, type=4, maxRange=17.453293, resolution=6.1086525E-4, power=6.1, minDelay=2000}
{Sensor name="LSM6DSL Acceleration Sensor UnCalibrated", vendor="STM", version=1, type=35, maxRange=78.4532, resolution=0.0023942017, power=0.25, minDelay=2000}
{Sensor name="LSM6DSL Gyroscope sensor UnCalibrated", vendor="STM", version=1, type=16, maxRange=17.453293, resolution=6.1086525E-4, power=6.1, minDelay=2000}
{Sensor name="Interrupt Gyroscope Sensor", vendor="STM", version=1, type=65579, maxRange=17.453293, resolution=6.1086525E-4, power=0.061, minDelay=20000}
{Sensor name="AK09916C Magnetic field Sensor", vendor="Asahi Kasei Microdevices", version=1, type=2, maxRange=2000.0, resolution=0.06, power=6.0, minDelay=10000}
{Sensor name="AK09916C Magnetic Sensor UnCalibrated", vendor="Asahi Kasei Microdevices", version=1, type=14, maxRange=1200.0, resolution=0.06, power=6.0, minDelay=10000}
{Sensor name="LPS22H Barometer Sensor", vendor="STMicroelectronics", version=1, type=6, maxRange=1260.0, resolution=2.4414062E-4, power=1.0, minDelay=100000}
{Sensor name="TMD4906 Proximity Sensor", vendor="AMS, Inc.", version=1, type=8, maxRange=8.0, resolution=8.0, power=0.75, minDelay=0}
{Sensor name="TMD4906 lux Sensor", vendor="AMS, Inc.", version=1, type=5, maxRange=60000.0, resolution=1.0, power=0.75, minDelay=200000}
{Sensor name="TMD4906 RGB IR Sensor", vendor="AMS, Inc.", version=1, type=65578, maxRange=60000.0, resolution=1.0, power=0.75, minDelay=200000}
{Sensor name="TMD4906 RGB Sensor", vendor="AMS, Inc.", version=1, type=65587, maxRange=60000.0, resolution=1.0, power=0.75, minDelay=200000}
{Sensor name="Proximity Alert Sensor", vendor="Samsung Electronics", version=1, type=65582, maxRange=10.0, resolution=10.0, power=0.75, minDelay=0}
{Sensor name="SAMSUNG Step Detector Sensor", vendor="Samsung Inc.", version=1, type=18, maxRange=1.0, resolution=1.0, power=0.3, minDelay=0}
{Sensor name="SAMSUNG Step Counter Sensor", vendor="Samsung Inc.", version=1, type=19, maxRange=4.2949673E9, resolution=1.0, power=0.3, minDelay=0}
{Sensor name="SAMSUNG Significant Motion Sensor", vendor="Samsung Inc.", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.3, minDelay=-1}
{Sensor name="Samsung Rotation Vector", vendor="Samsung Electronics", version=1, type=11, maxRange=1.0, resolution=5.9604645E-8, power=6.0, minDelay=10000}
{Sensor name="Samsung Game Rotation Vector", vendor="Samsung Electronics", version=1, type=15, maxRange=1.0, resolution=5.9604645E-8, power=6.0, minDelay=10000}
{Sensor name="SAMSUNG Tilt Detector", vendor="Samsung Inc.", version=1, type=22, maxRange=1.0, resolution=1.0, power=0.3, minDelay=0}
{Sensor name="SAMSUNG Pick Up Gesture", vendor="Samsung Inc.", version=1, type=25, maxRange=1.0, resolution=1.0, power=0.3, minDelay=-1}
{Sensor name="SContext", vendor="Samsung", version=1, type=65586, maxRange=1.0, resolution=0.0, power=0.001, minDelay=0}
{Sensor name="SX9320 Grip Sensor", vendor="SEMTECH", version=512, type=65560, maxRange=5.0, resolution=5.0, power=0.75, minDelay=0}
{Sensor name="Screen Orientation Sensor", vendor="Samsung Electronics", version=3, type=27, maxRange=255.0, resolution=255.0, power=0.0, minDelay=0}
{Sensor name="HRM Sensor", vendor="Samsung Electronics", version=1, type=65562, maxRange=200.0, resolution=1.0, power=0.0, minDelay=0}
{Sensor name="HeartRate Sensor", vendor="Samsung Electronics", version=1, type=21, maxRange=200.0, resolution=1.0, power=0.0, minDelay=1000000}
{Sensor name="Motion Sensor", vendor="Samsung Electronics", version=1, type=65559, maxRange=200.0, resolution=0.0, power=0.0, minDelay=0}
{Sensor name="Gravity Sensor", vendor="Samsung Electronics", version=3, type=9, maxRange=19.6133, resolution=5.9604645E-8, power=6.0, minDelay=10000}
{Sensor name="Linear Acceleration Sensor", vendor="Samsung Electronics", version=3, type=10, maxRange=78.4532, resolution=0.0023942017, power=6.0, minDelay=10000}
{Sensor name="Orientation Sensor", vendor="Samsung Electronics", version=1, type=3, maxRange=360.0, resolution=0.00390625, power=6.0, minDelay=10000}
Any ideas how I can access these sensors?
Thanks,
Kev