4. Look inside
See what the two streams are doing while they run, in Tato Studio's Node visualizer, Properties, History and log, and from a terminal with tatolab streams, graph and logs.
When a stream misbehaves, you want to see what it’s actually doing, not what the code says it should do. Leave both projects playing, with both windows open.
Watch the data
Section titled “Watch the data”Click any node and the Node visualizer shows its output as it runs: the camera’s picture, the detector’s latest report, the reports motion-log’s receive reads from the relay. It’s the quickest way to find where data stops: click along the stream until a node shows nothing, and that node says why, whether it’s stopped, failed, or simply has nothing reaching it yet.
Check a node
Section titled “Check a node”Select the detector and look at Properties: its name, its inputs, its threshold, and what each pin is wired to. A node that has failed or isn’t ready says so here and on its card, in its own words, such as the exception its process raised, with the line in your code it came from.
A Python node runs in a process of its own. If it crashes, the runtime starts it again after a moment, and the rest of the stream keeps running. One that keeps crashing is left stopped, with the reason.
Follow the edits
Section titled “Follow the edits”Open the History view. Every edit to motion-watcher is there, newest first: the module you added, each node you placed, each wire, the threshold, each save of your node’s code. Each says who made it; so far, that’s you. In step 6, an agent’s edits appear here too, under its name.
Choose Undo back to this edit on an earlier row to take the project back to that point, and Redo up to this edit to bring it forward again.
Read the log
Section titled “Read the log”The project’s log runs under the Code view: what the runtime did with each stream, each log.info(...) your nodes called, with its fields, and anything a node printed. The detector’s watching for motion, motion started and motion stopped are there, and so is motion-log’s logging motion in its own window.
Underneath, each project writes its log to a file in its own folder, .tatolab/logs/project.jsonl, one JSON object per line. Because it’s plain JSON Lines, any tool can read it: jq, a log shipper, or an OpenTelemetry Collector. Logs covers the fields.
From a terminal
Section titled “From a terminal”The same things are a command away, which helps on a machine with no screen:
tatolab streamsID NAME STATE NODES PROJECT ASSETmotion-watcher-main-3f2a9c motion-watcher running 5 /home/you/Documents/Tato Studio/motion-watcher 6f1c2e9a-…motion-log-main-8d41e0 motion-log running 3 /home/you/Documents/Tato Studio/motion-log 0a9b8c7d-…tatolab streamslists every stream the runtime holds, and why any has failed.tatolab graph --stream motion-watcher-main-3f2a9cprints the live graph as JSON: every node and link, their states, and counters such as how many messages each reader dropped because it fell behind, so a loss is never silent.tatolab logs -f, in a project’s folder, follows its log.
Inspect a running stream and Logs cover them in full.
Next, see how the projects keep running without you: Keep it running.