Make it easy, and fast to build your own weather station using the enviroPHAT from pimoroni and your Raspberry Pi! https://codedin.wales/picymru/berrycast

Matthew Gall 0a374cdde6 Renamed .gitlab-ci.yaml -> .gitlab-ci.yml 6 months ago
views 452cfb2409 Added ionicons.min.css and the start of a README.md 6 months ago
.gitignore a6df8bf8a0 Initial commit of .gitignore 6 months ago
.gitlab-ci.yml 0a374cdde6 Renamed .gitlab-ci.yaml -> .gitlab-ci.yml 6 months ago
Dockerfile ef703593f5 Added a Dockerfile and renamed app.py -> application.py 6 months ago
README.md 328632a562 More changes to README.md 6 months ago
application.py ef703593f5 Added a Dockerfile and renamed app.py -> application.py 6 months ago
requirements.txt d5cfeea683 Added smbus to requirements.txt 6 months ago

README.md

berrycast

berrycast makes using the pimoroni enviroPHAT into a useful weather station!

Kit

Installation

Simply run:

$ git clone https://codedin.wales/picymru/berrycast.git berrycast
$ cd berrycast
$ sudo pip install -r requirements.txt

Usage

To start the server, listening only on the device (no external network access)

$ python3 application.py -i 127.0.0.1

To start the server, listening on all network interfaces (not recommended for internet facing)

$ python3 application.py -i 0.0.0.0

For more help

$ python3 application.py --help
usage: application.py [-h] [-i HOST] [-p PORT] [--verbose]

optional arguments:
  -h, --help            show this help message and exit
  -i HOST, --host HOST  IP Address
  -p PORT, --port PORT  Port
  --verbose, -v         increase output verbosity

License

This project has been developed by PiCymru as part of our education and learning programme. This project is hereby released under the terms of the MIT License, and is included below

MIT License

Copyright (c) 2017 PiCymru

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Support

Have a question? Need assistance? Don't stay stuck! If you do use this project or have any feedback we would love to hear from you, tweet us at @PiCymru or drop us an e-mail