Rasberry Pi sensors.py error

Hi,

I am currently trying to follow this tutorial Sensor Tutorial with Python, Raspberry Pi, and Notecarrier Pi - Blues Developers to set up a Rasberry Pi and a Notecarrie Pi. When I run sensors.py, instead of returning {} it returns{‘crc’: ‘0000:A3A6BF43’}. Can anyone tell me what this error means?

When I run the command sudo i2cdetect -y 1 I get a 17 in the right place, so I think my i2c connection is right.
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – 17 – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

Also, when I copy and paste the JSON into the online simulator the command works, so I think my JSON command is right as well. Anyone have any ideas?

Hi @mickellaharris,

The JSON returned that includes a crc is not actually an error, but an optional means of validating Notecard responses. This should be hidden by default with note-python, so we will get that fixed!

Looks like all is working for you correctly otherwise!

Rob

Thank you so much!!!

1 Like