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
HASSHome Assistant integration

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.

Behind the scenes · Tech

We built our own ERP.

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

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

Tech stack

FrontendReact + Vite
BackendNode.js / Express
DatabasePostgreSQL
PDFCustom generator
Process mgmtPM2
AuthJWT / Role-based
File 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, using native HA authentication. No separate passwords.
SmartThings auto-reload — configurable reload every 10 minutes to keep the SmartThings integration 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 all integrations, Core and OS. Retry logic with 15-min intervals.
REST API with Bearer auth — all endpoints use requires_auth = True, HTTP 403 on any unauthorised request.
View on GitHub → v1.4.0 · MIT
__init__.py · easydomotica
# Only this HA user gets in
ALLOWED_USERNAME = "easydomotica"

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

# All views need HA auth token
requires_auth = True

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