Bug Filed on 12-24-2015: TSL256 Sensor not added: Failure

1. What OS? (Wheezy or Jessie)


Jessie

2. What class/size SD card? (ex. class 10 16gb)

8gb


3. What Model Pi? (A+, A, B+, B, Pi2)

pi2


4. Please describe the bug / issue. Attaching any relevant screenshots would be very helpful! Thanks in advance.

I’m getting the following error when trying to add a TSL256 sensor:
Please fix the following errors:
Failed to add the sensor, please re-check your settings. Make sure you selected the correct Channel/Slave Address.

From the following code I’m assuming I should select 39 as the address? I have 29, 39, and 49 but none of them worked.

pi@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – 39 – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

39 is the correct default address to use for the TSL2561. Weird. Can you post a screen shot of your setup?

-B

Hmm I just tried again and it seemed like the page locked up, I waited about 2 full minutes. Then I refreshed and tried again and it said the sensor was already added, so I went back to the dashboard, and there it was!