Skip to content

ahasna/iot-sensor

Repository files navigation

MQTT Producer Example (Temperature and Humidity Sensor)

Installation

install dependencies

pip3 install -r requirements.txt

Usage

run the code by executing this command:

python3 run.py

Service Installation and Configuration

sudo cp sensorreader.service /etc/systemd/system/sensorreader.service
sudo systemctl daemon-reload
sudo systemctl start sensorreader.service
sudo systemctl enable sensorreader.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors