Node and Python Scripts to scrape and display visual bin collection day notification Walsall City Council and current date
Before you do anything you will need to create a .env file with the following info
ID=112233445566
DURATION='?weeks=2'
you can obtain the relevent ID from this page (https://www.walsall.gov.uk/Waste/bincollections) by entering a valid postcode. on the next page you simply need to open your dev tools and pull the refrence number for the required address.
Run Maunally: Install dependencies with
yarn install
run with
yarn run all
Alternatively Build the docker container:
docker build -t bintool .
docker run -d --privileged --restart=always bintool
The --privileged
flag is required to allow the docker container to access the GPIO Pins of the raspberry pi.
Parts List for project:
- Raspberry pi
- RaspIO Full pHAT
- Pimoroni Scroll pHAT
- Pimoroni Four Letter pHAT
- Web Connectivity