PaddeCraft / KEGWeatherHist

A weather dashboard with server

Home Page:http://amorkeg.de/wetter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KEGWeatherHist

Prerequisites

  • reachable meteohub instance
  • FTF-server and its credentials
  • any device to run this software on (needs to have python installed)

Installing the requirements

To install the requirements: pip install -r requirements.txt

Set up environment

Copy the .env.example file to .env and populate it with your configuration.

Run

Run the python script at start.py to start the uploader. Run the script display_meteohub/meteohub-display/update_data.py from the display_meteohub/meteohub-display directory

Building the image

For our specific needs, the build script builds for the RaspberryPi 3. To build, go into the image-builder directory and run the build_kegweather_image script with root privileges. Good look getting the development environment running, I think you need to have qemu-system-aarch64, but I don't really know anymore, it's just luck to get it running, I think i used the command qemu-system-aarch64 -M raspi3b -m 1024 -kernel ./vmlinuz -initrd ./initrd. Currently the image doesn't seem to work, so we are using an ubuntu image with all required settings, and copied the SD to an image, so we can restore it if it fails.

Credits

The interface is based on PaddeCraft/Weathersite. The image build script is taken from fwcd/archlinux-arm-images.

About

A weather dashboard with server

http://amorkeg.de/wetter


Languages

Language:CSS 26.8%Language:Shell 20.8%Language:Python 19.6%Language:JavaScript 17.0%Language:HTML 15.8%