One home server will record cameras and control lights on the local network. Microsoft sign-in protects the dashboard and all application actions. Docs remain public. No home server, camera stream or light-control service is connected yet.
Planned architecture, not a deployed system. The equipment is ordered. Documented compatibility must still be verified on the delivered hardware.
Inside the home
1Local camerasIndependent streams with local credentials
→
2FrigateRecord locally; detect motion or selected people
→
3Home AssistantReceive local events and run lighting rules
→
4Zigbee / WiZ bulbsLocal commands, without a vendor subscription
Local MQTT carries automation events. Main camera streams are recorded without re-encoding; low-resolution substreams serve detection. Start person detection on only one or two cameras and measure the purchased server's capacity.
Browser and remote access
The existing private S3 bucket and CloudFront distribution serve the sign-in landing page, Docs and static assets. Private dashboard and task pages are packaged with the authenticated Lambda, not published as public static files. They are served only after a valid Microsoft session. They are not a route into the home network.
Remote viewing will need an owner-controlled VPN or a separately secured connection. Important clips may optionally be backed up to the owner's S3 account; local recording must not depend on that backup.
Microsoft sign-in
The app uses the same Entra tenant and app-assignment approach as the other dliu.com apps. Configure the enterprise application to require assignment and assign only the intended home users. The server verifies Microsoft's signature, tenant, app audience, expiry and sign-in nonce, then accepts an account from the root domain.
Sign-in requests only basic identity information, not Microsoft Graph file access or OneDrive permissions. App credentials stay in SSM. The server issues a secure, HTTP-only session cookie lasting up to twelve hours; documentation needs no session or sign-in check.
Optional Google Assistant
Voice control is not connected. The intended path is Google Assistant, authenticated account linking, Home Assistant, then a local bulb command. A website address alone does not provide this integration.
Manual Google integration avoids the Home Assistant Cloud subscription but still needs a Google developer project, OAuth and a secured HTTPS endpoint. Expose selected lights only, never camera streams or administrator access. Google voice depends on the internet; local camera-to-light automation must continue without it.
Six replacement cameras, fourteen bulbs and one Dell server are ordered for comparison. An order is not a successful compatibility test. See the signed-in dashboard inventory for quantities.
The server
Dell OptiPlex 3050 Micro: i5-7500T, 16 GB RAM, 512 GB SSD and Intel HD 630. Begin with Ethernet, check the SSD, and measure decoding, recording, selective AI and playback together. A separate GPU, Coral or larger disk is not a prerequisite for this trial.
Existing GNCC GC4 four-pack
Only one representative camera is being tested, as requested. The original cameras came from the same pack; the remaining three have not been independently validated.
Common web and streaming ports were closed, ONVIF discovery received no reply, and no local-stream setting was found in Osaio. There is no verified manufacturer-independent local stream. That does not prove every possible interface or firmware modification is impossible. A 15-minute broader check timed out after 28,734 attempts and was incomplete. A separate native-tool check found ports 554, 8554, 10554, 34567, 37777 and 50000 closed while the camera answered LAN ping. Timeouts are inconclusive, not closed ports.
Vendor-app viewing and SD-card recording working without internet would not, by themselves, establish an independent stream. No GC4-specific compatible replacement firmware has been verified; do not flash another model's image.
Two lighting paths
The Zigbee bulbs share one SONOFF ZBDongle-E coordinator using ZHA or Zigbee2MQTT. Check coordinator firmware before pairing; these are alternative coordinator stacks, not two services to run against the same stick simultaneously.
4lite and Philips WiZ bulbs use local Wi-Fi. Initial provisioning uses the WiZ phone app, with local communication enabled; Home Assistant then provides local control. The included 4lite remote also needs testing.
Fixed warm-white bulbs are fine. Dimming, adjustable white and colours are optional. Keep smart bulbs mains-powered and do not use ordinary wall dimmers.
The experiment uses the ordered Dell and its 512 GB SSD first. No additional storage purchase is assumed.
6cameras in the recording target
48 hinitial continuous-recording target
259.2 GBvideo at 2 Mbps per camera, before overhead
This is sizing arithmetic, not measured retention. Audio, actual bitrates, usable disk capacity, operating-system space and free-space policy all affect the result. A healthy HDD is suitable for additional video storage if needed.
The home server uses electricity continuously. AWS website delivery, optional clip storage and transfer are usage-billed. No exact monthly total or actual order price has been established here; manufacturer camera subscriptions are not part of the target design.
Security boundaries
A public progress page must never become public access to the home.
There are no device credentials, private stream URLs, home-network addresses or device identifiers in this interface.
Do not expose cameras, MQTT or Home Assistant administration using port forwarding or DMZ. All application requests, including retained task reads and writes, require a server-verified Microsoft session. Device integration must use the same gate.
Test device internet blocking while preserving the server's LAN path. A separate Wi-Fi name does not enforce isolation. Check IPv6 too.
Anonymous website checks must never switch a light, move a camera, save a clip or change network rules.
The old task pages and API are retained with existing records untouched, but are no longer anonymous. Old links redirect to signed-in pages; bypassing the interface does not bypass the API session check.
Writes and sign-out require the exact site origin. Authenticated pages and APIs are not cached, direct Lambda URLs require CloudFront's IAM signature, and authentication/session cookies are not written to CloudFront cookie logs.
The current public health endpoint checks the legacy task database only. A successful website check is not evidence that the home server or any physical device is online.
Testing
Website availability and physical-device readiness are separate checks. All physical-device acceptance tests are pending. No camera, bulb or home-server acceptance test has passed merely because this page loads.
Two separate kinds of evidence
Website checksPages open, inventory is honest, links and layout work
Owner-run device checksLocal streams, real bulb commands, offline restart and recording recovery
PassThe specific check succeeded
Pending or inconclusiveNo success claimed without evidence
FailRecord the problem and its regression test
Website regression checks
The dashboard must not invent online counts or working switches before integration. The previous narrow-screen layout nested its tablet breakpoint inside the phone breakpoint, so tablet layouts could not adapt correctly; the responsive checks now cover phone, tablet and desktop widths.
Check that all public pages retain the shared navigation and styling, that camera and lighting notes stay accessible from the dashboard, and that unavailable controls remain disabled. Website checks are read only.
Sign-in regression checks
A guest can read Docs but is sent to Microsoft sign-in before any dashboard or legacy task page opens. Direct API reads and writes must refuse guests, expired sessions, forged cookies and login cookies replayed as sessions. A valid session must still be refused for a cross-site write or sign-out. Missing credentials must close access, never silently make the interface public.
Check wrong-tenant, wrong-app, expired, wrong-nonce and incorrectly signed Microsoft tokens. Confirm an authorized callback opens the requested private page, private responses are not cached, and CloudFront write requests carry the correct body signature. A real Microsoft sign-in still requires deployment and the registered callback; local mocked tests are not a live-account test.
A deployment regression made protected routes and the health check show “page not found” because CloudFront lacked one of the two permissions required by Lambda URLs. Infrastructure checks now require both permissions for both handlers, scoped to this distribution and URL invocation only.
Camera acceptance / pending
Verify exact model and revision, local credentials, high- and low-resolution streams, live viewing, audio where supported, saved playback and day/night transitions. Block camera internet while preserving LAN; reconnect and cold-restart the camera, then confirm recording recovers. Run a 24-hour trial before relying on it.
Lighting and automation / pending
Pair one of each exact model. Test on/off and each supported optional feature without vendor internet, including after a power cycle. Check motion-to-light latency, inactivity delay, manual override and unwanted retriggers when lighting changes. No detection does not prove an occupied room is empty.
Home server / pending
Check disk health, hardware acceleration, measured recording retention, simultaneous playback and selected AI cameras, and recovery after a server restart. Verify local automation continues without Google or clip backup.
What public checks cannot prove
Public checks can read the website and legacy task service. They do not authenticate to the home network, play private recordings, test Google voice or operate hardware. The existing database health check is not home-server health.