Skip to content

Release v0.2.0: Matrix live PLC dashboard + edge gateway + CMMS#87

Merged
Mikecranesync merged 9 commits into
mainfrom
dev
Feb 25, 2026
Merged

Release v0.2.0: Matrix live PLC dashboard + edge gateway + CMMS#87
Mikecranesync merged 9 commits into
mainfrom
dev

Conversation

@Mikecranesync
Copy link
Copy Markdown
Owner

Summary

  • Matrix dashboard now shows live PLC I/O from Micro 820 (e-stop, coils, registers) even without Factory I/O bridge
  • Edge gateway for remote PLC diagnostics over Tailnet mesh
  • CMMS Gist Work Order system (Feature 002) with comprehensive tests
  • Telegram I/O adapter for live PLC/VFD display and LLM diagnosis
  • Factory I/O "From A to B" scene integration with Micro 820
  • Mission Control read-only dev dashboard across Tailnet

Key fix

fetchTags() was broken — returned early when factoryio_bridge data was empty, never reaching live PLC data. Now fetches /api/tags/live first, so e-stop/fault status shows from real hardware.

Test plan

  • PLC reader posting live tags to Matrix every 2s
  • Dashboard shows E-Stop ENGAGED when DI_01=True (red border + glow)
  • Dashboard works with no factoryio_bridge running
  • Press/release physical e-stop — dashboard updates within 2s

🤖 Generated with Claude Code

hharp and others added 9 commits February 17, 2026 14:31
…or, regression

Antfarm tester workflow (5 agents, 5 steps) with expanded test coverage
for CMMS Gist Work Order. Found and fixed bug in update_work_order_gist()
which used `gh gist edit -a` (adds files) instead of `gh api PATCH`
(replaces in-place). All suites green: 17/17 unit, E2E lifecycle pass,
1 real Gist healthy, 9/9 regression stories pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Single-file FastAPI app at apps/mission-control/ with 4 panels:
- Tailnet node health (VPS, Travel Laptop, PLC Laptop)
- PLC live tags via Matrix API (motor, temp, pressure, faults)
- Antfarm workflow listing with agent/step counts
- Jarvis/OpenClaw journal logs

Designed for phone/tablet access over Tailscale. Runs on VPS port 3000.
Includes systemd service file for deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add cmms-gist-dispatch and state-machine-tester workflows with agent
definitions. Synced all 6 workflow YAMLs to VPS to fix the Antfarm
panel on Mission Control dashboard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Create integrations/edge_gateway.py — Modbus TCP client wrapper providing
connect_to_edge, read_plc_registers, and health_check for VPS Celery workers
to poll the PLC remotely. Fix PLC_REGISTERS in edge_gateway_tasks.py to match
actual Micro 820 holding registers (100-105). Update edge_server.py imports
for pymodbus 3.11 compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
….11)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…pted mesh

Comprehensive whitepaper documenting the verified VPS → Tailnet → PLC Laptop → Micro 820
end-to-end connection with sub-35ms latency. Includes science sections (architecture,
security analysis, performance results) and technician field manual (step-by-step setup,
troubleshooting, API reference). PDF export included.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remap PLC program vars (coils 0-4) for the Factory I/O scene:
Conveyor, Emitter, SensorStart, SensorEnd, RunCommand + ItemCount
register. Includes ST program for CCW, setup docs, and backend
updates (port 8001, CORS wildcard, sensor coils read-only).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…s offline

Previously, fetchTags() fetched /api/tags first and returned early on empty
results, so the /api/tags/live fallback (real PLC hardware) was never reached.
Now fetches /api/tags/live first, then /api/tags — either source populates
the e-stop/fault display. Also adds live_tags API endpoints, Physical I/O
dashboard card, and fetchLiveTags() polling for real-time Micro 820 I/O.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…osis

Clean standalone module replacing patch_friday.py monkey-patching approach.
PLCIOReader class targets Pi gateway API, format_io renders Telegram messages,
diagnose_factory sends live PLC+VFD data to Groq for factory diagnosis.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Mikecranesync Mikecranesync merged commit 94be804 into main Feb 25, 2026
Mikecranesync pushed a commit that referenced this pull request Apr 14, 2026
- docs/gtm/YOUTUBE_SHORTS_GTM.md — full strategy doc (FAC-18)
- docs/gtm/CONTENT_CALENDAR_4W.md — 4-week launch calendar (FAC-18)
- docs/gtm/REVIEW_CHECKLIST.md — pre-publish quality gate (FAC-19)
- tools/shorts_pipeline.py — LinkedIn-first vertical video producer
  (crop 9:16, Whisper captions, hook card, progress bar, end card, validation)
- tools/thumbnail_generator.py — Pillow 1280×720 thumbnails, 6 series color map
- tools/youtube_uploader.py — YouTube Data API v3 wrapper with quota guard
- tools/cross_post.py — one LinkedIn master → 5 platform derivatives
- tools/analytics_reporter.py — weekly analytics + self-improving calendar
- workers/content_capture_tasks.py — auto-trigger Shorts pipeline on score ≥ 8

Platform priority: LinkedIn native video first (B2B ICP), Shorts as derivative.
Closes #82, #83, #84, #85, #86, #87, #88.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant