Skip to content

albertomn86/Weather-Station-Receiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Station Receiver

CI Quality Gate Status

Weather Station data receiver for RaspberryPi. This application processes the data received from the weather station.

Install

Install PIP:

sudo apt install -y python3-pip

Install Python packages:

pip3 install pyyaml pyserial requests

Enable serial port

The Raspberry Pi serial port is disabled by default. If we run the program, we will get the following error:

08.Nov 2020 18:17:58 raspberrypi WS-Receiver: (ERROR) [Errno 2] could not open port /dev/ttyS0: [Errno 2] No such file or directory: '/dev/ttyS0'

To enable the serial port follow the next steps:

  1. Open the configuration menu:
sudo raspi-config
  1. Navigate to Interfacing Options.

  2. Navigate to Serial and answer the questions:

    Would you like a login shell to be accessible over serial? No

    Would you like the serial port hardware to be enabled? Yes

  3. Close menu and reboot.

About

Weather Station data receiver for RaspberryPi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages