Skip to main content

Solar controller DeltaSol® BS series MQTT

Travis Release License PyPI

Installing

You can install solarDeltaSolMQTT directly from PyPI:

sudo pip3 install -U solarDeltaSolMQTT

Config

Insert this snippet to the file /etc/solarDeltaSolMQTT.yml:

---
solar:
  device: /dev/ttyUSB1
mqtt:
  host: 127.0.0.1
  port: 1883
  prefix: solar
publish:
  S1: collector/temperature
  S2: boiler-bottom/temperature
  S3: boiler-top/temperature
  S4: return/temperature
  SpeedRelay1: pump/speed
  Errormask: true

Usage

Update /etc/solarDeltaSolMQTT.yml and run

solarDeltaSolMQTT -c /etc/solarDeltaSolMQTT.yml

Systemd

Insert this snippet to the file /etc/systemd/system/solarDeltaSolMQTT.service:

[Unit]
Description=solarDeltaSolMQTT
After=network.target

[Service]
Type=simple
User=pi
ExecStart=/usr/local/bin/solarDeltaSolMQTT -c /etc/solarDeltaSolMQTT.yml
Restart=always
RestartSec=5
StartLimitIntervalSec=0

[Install]
WantedBy=multi-user.target

Enable the service start on boot:

sudo systemctl enable solarDeltaSolMQTT.service

Start the service:

sudo systemctl start solarDeltaSolMQTT.service

View the service log:

journalctl -u solarDeltaSolMQTT.service -f

PM2

pm2 start /usr/bin/python3 --name "solarDeltaSolMQTT" -- /usr/local/bin/solarDeltaSolMQTT -c /etc/solarDeltaSolMQTT.yml
pm2 save

Development

git clone git@github.com:blavka/solarDeltaSolMQTT.git
cd solarDeltaSolMQTT
./test.sh
sudo python3 setup.py develop

Metadata

Release files for solarDeltaSolMQTT 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solarDeltaSolMQTT 1.0.0
File Size Uploaded
solarDeltaSolMQTT-1.0.0.tar.gz 7.4 kB Details

Release files / solarDeltaSolMQTT-1.0.0.tar.gz

Download URL solarDeltaSolMQTT-1.0.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9339e67e6e7326a112d57813d05e023d873285a630ef75e5a2226ff47b386ecc
BLAKE2b-256 checksum
How to use checksums
92616c1d6ff1afde1a764092188b23337bf20183e8f9def1c993716c6149785b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page