grott-ha-plugin
Plugin to interface Home Assistant and Grott. Allow auto discovery of the devices on Home Assistant.
Compatibility:
- Python:
- 3.8
- 3.9
- 3.10
- 3.11
- Grott:
- 2.7.X
- 2.8.X
This plugin is tested on linux (and best effort support for macOS and Windows)
Installation
pip install grott-ha-plugin
Usage
Once installed you need to add the plugin to the Grott configuration file, grott.ini, here an example:
[extension]
extension=True
extname = grottext.ha
extvar = {"ha_mqtt_host": "192.168.20.2", "ha_mqtt_port": "1883", "ha_mqtt_user": "XXXXX", "ha_mqtt_password": "XXXX"}
Configuration
The extension name (extname) is grottext.ha
The extension variable (extvar) is a json string with the following keys:
ha_mqtt_host: the mqtt host of the server used by Home Assistantha_mqtt_port: the mqtt port of the server used by Home Assistantha_mqtt_user: the mqtt userha_mqtt_password: the mqtt password
Home assistant configuration
On home assistant you need to have the MQTT integration enabled (docs: https://www.home-assistant.io/integrations/mqtt/) and configured.
You also need a MQTT broker, the recommended one is the mosquitto add-on you can install from the add-on store.
The MQTT broker needs to have a user to allow Grott to connect to it. (This can be configured in the mosquitto add-on configuration page if you are using it)
Home assistant add-on
There is a pre-packaged add-on existing for Home Assistant running in Home Assistant Operating System (HAOS).
If you use the mosquitto add-on, the addon will automatically configure Grott and the plugin to use the mosquitto broker. It's a lot easier.
The add-on is available at:
- egguy HA addons - stable: The stable version (recommended)
- egguy HA addons - beta: The beta version (includes the latest changes in testing)
- egguy HA addons - edge: The edge version (includes the latest changes - Not recommended for day-to-day usage)
Metadata
Release files for grott-ha-plugin 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grott_ha_plugin-0.11.0.tar.gz | 14.3 kB | Without provenance | Details for grott_ha_plugin-0.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grott_ha_plugin-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for grott_ha_plugin-0.11.0-py3-none-any.whl |
Total release size: 26.1 kB
Release files / grott_ha_plugin-0.11.0.tar.gz
| Download URL | grott_ha_plugin-0.11.0.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7de2cd7092d417cf6308d5eff964467fd68e215ca550e1d3ab338bc23f305541
|
|
BLAKE2b-256 checksum How to use checksums |
3195aa156ab1d55b2ac4bf9509cd70eb322aa54d47e0b7ce6d9b8a6e768dae54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Release files / grott_ha_plugin-0.11.0-py3-none-any.whl
| Download URL | grott_ha_plugin-0.11.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c45c58e49dcd7c3b5f06f74bd7aeaea5fc3d608645806abda66fe3d3e0449d5f
|
|
BLAKE2b-256 checksum How to use checksums |
af2c907a15baa470af5547487e412664de692719d06e565020eed0a53aec4b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Security for grott-ha-plugin 0.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.