ceandre / radonreader

Read current radon level from RadonEye RD200
GNU General Public License v3.0
56 stars 27 forks source link

string argument wihout an encoding #5

Closed grahamck closed 2 years ago

grahamck commented 2 years ago

I wonder if anyone would happen to know how to solve this issue:

pi@raspberrypi:/h/graham/radon $ python radon_reader.py -v -a F4:9F:38:88:88:6E Connecting... Writing... string argument without an encoding Failed, trying again (1)... Connecting... Failed to connect to peripheral F4:9F:38:88:88:6E, addr type: random Failed, trying again (2)... Connecting... Failed to connect to peripheral F4:9F:38:88:88:6E, addr type: random Failed, trying again (3)... Connecting... Failed to connect to peripheral F4:9F:38:88:88:6E, addr type: random Failed. pi@raspberrypi:/h/graham/radon $

grahamck commented 2 years ago

disregard - my problem was that i was using python3 instead of the clearly stated requirement for 2.7.x

Thanks for the script.