GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - subsubl/Spoke: Ixian Network Based Home Assistant Multi Platform App

BranchesTags
Open more actions menu

Latest commit

 

History

48 Commits
48 Commits

Folders and files

NameName
Last commit message
Last commit date
Ixian-Core @ 1326ccb
Ixian-Core @ 1326ccb
 
 
Ixian-Docs @ 0950b9e
Ixian-Docs @ 0950b9e
 
 
QuIXI @ 7946a77
QuIXI @ 7946a77
 
 
QuixiScripts
QuixiScripts
 
 
Spixi @ 6c5e24a
Spixi @ 6c5e24a
 
 
Spoke
Spoke
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE
LICENSE
 
 
Program.cs
Program.cs
 
 
README.md
README.md
 
 
ResetPreferences.csproj
ResetPreferences.csproj
 
 
dotnet-install.ps1
dotnet-install.ps1
 
 
gemini.md
gemini.md
 
 
reset_preferences.cs
reset_preferences.cs
 
 

Repository files navigation

Spoke

Spoke is a decentralized, cross-platform smart home controller built on the Ixian Platform. It provides secure, privacy-first control of your Home Assistant devices through QuIXI bridge integration, with post-quantum encryption and no central servers.


šŸš€ Features

  • šŸ  Smart Home Control - Manage lights, switches, sensors, and more
  • šŸ”’ Post-Quantum Secure - Uses Ixian's hybrid RSA + ECDH + ML-KEM encryption
  • 🌐 Decentralized - No central servers, communicates via QuIXI bridge
  • šŸ“± Cross-Platform - Android, iOS, Windows, and macOS support
  • šŸŽØ Customizable Widgets - Choose from toggles, gauges, graphs, and sensors
  • šŸ“Š Real-Time Updates - Live WebSocket synchronization with QuIXI
  • šŸ”” Push Notifications - Get notified on important entity state changes
  • šŸŒ“ Dark Mode - Beautiful light and dark themes
  • šŸ” Secure Storage - Local entity configuration with optional authentication
  • ā™»ļø Background Sync - Automatic state synchronization in the background
  • šŸ‘¤ Spixi Integration - Built-in wallet creation, username, and profile setup
  • šŸ—ļø Blockchain Identity - Your cryptographic address is your identity

šŸ†• Recent Updates (v0.1.1 - November 2025)

.NET 10 Migration Complete āœ…

  • Migrated from .NET 9 to .NET 10 - Latest .NET framework with improved performance and security
  • Cross-platform compatibility - Successfully builds on Windows, iOS, macOS, and Android
  • Updated dependencies - All NuGet packages upgraded to .NET 10 compatible versions
  • Conditional compilation - Platform-specific code properly isolated with #if WINDOWS directives

Enhanced Security & Performance

  • Post-quantum encryption - ML-KEM integration for quantum-resistant security
  • Improved build system - Optimized for .NET 10 MAUI workloads
  • Better error handling - Enhanced exception management across platforms

Localization Support

  • Multi-language files - Language files copied from Spixi (English, German, etc.)
  • Extensible translation system - Ready for UI string adaptation and localization

Spoke integrates with Spixi to provide secure blockchain-based identity management. Unlike traditional apps that use passwords and central servers, Spoke uses cryptographic identities that you control.

Why Blockchain Identity?

  • Self-Sovereign - You own your identity, not a corporation
  • Post-Quantum Secure - Protected against future quantum computing threats
  • Decentralized - No central authority can revoke your access
  • Privacy-First - Your identity is just a cryptographic address

Onboarding Process

The first-run setup creates:

  1. Cryptographic Wallet - Your private keys for signing and encryption
  2. Username - Human-readable identifier for your contacts
  3. Profile Picture - Avatar for visual identification
  4. Ixian Address - Your unique blockchain identity

Security Benefits

  • End-to-End Encryption - All communication is cryptographically secure
  • No Passwords - Authentication uses public-key cryptography
  • Forward Secrecy - Past communications remain secure even if keys are compromised
  • Zero-Knowledge - QuIXI cannot read your smart home data

šŸ“‹ Prerequisites

  • .NET 10 SDK or later
  • Visual Studio 2022 (with .NET MAUI workload) or VS Code
  • QuIXI Bridge running and accessible
  • Home Assistant instance (connected to QuIXI via MQTT)
  • MQTT Broker (Mosquitto or similar)

šŸ› ļø Build Instructions

1. Clone Repositories

# Clone Ixian-Core (required dependency)
git clone -b development https://github.com/ixian-platform/Ixian-Core.git

# Clone Spoke
git clone https://github.com/ixian-platform/Spoke.git
cd Spoke

2. Restore Dependencies

dotnet restore Spoke.sln

3. Build the Project

Using Visual Studio

  1. Open Spoke.sln in Visual Studio 2022
  2. Select your target platform (Android, iOS, Windows, macOS)
  3. Press F5 to build and run

Using Command Line

# For Android
dotnet build -t:Run -f net10.0-android

# For iOS (requires Mac)
dotnet build -t:Run -f net10.0-ios

# For Windows
dotnet build -t:Run -f net10.0-windows10.0.19041.0 -p:Platform=x64

# For macOS
dotnet build -t:Run -f net10.0-maccatalyst

4. Release Build

dotnet build -c Release -f net10.0-android
# Output: Spoke/bin/Release/net10.0-android/io.ixian.Spoke-Signed.apk

āš™ļø Configuration

QuIXI Setup

  1. Start QuIXI Bridge with Home Assistant integration:

    cd QuIXI
    dotnet run
  2. Configure QuIXI in ixian.cfg:

    apiPort = 8001
    mqDriver = mqtt
    mqHost = localhost
    mqPort = 1883
  3. Connect Home Assistant to MQTT:

    • In Home Assistant, go to Settings → Integrations → MQTT
    • Configure broker address (same as QuIXI mqHost)

Spoke Setup

  1. Launch Spoke for the first time
  2. Welcome Screen - Introduction to blockchain-based smart home control
  3. Create Your Wallet - Generate a secure cryptographic wallet for your Ixian identity
  4. Choose Username & Avatar - Set up your profile with username and profile picture
  5. Configure QuIXI Connection - Enter your QuIXI bridge details:
    • QuIXI Address: IP address of QuIXI bridge (e.g., 192.168.1.100)
    • Port: 8001 (default)
    • Username/Password: (if configured in QuIXI)
  6. Test Connection - Verify connectivity to QuIXI bridge
  7. Setup Complete - Your secure smart home controller is ready!

Alternative Manual Setup

If you need to reconfigure settings later:

  1. Open Settings (hamburger menu → Settings)
  2. Configure Home Assistant:
    • Home Assistant URL: Your HA instance URL
    • Access Token: Generate from HA (Profile → Long-Lived Access Tokens)
  3. Tap Test Connection to verify
  4. Tap Save Settings

šŸ“± Usage

Adding Entities

  1. Go to Home page
  2. Tap + Add Entity
  3. Tap Load Entities from QuIXI
  4. Browse available Home Assistant entities
  5. Select an entity to add
  6. Choose widget type:
    • Toggle - For switches, lights (on/off control)
    • Sensor - For temperature, humidity (read-only display)
    • Gauge - For numeric values with visual gauge
    • Graph - For historical data visualization
  7. Customize name and icon
  8. Tap Save

Controlling Entities

  • Toggle entities: Tap to switch on/off
  • Lights: Long-press for brightness/color control (coming soon)
  • View details: Tap entity to see full state and attributes

Organizing Entities

  • Reorder: Long-press and drag entities (coming soon)
  • Edit: Tap entity → Edit button
  • Delete: Tap entity → Delete button → Confirm

šŸ—ļø Architecture

Project Structure

Spoke/
ā”œā”€ā”€ Spoke.sln              # Solution file
ā”œā”€ā”€ Spoke/
│   ā”œā”€ā”€ Spoke.csproj       # Project file
│   ā”œā”€ā”€ App.xaml             # Application entry
│   ā”œā”€ā”€ AppShell.xaml        # Shell navigation
│   ā”œā”€ā”€ MauiProgram.cs       # MAUI initialization
│   ā”œā”€ā”€ Meta/
│   │   ā”œā”€ā”€ Config.cs        # App configuration
│   │   └── Node.cs          # Ixian node management
│   ā”œā”€ā”€ Network/
│   │   └── QuixiClient.cs   # QuIXI bridge communication
│   ā”œā”€ā”€ Data/
│   │   ā”œā”€ā”€ Entity.cs        # Entity models
│   │   └── EntityManager.cs # Entity CRUD operations
│   ā”œā”€ā”€ Pages/
│   │   ā”œā”€ā”€ HomePage.xaml    # Main dashboard
│   │   ā”œā”€ā”€ SettingsPage.xaml
│   │   ā”œā”€ā”€ AddEntity/       # Add entity workflow
│   │   └── EntityDetail/    # Entity detail/edit
│   ā”œā”€ā”€ Controls/            # Custom UI controls (coming soon)
│   └── Resources/
│       ā”œā”€ā”€ Styles/          # Colors and styles
│       ā”œā”€ā”€ Images/          # Icons and images
│       └── Fonts/           # OpenSans fonts

Data Flow

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   Spoke App   │
│   (MAUI UI)     │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
         │
         ↓
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   QuixiClient      │
│  (REST/WebSocket)  │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
         │
         ↓
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   QuIXI Bridge     │
│  (Ixian Gateway)   │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
         │
         ↓ MQTT
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   MQTT Broker      │
│   (Mosquitto)      │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
         │
         ↓
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│  Home Assistant    │
│   (Smart Home)     │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

Key Components

  • EntityManager: Singleton managing entity CRUD and persistence with JSON storage
  • QuixiClient: HTTP client implementing IQuixiClient for QuIXI REST API
  • SyncService: Handles bidirectional sync with 30s polling and event-based updates
  • NotificationService: Cross-platform notification system for state changes
  • Node: Manages Ixian node lifecycle and QuIXI connection
  • Config: Handles app configuration and secure storage

šŸ” Security

Data Storage

  • Entity Configuration: Stored locally in entities.json
  • Credentials: Stored in platform-specific secure storage (Keychain/KeyStore)
  • Device ID: Generated on first run, persists across app launches

Network Security

  • All communication with QuIXI uses Ixian's post-quantum encryption
  • MQTT messages encrypted by Home Assistant/MQTT broker
  • Optional: Enable authentication for app lock screen

🚧 Roadmap

Phase 1 (Current - v0.1.1) āœ… COMPLETE

  • āœ… Basic entity management (add, edit, delete)
  • āœ… 4 widget types (Toggle, Sensor, Gauge, Graph)
  • āœ… QuIXI HTTP client integration
  • āœ… Settings page with secure storage
  • āœ… Cross-platform support (Android, iOS, Windows, macOS)
  • āœ… Background sync service with 30s polling
  • āœ… Platform-specific notification services
  • āœ… Interfaces for testability (IQuixiClient, IEntityManager, INotificationService)
  • āœ… .NET 10 migration and optimization
  • āœ… Multi-language support foundation
  • āœ… Post-quantum encryption integration

Phase 2 (v0.2.0) - Next Priority

  • ⬜ Gauge widgets (circular/linear)
  • ⬜ Graph widgets with historical data
  • ⬜ Light brightness and color control
  • ⬜ Drag-and-drop entity reordering
  • ⬜ Entity grouping/folders
  • ⬜ UI localization implementation

Phase 3 (v0.3.0)

  • ⬜ WebSocket/MQTT real-time updates
  • ⬜ Push notifications for entity state changes
  • ⬜ Automation/scene support
  • ⬜ Widget customization (size, color schemes)

Phase 4 (v0.4.0)

  • ⬜ Multi-language support
  • ⬜ Backup/restore configuration
  • ⬜ Multi-QuIXI support (multiple homes)
  • ⬜ Voice control integration

Phase 5 (v1.0.0)

  • ⬜ Dashboard layouts (grid, list, custom)
  • ⬜ Advanced charting (energy monitoring, weather)
  • ⬜ Camera/media entity support
  • ⬜ Spixi Mini App integration

šŸ¤ Contributing

We welcome contributions from developers and smart home enthusiasts!

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


šŸ”— Links

  • Ixian Platform: https://www.ixian.io
  • Ixian Documentation: https://docs.ixian.io
  • QuIXI Bridge: https://github.com/ixian-platform/QuIXI
  • Ixian Core: https://github.com/ixian-platform/Ixian-Core
  • Home Assistant: https://www.home-assistant.io

šŸ’¬ Support

  • Issues: GitHub Issues
  • Discord: Ixian Community
  • Email: [email protected]

šŸ™ Acknowledgments

  • Built on the Ixian Platform
  • Uses .NET MAUI for cross-platform development
  • Inspired by Home Assistant and Spixi
  • Icons from Material Design Icons

Made with ā¤ļø by the Ixian Platform community

About

Ixian Network Based Home Assistant Multi Platform App

Topics

decentralized-applicationshome-assistanthomeassistantixianmauispixi

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.