xComfortMQTT
Installing
You can install xComfortMQTT directly from PyPI:
sudo pip3 install -U xComfortMQTT
Config
Insert this snippet to the file /etc/xComfortMQTT.yml:
---
shc:
host: 192.168.0.2
username: admin
password: very-strong-password
mqtt:
host: 192.168.0.1
Usage
Update /etc/xComfortMQTT.yml and run
xComfortMQTT -c /etc/xComfortMQTT.yml
Systemd
Insert this snippet to the file /etc/systemd/system/xComfortMQTT.service:
[Unit]
Description=xComfortMQTT
After=network.target
[Service]
Type=simple
User=pi
ExecStart=/usr/local/bin/xComfortMQTT -c /etc/xComfortMQTT.yml
Restart=always
RestartSec=5
StartLimitIntervalSec=0
[Install]
WantedBy=multi-user.target
Enable the service start on boot:
sudo systemctl enable xComfortMQTT.service
Start the service:
sudo systemctl start xComfortMQTT.service
View the service log:
journalctl -u xComfortMQTT.service -f
PM2
pm2 start /usr/bin/python3 --name "xComfortMQTT" -- /usr/local/bin/xComfortMQTT -c /etc/xComfortMQTT.yml
pm2 save
Development
git clone git@github.com:blavka/xComfortMQTT.git
cd xComfortMQTT
./test.sh
sudo python3 setup.py develop
Metadata
Release files for xComfortMQTT 1.2.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 | |
|---|---|---|---|---|
| xComfortMQTT-1.2.0.tar.gz | 7.2 kB | Without provenance | Details |
Release files / xComfortMQTT-1.2.0.tar.gz
| Download URL | xComfortMQTT-1.2.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28e18d6b36c44ab19f98fbb48e6b2c231eb0b9dec6289566bb2fd53f097ddc3b
|
|
BLAKE2b-256 checksum How to use checksums |
de6b25e98dace9daa6480127c56fca900cf04eb9076b59b6b71380c7942e27fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.1
|
Security for xComfortMQTT 1.2.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.