Cognitum/Livestock Monitorv0.9.0

Livestock Monitor

Continuous welfare monitoring across the herd: animal presence and per-individual respiratory waveforms via channel state inference (CSI), body temperature, activity, feed and water levels, barn environment (temperature / humidity / NH3 / CO2), and escape detection. 48 animals across 4 species streamed from an ESP32-S3 sensor mesh.

Overview

Animals present
—
— of 48 pens
Mean BPM
—
within normal range
Mean body temp
—
38.6 °C normal
Breathing anomalies
—
last 24h
Escapes today
—
acknowledged 0
Sensor uptime
—
12 of 12 nodes online

Live respiratory monitor — bpm

CSI breathing waveform —
Channel state inference · 10 Hz · per-animal pattern
Pen — · — bpm ·
species — · normal —
amp — · noise — · irreg —
Herd health
Composite score · last 5 min
—
healthy
Min BPM
—
Max BPM
—
Variance
—
Alerts open
—

Vital signs · bedside monitor —

PT — —
MONITORING --:--:--
ECG II25 mm/s · 10 mm/mV
SpO₂ PLETHPR derived
RESP CSIchannel state
HRbpm
—
—
SpO₂%
—
≥ 95
RESP/min
—
—
TEMP°C
—
—
NIBPmmHg
—
—
Trends · 30 min
Body temperature & CSI motion
Temp 24h Δ
—
—
Steps · 1h
—
—
Feed & water
trough levels · last consumed
Feed
—
Water
—
Salt
—
Last meal
—
Last drink
—
Weight
—
Activity
—
Animal count (last 60 min)
Aggregated presence across all pens
Event distribution
Last 24 hours · 0 events

Barn environment

Pens

Presence map · 48 animals
Click any animal to focus its waveform & vitals
occupied empty alarm

Activity rhythms

Herd activity rhythm · 7-day ridgeline
Each ridge is one day's herd activity over 24 hours. Peaks are feeding / movement windows. Red ▼ marks an escape event at that hour.

Perimeter & escape watch —

Property map · live positions
Top-down view of the 4 barns. ~254 head of livestock shown by species colour; 48 are individually instrumented (clickable) — the rest are tracked as herd density. Perimeter: 8 fence sensors + 2 gates.
intact vibration breach
cattle sheep pig goat alarm / escaping
Escape & theft watch
Geofence proximity + unauthorised motion · last 30 min
Fence sensors · 8 segments
Magnetometer + accelerometer pair on each perimeter span. Detects cut wire, climbing pressure, vehicle vibration.

Events

Event stream
All events emitted by the livestock-monitor cog
TimeEventPenMessageAction

Hardware & source

Cog metadata
Manifest
Name
livestock-monitor
Version
0.9.0
Category
Industrial
Footprint
20 KB
Complexity
Medium
Source
cognitum-one/cogs/src/cogs/livestock-monitor
Sensor mesh
ESP32-S3 nodes
MCU
ESP32-S3
Input
CSI presence + breathing, NTC body-temp, NH3/CO2, ultrasonic level
Sample rate
10 Hz (CSI), 0.2 Hz (env)
Nodes
12 online / 12 total
Mesh
ESP-NOW, 2.4 GHz, 4 barn relays
Power
5 V DC · ~120 mA / node
Emitted events
Schema · livestock-monitor
animal_present
{ pen, ts, confidence }
breathing_anomaly
{ pen, ts, bpm, kind }
escape_detected
{ pen, ts, vector }
count
{ pen, ts, n }