Skip to content

Add Uno Platform mobile app (Homer.Kiosk) with C# markup#71

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/migrate-blazor-to-uno-platform
Draft

Add Uno Platform mobile app (Homer.Kiosk) with C# markup#71
Copilot wants to merge 4 commits intomainfrom
copilot/migrate-blazor-to-uno-platform

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Migrates Homer.NetDaemon Blazor frontend to a cross-platform mobile app targeting Android/iOS.

Implementation

Project Structure

  • Created Homer.Kiosk/ at repository root
  • Uno Platform 6.5 with .NET 10.0
  • C# markup UI (no XAML)
  • MVUX reactive state management
  • Material Design theme

Core Dashboard (Presentation/MainPage.cs)

  • Power controls for balcony lights and air conditioners
  • Weather and bus information placeholders
  • 3-column button grid with C# markup

Dependencies

  • NetDaemon packages (AppModel, Client, HassModel)
  • Reactive extensions (R3, System.Reactive)
  • Configured via Central Package Management

Example: C# Markup UI

new Grid()
    .ColumnDefinitions("*,*,*")
    .Height(200)
    .Children(
        CreatePowerButton("阳台灯", 0),
        CreatePowerButton("空调一", 1),
        CreatePowerButton("空调二", 2)
    )

Architecture

Homer.Kiosk/Homer.Kiosk/
├── Presentation/       # C# markup pages & MVUX models
├── Platforms/          # Android/iOS implementations
├── Models/             # Data models
└── Services/           # Application services

NetDaemon entity integration stubbed; requires Home Assistant connection configuration for full functionality.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • crl.godaddy.com
    • Triggering command: /usr/bin/dotnet dotnet restore (dns block)
    • Triggering command: /usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/Homer/Homer/Homer.Kiosk/Homer.Kiosk.sln --packages /home/REDACTED/work/Homer/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Homer/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Homer/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true conf�� /Presentation/SecondModel.cs --global /usr/local/.ghcup/bin/git credential.userngit (dns block)
  • ocsp.godaddy.com
    • Triggering command: /usr/bin/dotnet dotnet restore (dns block)
    • Triggering command: /usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/Homer/Homer/Homer.Kiosk/Homer.Kiosk.sln --packages /home/REDACTED/work/Homer/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Homer/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Homer/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true conf�� /Presentation/SecondModel.cs --global /usr/local/.ghcup/bin/git credential.userngit (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 9, 2026 13:25
Co-authored-by: qin-guan <10321883+qin-guan@users.noreply.github.com>
Co-authored-by: qin-guan <10321883+qin-guan@users.noreply.github.com>
Co-authored-by: qin-guan <10321883+qin-guan@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate Blazor frontend to Uno Platform mobile app Add Uno Platform mobile app (Homer.Kiosk) with C# markup Feb 9, 2026
Copilot AI requested a review from qin-guan February 9, 2026 13:35
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.

2 participants