08-22-2021, 08:14 AM
Hi,
I am new here, so excuse me if this information is up here somewhere and I haven't been able to find it yet, or if I am posting in the wrong subsection.
I have the OAP setup running on a Pi4/4GB and I have connected a TSL2561 Grove light sensor (1.1) to the Pi. I can see the sensor through i2cdetect as visible below (the other one is the gesture sensor), however OAP doesn't seem to respond to the sensor. I have configured the Day/Night settings to 'sensor'. Is there any way I can test in OAP what it is receiving from this sensor to see if its operating correctly? I've ran through all the processes but I cannot seem to find which one is responsible for the input of this data.
On a side-note: The current OAP version doesn't boot if you enable the gesture/light sensors but do not connect them. It will say in the logs it cannot find the device. It would be a cleaner solution to pass this error to the application, permit it to boot, and show the error status in the OAP itself.
Cheers,
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --
I am new here, so excuse me if this information is up here somewhere and I haven't been able to find it yet, or if I am posting in the wrong subsection.
I have the OAP setup running on a Pi4/4GB and I have connected a TSL2561 Grove light sensor (1.1) to the Pi. I can see the sensor through i2cdetect as visible below (the other one is the gesture sensor), however OAP doesn't seem to respond to the sensor. I have configured the Day/Night settings to 'sensor'. Is there any way I can test in OAP what it is receiving from this sensor to see if its operating correctly? I've ran through all the processes but I cannot seem to find which one is responsible for the input of this data.
On a side-note: The current OAP version doesn't boot if you enable the gesture/light sensors but do not connect them. It will say in the logs it cannot find the device. It would be a cleaner solution to pass this error to the application, permit it to boot, and show the error status in the OAP itself.
Cheers,
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --