From e9af102dbeb90a08f2d3feea5f3fd0c439a0d4b2 Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Mon, 29 Jun 2026 15:53:20 -0500 Subject: [PATCH] Update JARVIS TODO: round 2 fixes (HA poller, DB tables, web.orbishosting.com) Co-Authored-By: Claude Sonnet 4.6 --- ai-memory/project_jarvis_todo.md | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/ai-memory/project_jarvis_todo.md b/ai-memory/project_jarvis_todo.md index d64bfd5..be224b5 100644 --- a/ai-memory/project_jarvis_todo.md +++ b/ai-memory/project_jarvis_todo.md @@ -13,7 +13,16 @@ Last updated: 2026-06-29 --- -## ✅ FIXED THIS SESSION (2026-06-29) +## ✅ FIXED THIS SESSION (2026-06-29) — ROUND 2 + +- [x] **HA Poller deployed on VM211** — `jarvis-ha-poller.py` running as `jarvis-ha-poller.service`. Polls HA at `http://10.48.200.97:8123` every 30s. 241 entities now pushing (lights, switches). Token expires 2033. +- [x] **Missing DB tables created** — `tasks`, `appointments`, `usage_patterns` tables added. Fixed `registered_agents` enum to include `windows`/`macos` and `version` column. +- [x] **schema.sql updated** — DB schema dumped from live VM211 to `db/schema.sql`, now includes all tables. +- [x] **ha.php domain filter** — Added `camera`, `siren`, `remote`, `todo`, `lawn_mower` to `$skipDomains`. Only `light` and `switch` (plugs) show in HOME tab. +- [x] **web.orbishosting.com fixed** — Root cause: Epson printer had ARP conflict at 10.48.200.200 (NPM's IP). FortiGate VIP for HTTP/HTTPS correctly forwards to 10.48.200.200. Fixed by: (1) bouncing NPM's eth0 to send gratuitous ARP, (2) setting permanent ARP entry on PVE1. https://web.orbishosting.com → NPM → NovaCPX (returns 401 Basic Auth — NovaCPX site auth). +- [x] **PVE1 static ARP** — `/etc/network/if-up.d/npm-static-arp` persists `10.48.200.200 → BC:24:11:67:1D:47` across reboots. + +## ✅ FIXED THIS SESSION (2026-06-29) — ROUND 1 - [x] **JARVIS API not executing PHP** — nginx `location ^~ /api` (no trailing slash) was intercepting `/api.php` and serving it as static text. Fixed to `location ^~ /api/`. PHP-FPM at `/run/php/php8.3-fpm.sock` confirmed working. `/api/ping` now returns JSON. - [x] **api.php backward-compat path normalization** — Added path rewrite so old `/api/endpoints/agent.php` format routes to the `agent` endpoint. Agents on old configs can now register. @@ -24,10 +33,23 @@ Last updated: 2026-06-29 --- -## 🔴 CRITICAL — JARVIS Core Still Broken / Empty DB +## 🔴 CRITICAL — Outstanding -### A. Re-install JARVIS HA Custom Component (VM109 rebuilt) -HA was rebuilt as VM109. Component is gone, `ha_entities` = 0 rows. +### A. Epson Printer IP Conflict — NEEDS PERMANENT FIX +Epson printer keeps taking 10.48.200.200 (NPM's static IP). Temporary fix: PVE1 has static ARP + gratuitous ARP from NPM. **Real fix**: assign Epson printer a different static IP in its web admin (find printer IP when it comes back up, log in to its config page, set static IP ≠ 10.48.200.200). DHCP reservation in FortiGate DHCP server for printer's MAC also works. + +### B. Windows Agent on Myron's Desktop — NEEDS ADMIN POWERSHELL +Run this in an **Admin PowerShell** (not Claude Code terminal): +```powershell +$env:JARVIS_REG_KEY='f846a9aaf7ce9a61742c63c87c4186052a71d2a580c65518' +& 'C:\Users\myron\repos\jarvis\public_html\agent\install-windows.ps1' +``` +After install: `Get-Service JARVISAgent` should show Running. + +### C. web.orbishosting.com NovaCPX 401 +Site routes correctly to NovaCPX but returns `401 Basic realm="Blair HQ"`. Need to check CyberPanel on NovaCPX (10.48.200.110) — either the website isn't created for web.orbishosting.com, or HTTP auth is enabled on the default site. Access CyberPanel at https://10.48.200.110:8090 to check. + +### D. Re-install JARVIS HA Custom Component (VM109 rebuilt) ```bash # From PVE1, get HA terminal or use Proxmox console for VM109: # Copy from JARVIS server to HA config: