My startup · Since March 2024

Easydomotica

Home automation, CCTV, alarm systems and smart integrations — designed and installed from scratch. Built together with my business partner, one installation at a time.

Active company Co-Founder & CTO Castelletto Sopra Ticino
2024Founded
2Co-founders
ERPCustom-built software
HACSOpen-source HASS app

Services

What we do.

We design and install complete smart-home systems — from the cable up.

🏠

Home Automation

Full domotics design and installation — lighting, climate, blinds, energy monitoring and scene automation.

📹

CCTV & Surveillance

IP camera systems, NVR configuration, remote viewing and motion-triggered recording.

🔒

Alarm Systems

Intrusion detection, door/window sensors, sirens and smart alarm integrations.

Smart Automations

Custom automation flows, voice assistant integration, app control and scheduled routines.

Tech · Built in-house

We built our own ERP.

No off-the-shelf tool fit our workflow, so I built a full-stack business management system from scratch — used daily to run Easydomotica.

👥
CRM & Customer Registry
Full customer management with questionnaire, regional filters and linked interventions.
📦
Inventory & Catalogue
Dual-mode warehouse: admin catalogue with pricing logic (cost → markup → VAT) and a simplified stock view.
📄
Quote Builder
3-column modal with warehouse search, form and questionnaire. Package pricing, real-time totals, separate PDFs for client and technician.
🎫
Ticketing & Interventions
Job tracking with status, star ratings from the client portal and automatic admin notifications.
🌐
Client & Installer Portals
Separate React portals for clients and installers — each with its own auth and themed UI.
💬
Internal Chat & Notifications
Real-time messaging between colleagues, unread badges and automatic event notifications.

Tech stack

FrontendReact + Vite
BackendNode.js / Express
DatabasePostgreSQL
PDFCustom generator
Process mgmtPM2
AuthJWT / Role-based
StorageNAS + local
Repo🔒 Private

Open source · HACS

Home Assistant Integration.

A custom HA integration installable via HACS — built to manage client Home Assistant installations remotely from within the ERP.

Dedicated sidebar panel — visible only to the easydomotica HA user. No separate passwords.
SmartThings auto-reload — configurable reload every 10 minutes to keep integrations stable.
Integration scheduler — per-client reload schedules with configurable hours, days and intervals. Logs saved to NAS.
Update checker — reads live states from HA, detects pending updates for integrations, Core and OS. Retry logic with 15-min intervals.
REST API with Bearer auth — all endpoints enforce HA auth token. HTTP 403 on any unauthorised request.
View on GitHub → v1.4.0 · MIT
__init__.py
# Only this HA user gets in
ALLOWED_USERNAME = "easydomotica"

# Auto-reload every 10 min
RELOAD_INTERVAL = timedelta(minutes=10)

# All views need HA auth
requires_auth = True

# 403 for anyone else
if not _is_authorized(request):
  return json_response(
    {"error": "Accesso negato"},
    status=403)