From HFML-FELIX Wiki
Jump to: navigation, search
stackd
MQTT daemon
stackd
Publishes exhaust stack radiation monitor readings to MQTT
Language Python
Hosts felix-control
Repository unspecified

stackd reads exhaust stack radiation and exhaust flow values from the Berthold LB5340 multilogger, and combines those to supply current exhaust emission rates. The Archiver logs these to the MySQL database.

Publications

[edit | edit source]
topic meaning
building/stack/servers/hostname_pid json formatted server daemon information
building/stack/flow exhaust stack flow in m3/h
building/stack/concentration exhaust stack concentration in kBq/m3
building/stack/exhaust_rate the product of flow and concentration in kBq/h
building/stack/concentration/sub_integral the total exhaust today in kBq
building/stack/concentration/integral the total exhaust this year in kBq
building/stack/flow/sub_integral the total volume today in m3
building/stack/flow/integral the total volume this year in m3
building/stack/date timestamp (alive signal)

Installation

[edit | edit source]

First, make sure you have set up Feloperator gitlab authentication for the git clone and pip install commands below to work.

# clone the stackd code
cd /opt
git clone https://gitlab.science.ru.nl/felix/stackd.git
cd stackd
chgrp -R fft .
chmod -R 2775 .git
mkdir log run
chmod 2775 log run
python3 -m venv .env
.env/bin/pip install -r requirements.txt