mstenta / atmospi

Atmospheric monitoring app for logging and graphing temperatures and humidities over time using a Raspberry Pi and DS18B20, DHT11, DHT22, and AM2302 sensor(s).
31 stars 9 forks source link

Beaglebone issues #2

Closed amorsent closed 9 years ago

amorsent commented 10 years ago

In the measurement script, I had to comment out the following two lines to avoid errors.

os.system('modprobe w1-gpio') os.system('modprobe w1-therm')

The Beaglebone uses the Angstrom distro rather than Raspian, and it has a different way of managing hardware.

I managed to get my W1 bus running using the following tutorial: http://hipstercircuits.com/dallas-one-wire-temperature-reading-on-beaglebone-black-with-dto/

The script works if I comment out those lines, but I get errors otherwise.

mstenta commented 10 years ago

I suppose there are two options: we can either find some automatic conditionals that would allow us to test which system Atmospi is running on, and adjust accordingly (in this case by simply not executing those lines)... or we can just add an extra config variable that triggers the same thing.

mstenta commented 9 years ago

I'm going to close this for now. If anyone is interested in making Atmospi work on Beaglebone, feel free to reopen and contribute!