Skip to content

Operation

Kamil Brylew edited this page Oct 30, 2026 · 1 revision

Operation

Touchscreen

Open http://127.0.0.1:1880/dashboard/geiger on the Pi, or use the kiosk that starts at desktop login. Tap GM 1 LIVE or GM 2 LIVE to change the displayed board, or swipe right for GM 1 and left for GM 2 on the main view. Open dialogs ignore board swipes. Each selector shows its own LIVE/OFFLINE status. A displayed reading becomes stale after five seconds without a fresh sample. Use the reconnect button if the reader needs to reconnect.

Tap a large readout for its 60-second plot. Tap Show raw registers for the wire-level values, and tap a raw row for its plot. The raw words help when checking scaling, firmware values, or an unexpected display reading. Plot history is kept in Node-RED memory and starts over after a Node-RED restart. About shows the Pi model, current IP address, software versions, reader settings, and ready-to-run SSH tunnel commands for the dashboard and Grafana.

Reference dose for calibration

Tap Reference dose to open the numeric keypad. Enter the source dose rate in µSv/h and press Enter value to apply it to both GMs. The digits only change a draft. Clear saved value removes the shared reference immediately. The value is kept in Node-RED memory and starts empty after every restart. Subsequent successful board samples store reference_dose_usvh; empty references omit the field. Existing history is not backfilled.

Tower settings

Under Settings, select GM 1 or GM 2 as the tower source, enter the orange, red, and flash boundaries in µSv/h, then tap Save settings. The values must satisfy 0 < orange < red < flash. The source choice does not change which board is shown on screen. Defaults are GM 2 and 10/20/200 µSv/h. Negative finite dose readings count as zero for tower control. Invalid changes leave the prior settings active. Saved settings survive service and Pi restarts.

The tower is off when its chosen board has no fresh valid dose rate. In particular, an offline or stale board cannot light green. See Use cases for the color table.

Pulse totals

Each GM board has its own Pi-side cumulative pulse total. Under Settings → Total pulse counters, choose Reset GM 1 total or Reset GM 2 total and confirm. The reset affects only that Pi-side total and gap count; it does not clear the board's hardware pulse register or the other board's total. The next valid register word becomes the new baseline.

History

After installing the optional history stack, Grafana displays both boards' readings and the shared reference dose rate when entered, with a default 15-minute time range and five-second refresh. Change the time range in its toolbar to investigate older samples. InfluxDB keeps 90 days of data. It has no automatic backfill from before installation. The writer retries an InfluxDB outage using a 3,600-reading memory queue; a Node-RED restart during an outage or a full queue can lose samples.

Checks and fault isolation

Run the provisioners' read-only checks after a restart or when diagnosing a problem:

cd ~/node-red-dosimeter-gate
./dashboard/scripts/provision-pi.sh check
./dashboard/scripts/provision-timeseries.sh check

Use the second command only after installing the history stack. For service messages, run journalctl -u nodered -b, journalctl -u influxdb -b, or journalctl -u grafana-server -b on the Pi.

Symptom First checks
One board is OFFLINE Check its power, RS485 wiring, Modbus address, and connection errors. The other board may continue working.
Both boards are OFFLINE Check /dev/serial0, HAT power, serial-console configuration, dialout membership, and Node-RED logs. The reader reconnects if both fail.
Tower is dark Confirm its selected source is LIVE with a fresh finite dose rate; inspect monarco-light logs, SPI access, and tower supply/wiring. Darkness is also the expected stale-data state.
Touchscreen works but Grafana is empty Check that history is installed, one GM is producing new samples, the Influx writer has a token, and the timeseries check passes.
Dashboard page does not load Check nodered.service, the base check, and the localhost URL. Chromium and Node-RED start independently, so the kiosk can appear before the service is ready.

For a controlled DOUT color test, the repository provides python3 dashboard/python/monarco_light.py --identify --channels 1,2,3 --seconds 6. It takes ownership of SPI0 CE0 while running; stop the Node-RED tower driver first and ensure the wiring and supply are correct. The dashboard operating notes describe the verified wiring and alternate flow modes.

Clone this wiki locally