{
  "hub": {
    "id": "hub-7f3a91c2",
    "name": "Maple House",
    "model": "Nexus Home Hub Pro",
    "firmware": {
      "version": "4.12.3",
      "channel": "stable",
      "autoUpdate": true,
      "lastUpdated": "2026-07-28T03:14:22-04:00"
    },
    "location": {
      "timezone": "America/Toronto",
      "latitude": 43.6532,
      "longitude": -79.3832
    },
    "network": {
      "status": "online",
      "connection": "ethernet",
      "ipAddress": "192.168.1.20",
      "protocols": [
        "matter",
        "thread",
        "zigbee",
        "zwave",
        "wifi",
        "bluetooth"
      ]
    }
  },
  "household": {
    "mode": "home",
    "members": [
      {
        "id": "user-001",
        "name": "Alex",
        "role": "owner",
        "present": true
      },
      {
        "id": "user-002",
        "name": "Morgan",
        "role": "admin",
        "present": false
      }
    ]
  },
  "rooms": [
    {
      "id": "room-living",
      "name": "Living Room",
      "floor": 1,
      "devices": [
        {
          "id": "light-living-main",
          "name": "Ceiling Lights",
          "type": "dimmable_light",
          "manufacturer": "Luma",
          "online": true,
          "state": {
            "power": true,
            "brightness": 62,
            "colorTemperatureKelvin": 3200
          },
          "capabilities": [
            "power",
            "brightness",
            "color_temperature"
          ]
        },
        {
          "id": "thermostat-main",
          "name": "Main Thermostat",
          "type": "thermostat",
          "manufacturer": "ClimaSense",
          "online": true,
          "state": {
            "mode": "cool",
            "ambientTemperatureCelsius": 23.4,
            "targetTemperatureCelsius": 22.0,
            "humidityPercent": 46,
            "fan": "auto",
            "heatingActive": false,
            "coolingActive": true
          },
          "schedule": [
            {
              "days": [
                "monday",
                "tuesday",
                "wednesday",
                "thursday",
                "friday"
              ],
              "periods": [
                {
                  "start": "06:30",
                  "targetTemperatureCelsius": 21.5
                },
                {
                  "start": "08:30",
                  "targetTemperatureCelsius": 24.0
                },
                {
                  "start": "17:00",
                  "targetTemperatureCelsius": 22.0
                },
                {
                  "start": "23:00",
                  "targetTemperatureCelsius": 20.5
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "room-entry",
      "name": "Front Entry",
      "floor": 1,
      "devices": [
        {
          "id": "lock-front-door",
          "name": "Front Door Lock",
          "type": "smart_lock",
          "manufacturer": "SecureEntry",
          "online": true,
          "batteryPercent": 78,
          "state": {
            "locked": true,
            "doorOpen": false,
            "lastOperation": {
              "action": "locked",
              "method": "automation",
              "timestamp": "2026-07-31T21:45:03-04:00"
            }
          }
        },
        {
          "id": "camera-doorbell",
          "name": "Video Doorbell",
          "type": "camera",
          "manufacturer": "Watchful",
          "online": true,
          "state": {
            "recording": false,
            "motionDetected": false,
            "streamAvailable": true,
            "privacyMode": false
          },
          "settings": {
            "resolution": "2560x1440",
            "nightVision": true,
            "motionZones": [
              {
                "name": "Porch",
                "enabled": true,
                "sensitivity": 0.72
              },
              {
                "name": "Sidewalk",
                "enabled": false,
                "sensitivity": 0.4
              }
            ]
          }
        }
      ]
    },
    {
      "id": "room-basement",
      "name": "Basement",
      "floor": -1,
      "devices": [
        {
          "id": "sensor-water-heater",
          "name": "Water Heater Leak Sensor",
          "type": "water_sensor",
          "manufacturer": "DryGuard",
          "online": true,
          "batteryPercent": 91,
          "state": {
            "leakDetected": false,
            "temperatureCelsius": 19.8,
            "lastTested": "2026-07-30T09:00:00-04:00"
          }
        }
      ]
    }
  ],
  "automations": [
    {
      "id": "automation-goodnight",
      "name": "Good Night",
      "enabled": true,
      "trigger": {
        "type": "voice_or_schedule",
        "voicePhrase": "Good night",
        "schedule": {
          "time": "23:30",
          "days": [
            "sunday",
            "monday",
            "tuesday",
            "wednesday",
            "thursday"
          ]
        }
      },
      "conditions": [
        {
          "type": "household_mode",
          "operator": "equals",
          "value": "home"
        }
      ],
      "actions": [
        {
          "deviceId": "light-living-main",
          "command": "set_power",
          "value": false
        },
        {
          "deviceId": "lock-front-door",
          "command": "lock"
        },
        {
          "deviceId": "thermostat-main",
          "command": "set_target_temperature",
          "value": 20.5,
          "unit": "celsius"
        }
      ],
      "lastRun": {
        "timestamp": "2026-07-30T23:30:01-04:00",
        "status": "success",
        "durationMilliseconds": 842
      }
    },
    {
      "id": "automation-leak-alert",
      "name": "Emergency Leak Response",
      "enabled": true,
      "trigger": {
        "type": "device_state",
        "deviceId": "sensor-water-heater",
        "property": "leakDetected",
        "operator": "equals",
        "value": true
      },
      "actions": [
        {
          "command": "send_notification",
          "recipients": [
            "user-001",
            "user-002"
          ],
          "priority": "critical"
        },
        {
          "command": "activate_siren",
          "durationSeconds": 60
        }
      ],
      "lastRun": null
    }
  ],
  "energy": {
    "currency": "CAD",
    "currentDemandWatts": 1842,
    "today": {
      "consumptionKilowattHours": 18.73,
      "estimatedCost": 2.91
    },
    "monthToDate": {
      "consumptionKilowattHours": 612.4,
      "estimatedCost": 94.67
    },
    "topConsumers": [
      {
        "category": "cooling",
        "consumptionKilowattHours": 184.2
      },
      {
        "category": "water_heating",
        "consumptionKilowattHours": 121.8
      },
      {
        "category": "appliances",
        "consumptionKilowattHours": 96.5
      }
    ]
  },
  "alerts": [
    {
      "id": "alert-battery-0042",
      "severity": "warning",
      "category": "battery",
      "message": "Garage side-door sensor battery is low.",
      "deviceId": "sensor-garage-side-door",
      "createdAt": "2026-07-31T18:22:14-04:00",
      "acknowledged": false
    }
  ],
  "system": {
    "status": "healthy",
    "uptimeSeconds": 1948273,
    "lastBackup": {
      "timestamp": "2026-07-31T02:00:07-04:00",
      "destination": "encrypted_cloud",
      "status": "completed",
      "sizeBytes": 4839217
    },
    "generatedAt": "2026-07-31T22:07:46-04:00"
  }
}