MQTT listener to save data
Project description
MQTT subscriber
A service to listen for messages and save the data.
Installation
Create a service user.
Create a virtual environment
sudo mkdir -p /opt/balance-subscriber
sudo python3 -m venv /opt/balance-subscriber/venv
Activate the virtual environment
source /opt/balance-subscriber/venv/bin/activate
Install this package
pip install balance-subscriber
Usage
The app will run as a service in the background.
Monitoring
View service status
sudo systemctl status balance-subscriber.service
View logs
sudo journalctl -u balance-subscriber.service --since "1 hour ago"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file balance_subscriber-0.0.1a1.tar.gz
.
File metadata
- Download URL: balance_subscriber-0.0.1a1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd074f0762913c2629c4157934679cb0938f45d4056ae8dd4e8cd68fad086c5 |
|
MD5 | b84c8b1b0f42516fb0e774e7386bcf07 |
|
BLAKE2b-256 | a6dc94072e43d8b062e3f97c7e6eb95015415f95f394a9720ef3cff8d99a58e1 |
Provenance
The following attestation bundles were made for balance_subscriber-0.0.1a1.tar.gz
:
Publisher:
publish.yaml
on IoT-balance-project/balance-mqtt-subscriber
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
balance_subscriber-0.0.1a1.tar.gz
- Subject digest:
bdd074f0762913c2629c4157934679cb0938f45d4056ae8dd4e8cd68fad086c5
- Sigstore transparency entry: 150524228
- Sigstore integration time:
- Predicate type:
File details
Details for the file balance_subscriber-0.0.1a1-py3-none-any.whl
.
File metadata
- Download URL: balance_subscriber-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd9ee34b03a6dc27601b6bbe601065f09e65bb67b19ad36168c84b96c36349d |
|
MD5 | a2a1a53a4c893d7da486fd041a7d432e |
|
BLAKE2b-256 | abb3335ea9faf78ee7764750cf86531ba2b4a362ba0bbb46d5eeff5000fda366 |
Provenance
The following attestation bundles were made for balance_subscriber-0.0.1a1-py3-none-any.whl
:
Publisher:
publish.yaml
on IoT-balance-project/balance-mqtt-subscriber
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
balance_subscriber-0.0.1a1-py3-none-any.whl
- Subject digest:
cfd9ee34b03a6dc27601b6bbe601065f09e65bb67b19ad36168c84b96c36349d
- Sigstore transparency entry: 150524230
- Sigstore integration time:
- Predicate type: