Bayrol Poolmanager 5

Bayrol Poolmanager 5

Beim Poolmanager 5 von Bayrol können via E-Mail Nachrichten im Fall von Unregelmässigkeiten (Werte von z.B. pH oder Redox) verschickt werden, falls das Gerät im lokalen LAN angeschlossen ist.

Es ist allerdings auch möglich, diese Werte innerhalb des lokalen LANs direkt via HTTP-Requests abzufragen.

Links:
- Bayrol Download-Center
- Bayrol Modbus-TCP Protocol Specification
- http://IP_poolmanager/cgi-bin/webgui.fcgi?infoframe=0
- Bayrol Download-Center
- Modbus-XML Protocol Specification Version 1.0

Ein kleines Script namens getpooldata.sh veranschaulicht dies:


#!/bin/bash # getpooldata.sh 05Apr2024/uk # IPpoolmanager="192.168.XXX.YYY" # IP-Adresse des Poolmanagers # # 34.4026 Restmenge 2.0 l 34.4027 2.0 l # 34.4035 Dosierleistung pH 0 % # 34.4036 Dosierleistung Chlor 0 % # 34.4037 Dosierleistung mV 0 % # 34.4054 Cl x1 1.00 0.13 mg/l # 34.4057 Cl x10 1.00 0.15 mg/l # 34.3001 Sollwert pH 7.30 # 34.3002 Untere Alarmgrenze pH 7.00 # 34.3003 Obere Alarmgrenze pH 7.60 # 34.3017 Sollwert Chlor 0.60 mg/l # 34.3049 Sollwert Redox 730 mV # 34.3051 Untere Alarmgrenze Redox 680 mV # 34.3053 Obere Alarmgrenze Redox 780 mV # 34.3058 p-Bereich Redox 20 % (=200mV) # 34.3059 p-Bereich Redox 8 % (=80mV) # 34.3069 Untere Alarmgrneze T1 5.0 Grad # 34.3070 Obere Alarmgrenze T1 31.0 Grad # # 44.2021 Niveau Alarm Redox # 44.2037 Niveau Alarm pH- # # Temperatur: task="http://$IPpoolmanager/cgi-bin/webgui.fcgi?xmlitem=34.4033" curl --fail --silent --show-error --no-sessionid --request GET "$task" --output outPOOL.txt if test $? -eq 0 ; then T=`head -n 3 outPOOL.txt | tail -n 1 | cut -d'"' -f 10` else T="0" fi # # pH: task="http://$IPpoolmanager/cgi-bin/webgui.fcgi?xmlitem=34.4001" curl --fail --silent --show-error --no-sessionid --request GET "$task" --output outPOOL.txt if test $? -eq 0 ; then pH=`head -n 3 outPOOL.txt | tail -n 1 | cut -d'"' -f 10` else pH="0" fi # # Chlor: task="http://$IPpoolmanager/cgi-bin/webgui.fcgi?xmlitem=34.4022" curl --fail --silent --show-error --no-sessionid --request GET "$task" --output outPOOL.txt if test $? -eq 0 ; then mV=`head -n 3 outPOOL.txt | tail -n 1 | cut -d'"' -f 10` else mV="0" fi # # Niveau-Alarm pH-Minus: task="http://$IPpoolmanager/cgi-bin/webgui.fcgi?xmlitem=44.2037" curl --fail --silent --show-error --no-sessionid --request GET "$task" --output outPOOL.txt if test $? -eq 0 ; then PHniveauAlarm=`head -n 3 outPOOL.txt | tail -n 1 | cut -d'"' -f 8` else PHniveauAlarm="0" fi if test $PHniveauAlarm -eq 1 ; then pHtext="Kanister pH-Minus leer!" else pHtext="Kanister pH-Minus OK" fi # # Niveau-Alarm Chlor: task="http://$IPpoolmanager/cgi-bin/webgui.fcgi?xmlitem=44.2021" curl --fail --silent --show-error --no-sessionid --request GET "$task" --output outPOOL.txt if test $? -eq 0 ; then RedoxNiveauAlarm=`head -n 3 outPOOL.txt | tail -n 1 | cut -d'"' -f 8` else RedoxNiveauAlarm="0" fi if test $RedoxNiveauAlarm -eq 1 ; then RedoxText="Kanister Chlor leer!" else RedoxText="Kanister Chlor OK" fi # echo "Temperatur=$T °C --- pH=$pH --- Redox=$mV mV" echo "$pHtext --- $RedoxText" #
Durch die Eingabe der Befehle
chmod u+x getpooldata.sh
./getpooldata.sh
erscheinen auf dem Bildschirm die aktuellen Werte von Temperatur, pH und Redox.
In der zweiten Zeile erscheinen Statusinformationen über die Kanister mit dem pH-Minus und dem Flüssigchlor.

Im Rahmen eines SmartHome-Projektes können diese Werte anschliessend natürlich weiter verarbeitet werden.


Last update: 01May2024 - Created: 22Apr2024/uk