Zum Inhalt

πŸ“œ Licensing Strategy

Stand: 25. Oktober 2025
Version: 1.0


🎯 HYBRID LICENSING MODEL

SolarLog verfolgt einen hybriden Ansatz aus Open Source und Proprietary Software:

  • Open Source Core: Transparenz, Community, Trust
  • Proprietary Tooling: Revenue, Innovation, Sustainability

πŸ“‚ OPEN SOURCE COMPONENTS

License: MIT / Apache 2.0

Backend API (FastAPI)

Repository: github.com/solarlog/backend
License: MIT

Beinhaltet:
βœ… REST API Core (FastAPI)
βœ… Database Models (SQLAlchemy)
βœ… Authentication/Authorization
βœ… API Documentation (OpenAPI/Swagger)
❌ KI-Analyse Services (Proprietary!)

Database Schemas

License: MIT

Beinhaltet:
βœ… PostgreSQL Schema Definitions
βœ… Alembic Migrations
βœ… Sample Data / Seed Scripts

Grafana Dashboards

License: Apache 2.0

Beinhaltet:
βœ… Dashboard JSON Templates
βœ… Panel Configurations
βœ… Alert Definitions

MkDocs Documentation

License: CC BY 4.0 (Creative Commons)

Beinhaltet:
βœ… Setup Guides
βœ… API Reference
βœ… Architecture Documentation
❌ Business Strategy (Proprietary!)

ESP32 Source Code

Repository: github.com/solarlog/esp32-firmware
License: Apache 2.0

Beinhaltet:
βœ… Arduino/PlatformIO Base Setup
βœ… API Client Library (REST/MQTT)
βœ… LVGL Integration (GrundgerΓΌst)
βœ… Display Drivers (E-Paper/OLED)
βœ… WiFi Manager
❌ Provisioning System (Proprietary!)
❌ Pre-built UI Screens (Proprietary!)
❌ OTA Update Service (Proprietary!)

Wichtig: - Source Code = Open Source (Community kann selbst kompilieren) - Compiled Binaries = Proprietary (benΓΆtigt Lizenz zum Flashen) - Vergleichbar mit Qt (LGPL vs. Commercial)


πŸ”’ PROPRIETARY COMPONENTS

Blockchain-Native Tools (Arweave)

ESP32 Flasher Web App

Storage: Arweave Blockchain
License: Proprietary (Commercial Use)
Access: NFT-gated

URL: https://flasher-v1.solarlog.ar
Functionality:
- WebSerial Browser Tool
- Firmware Binary Download (von Arweave)
- License Verification (Solana NFT)
- Credit Management (SmartWeave)
- WiFi Provisioning

VerfΓΌgbarkeit: Forever (200+ Jahre)
Kosten: Inkludiert in ESP32 Flash Credit

Pi Image Builder Tool

Storage: Arweave Blockchain
License: Proprietary (Commercial Use)
Access: NFT-gated

URL: https://builder-v1.solarlog.ar
Functionality:
- SD-Card Image Download
- License Verification
- Configuration Wizard
- First-Boot Setup

VerfΓΌgbarkeit: Forever (200+ Jahre)
Kosten: Inkludiert in Pi Image Preis (90-149€)

License Verification (SmartWeave Contract)

Blockchain: Arweave
Type: SmartWeave Contract (JavaScript)

Functionality:
- NFT Ownership Verification
- Credit Balance Management
- Device Registration (Anti-Fraud)
- License Expiry Tracking

Open Source: ❌ (Trade Secret)

Cloud Services (Your Infrastructure)

KI-Analyse Service API

Hosting: AWS/Hetzner (Your Infrastructure)
License: Proprietary (Trade Secret)
Access: Token-based (Stripe Payment)

Endpoints:
- POST /api/v1/analyze-invoice
- POST /api/v1/premium-analysis
- GET  /api/v1/token-balance

Technology:
- FastAPI Microservice
- OpenAI GPT-4 / Claude API
- OCR Service (Tesseract)
- ML Models (Custom)

Open Source: ❌ (Competitive Advantage!)

Firmware Binaries (.bin)

Storage: Arweave (per Version)
License: Proprietary (Commercial Use)

Versionen:
- ESP32_v1.0.bin β†’ TX: abc123...
- ESP32_v1.1.bin β†’ TX: def456...
- ESP32_v2.0.bin β†’ TX: ghi789...

Zugriff: Nur mit gΓΌltigem Flash Credit

βš–οΈ LICENSE COMPATIBILITY

Third-Party Dependencies

Component License Our Usage Compatibility
Grafana AGPL v3 Binary Dependency βœ… OK (nicht modifiziert)
PostgreSQL PostgreSQL License Binary Dependency βœ… OK (permissive)
FastAPI MIT Source Dependency βœ… OK (permissive)
Docker Apache 2.0 Binary Dependency βœ… OK (permissive)
EVCC MIT Binary Dependency βœ… OK (permissive)
LVGL MIT Source Dependency βœ… OK (permissive)
React MIT Source Dependency βœ… OK (permissive)
Material-UI MIT Source Dependency βœ… OK (permissive)

Grafana AGPL Hinweis: - Grafana ist AGPL v3 (Copy-Left!) - LΓΆsung: Grafana NUR als Binary nutzen, NICHT modifizieren - Dashboards (JSON) sind NICHT betroffen (kΓΆnnen proprietΓ€r sein) - Dokumentation: Grafana Setup Guide bleibt Open Source


πŸ“‹ DUAL-LICENSE MODEL (ESP32)

Option A: Open Source (Free)

Repository: github.com/solarlog/esp32-firmware
License: Apache 2.0

User kann:
βœ… Source Code herunterladen
βœ… Selbst kompilieren (PlatformIO)
βœ… Modifizieren nach Belieben
βœ… ESP32 selbst flashen (via USB/UART)
βœ… Keine Lizenzkosten

EinschrΓ€nkungen:
❌ Kein WebSerial Flasher Tool (nur Arweave)
❌ Kein WiFi Provisioning System
❌ Keine Pre-built UI Screens (LVGL)
❌ Kein OTA Update Service
❌ Kein Support

Zielgruppe: Maker, Experten, DIY-Community

Option B: Commercial (Paid)

Access: Arweave Flasher Web App
License: Proprietary Commercial

User erhΓ€lt:
βœ… Fertige Firmware Binary (.bin)
βœ… WebSerial Flasher Tool (Browser, einfach!)
βœ… WiFi Provisioning (Smartphone-Setup)
βœ… Pre-built LVGL UIs (Battery, Inverter, Grid)
βœ… OTA Update Service (1 Jahr)
βœ… Community Support

Kosten: 10€ pro ESP32 (einmalig)
Zielgruppe: End-User, Installationsfirmen

Vergleichbar mit: - Qt: LGPL (Open Source) vs. Commercial License - MongoDB: SSPL (Open Source) vs. Enterprise - Redis: BSD (Open Source) vs. Redis Ltd. (Enterprise)


πŸ” NFT-BASED LICENSING (Solana)

License Token (NFT)

// Solana NFT Metadata
{
  "name": "SolarLog Pi Image License v1.0",
  "symbol": "SLPI",
  "description": "Lifetime license for SolarLog Raspberry Pi Image",
  "image": "https://arweave.net/license-badge.png",
  "attributes": [
    { "trait_type": "Version", "value": "1.0" },
    { "trait_type": "ESP32 Credits", "value": 5 },
    { "trait_type": "Activated", "value": "2026-01-15" },
    { "trait_type": "Type", "value": "Pi Image" }
  ],
  "properties": {
    "license_key": "SLPI-ABC123-DEF456",
    "arweave_tx": "abc123def456ghi789..."
  }
}

Vorteile: - βœ… Transferable (Wiederverkauf mΓΆglich) - βœ… Verifiable (On-Chain Ownership) - βœ… Immutable (Kann nicht gefΓ€lscht werden) - βœ… Forever (Blockchain = permanent)


πŸ“œ LICENSE FILES

Root Repository

solarlog/
β”œβ”€β”€ LICENSE (MIT)
β”œβ”€β”€ LICENSE-COMMERCIAL.md
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ backend/
β”‚   └── LICENSE (MIT)
β”œβ”€β”€ frontend-web/
β”‚   └── LICENSE (MIT)
β”œβ”€β”€ esp32-firmware/
β”‚   └── LICENSE (Apache 2.0)
β”œβ”€β”€ docs/
β”‚   └── LICENSE (CC BY 4.0)
└── proprietary/
    └── LICENSE (Proprietary - All Rights Reserved)

LICENSE-COMMERCIAL.md

# Commercial License

This software is dual-licensed:

1. Open Source (MIT/Apache 2.0) - See LICENSE file
2. Commercial License - This document

## Proprietary Components

The following components require a commercial license:

- ESP32 Flasher Web App (Arweave)
- Pi Image Builder Tool (Arweave)
- License Verification System (SmartWeave)
- KI-Analyse Services API
- Compiled Firmware Binaries (.bin)

## Purchase License

To purchase a commercial license, visit:
https://solarlog.io/buy

Or contact: licensing@solarlog.io

## Terms

- One-time payment (no subscriptions)
- Lifetime license (per device/installation)
- NFT-based verification (Solana blockchain)
- See full terms: https://solarlog.io/terms

Wichtig: - Diese Lizenz-Strategie ist ein Konzept - Vor Implementierung: Anwalt konsultieren! - Besonders wichtig: - GPL/AGPL Compatibility - Dual-Licensing Terms - NFT Legal Status (variiert nach Land) - GDPR/DSGVO Compliance - Commercial Use Terms

Empfohlene Anwaltskanzleien: - Taylor Wessing (Tech/Open Source) - Bird & Bird (IP/Blockchain) - Osborne Clarke (Software Licensing)


🎯 ZUSAMMENFASSUNG

Component License Revenue Rationale
Backend API MIT ❌ Transparenz, Community
Database MIT ❌ Standard, Integration
Grafana Dashboards Apache 2.0 ❌ Templates, Sharing
Documentation CC BY 4.0 ❌ Knowledge Sharing
ESP32 Source Apache 2.0 ❌ Maker-Community
Flasher Tool Proprietary βœ… Revenue, UX
Pi Builder Proprietary βœ… Revenue, Convenience
Firmware Binaries Proprietary βœ… Revenue, Quality
KI-Analyse API Proprietary βœ… Competitive Moat

Strategie: - Open Source: Vertrauen, Community, Adoption - Proprietary: Revenue, Innovation, Sustainability - Balance: Fair fΓΌr User, profitabel fΓΌr Business


See also: - Revenue Model - Privacy & GDPR - Blockchain Architecture