Skip to main content

Homie specifications for MQTT implemented in CircuitPython

Project description

Documentation Status Build Status Test Code Coverage https://static.pepy.tech/personalized-badge/circuitpython-homie?period=total&units=international_system&left_color=grey&right_color=blue&left_text=PyPI%20Downloads

Homie v4 specifications for MQTT implemented in CircuitPython

Works with MQTT Homie

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.

Installing from PyPI

pip install circuitpython-homie

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install circuitpython-homie

To install system-wide (this may be required in some cases):

sudo pip3 install circuitpython-homie

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .env
source .env/bin/activate
pip3 install circuitpython-homie

Installing to a Connected CircuitPython Device with Circup

Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:

pip3 install circup

With circup installed and your CircuitPython device connected use the following command to install:

circup install homie

Or the following command to update an existing version:

circup update

Usage Examples

Using the examples requires a secrets.py file that stores your secret information about the MQTT broker and network settings. This is described with detail in the documentation.

See the examples in the examples folder. These will be included with the Circuitpython Community bundle as well.

Documentation

API documentation for this library can be found on Read the Docs.

Instructions for build the documentation is in our Contributing Guidelines.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

See also our Contributing Guidelines for information about the development workflow.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

circuitpython-homie-0.1.4.tar.gz (261.9 kB view details)

Uploaded Source

Built Distribution

circuitpython_homie-0.1.4-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file circuitpython-homie-0.1.4.tar.gz.

File metadata

  • Download URL: circuitpython-homie-0.1.4.tar.gz
  • Upload date:
  • Size: 261.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for circuitpython-homie-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3f93436652ffc24bb21bcef69f21f7a5eda7e5f42931b9365b219711a50f17dc
MD5 cad3cf944d57e3a60bff39d076c58f0a
BLAKE2b-256 ee08bbb425e1c8f5228d4a36b067e21c200a661f565c74d17b9f0c55e97cc2d4

See more details on using hashes here.

File details

Details for the file circuitpython_homie-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for circuitpython_homie-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4935ee4c861adfcd632e2b901d66f629292365e36c1d64b91a0f61d794d529b7
MD5 732f0871bb9f8a4c7c84215e28e26685
BLAKE2b-256 487adc3e03b47aa1a27e75635e8c4f1bdaf6a71e4275d52133857439ae2f2b76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page