marcelm / radonwave

Read radon levels from Airthings Wave
MIT License
26 stars 8 forks source link

Radonwave.py #3

Open ghost opened 5 years ago

ghost commented 5 years ago

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

marcelm commented 5 years ago

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.

ghost commented 5 years ago

Hi Marcel

Thanks a lot for the hints.

Will the script not upload the data to the cloud or only locally?

Br Peter

Sent from my iPhone

On 15 Oct 2018, at 16.03, Marcel Martin notifications@github.com wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

marcelm commented 5 years ago

The radonwave.py script does not upload anything.