solarDeltaSolMQTT
Project description
Solar controller DeltaSol® BS series MQTT
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
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.