marcelm / radonwave

Read radon levels from Airthings Wave

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radonwave.py

Carlsbergvej opened this issue · comments

Hi,

Sorry for a beginner question.
I have bought a Rasberry Pi and installed the things described on Airthings site.

Now I have followed your guide but I never get or install the radonwave.py file on the Rasberry Pi and therefore also fail the last step where I read from the MAC address.

How to I install the .py script on the Rasberry pi?

Best regards,
Peter

Hi, yes, I did not mention in the instructions how to actually get the script. I’ll need to add it. In the meantime, try this command to get the script:

wget https://raw.githubusercontent.com/marcelm/radonwave/master/radonwave.py

If you do not have wget installed, then try this instead:

curl -o radonwave.py https://raw.githubusercontent.com/marcelm/radonwave/master/radonwave.py

As I describe in the readme: The script is not that user-friendly at the moment. It will at the moment just print the values to the screen every 20 minutes, but not save it anywhere. Here is how you can create a table:

env/bin/python3 radonwave.py ADDRESS | tee -a radonlevels.tab

I will try to also document this better when I have time.

The radonwave.py script does not upload anything.