Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroveStream Output + D18S20 Light sensor (+Refactoring) #32

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Latest Version 8.10.2017
========

- BMP280 sensor added

- GroveStream output added, since Xively is not open source neither free

- DS18S20 sensor/temperature support added (see sensor configuration below)
- Code refactored


AirPi
========

Expand Down Expand Up @@ -145,6 +156,43 @@ FeedID=xxxxxxxxxx

If you have registered with https://xively.com - you can add your API Key and Feed ID here.

## Sensor Configuration

### DS18S20

In the sensors.cfg set the pinNumber for the temperature sensor.

```

[DS18S20]
filename=ds18s20
enabled=on
pinNumber=4
sensorName=DS18S20

```

#### Kernel-Version >= 3.18.3
Open the /boot/config.txt

```
sudo vim /boot/config.txt

```

and append the following

Notice: gpiopin is your pin number, same as in the configuration file!

```
dtoverlay=w1-gpio,gpiopin=4,pullup=on

```

Thx to Enrico, a German tech blogger:
http://fluuux.de/2016/04/raspberry-pi-ds1820-temperatursensoren-auslesen/


## Running

AirPi **must** be run as root.
Expand Down
Loading