Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
pi-weatherstation
Readme
Read the data from pimoroni BME680 and display on pimoroni SPI screen
sudo apt-get install python3-venv python3-dev libatlas-base-dev wkhtmltopdf libopenjp2-7
mkdir pi_weatherstation
cd pi_weatherstation
python3 -m venv .env
source .env/bin/activate
pip install pi_weatherstation\[st7789,bme680\]
pi_weatherstation -l debug
You can copy the example config file from https://github.com/guilhermef/pi_weatherstation/blob/main/examples/config.ini
The field metrics_location_label
will be added as a location label on prometheus.
Then you can run pi_weatherstation -c <path to config.ini>
This will also start a prometheus metric server that you can use to scrape. You can configure a label name location if you have multiple instances.
Install Prometheus on RaspberryPI
Create a free account on Grafana Cloud
Copy the existing prometheus.yml file to scrape the local pi_weatherstation, and add your remote_write auth on it. https://github.com/guilhermef/pi_weatherstation/blob/main/examples/prometheus.yml
Import the example dashboard on your new Grafana: https://github.com/guilhermef/pi_weatherstation/blob/main/examples/grafana_dashboard.json
If you want, you can use the systemd service unit file as an example
https://github.com/guilhermef/pi_weatherstation/blob/main/examples/pi_weatherstation.service
to /etc/systemd/system/pi_weatherstation.service
then, run:
sudo systemctl daemon-reload
sudo systemctl enable pi_weatherstation.service
sudo systemctl start pi_weatherstation.service
FAQs
Read the data from pimoroni BME680 and display on pimoroni SPI screen
We found that pi-weatherstation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.