UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

80 lines (78 loc) 1.89 kB
import type { Hub } from '../../src/index.ts' export const hub: Hub = { id: '00000000-0000-0000-0000-000000000000', relationId: '00000000-0000-0000-0000-000000000000', type: 'gateway', deviceType: 'gateway', createdAt: '2000-01-01T00:00:00.000Z', isReachable: true, lastSeen: '2000-01-01T00:00:00.000Z', attributes: { customName: 'Home', model: 'DIRIGERA Hub for smart products', manufacturer: 'IKEA of Sweden', firmwareVersion: '2.354.0', hardwareVersion: 'P2.5', serialNumber: '00000000-0000-0000-0000-000000000000', identifyStarted: '2000-01-01T00:00:00.000Z', identifyPeriod: -1, otaStatus: 'upToDate', otaState: 'readyToCheck', otaProgress: 0, otaPolicy: 'autoDownload', otaScheduleStart: '00:00', otaScheduleEnd: '00:00', permittingJoin: false, backendConnected: true, backendConnectionPersistent: true, backendOnboardingComplete: true, backendRegion: 'eu-central-1', backendCountryCode: 'CH', userConsents: [ { name: 'analytics', value: 'disabled', }, { name: 'diagnostics', value: 'enabled', }, ], logLevel: 0, coredump: false, timezone: 'Europe/Zurich', nextSunSet: '2000-01-01T00:00:00.000Z', nextSunRise: '2000-01-01T00:00:00.000Z', homestate: 'home', countryCode: 'XZ', coordinates: { latitude: 0, longitude: 0, accuracy: -1, }, isOn: false, }, capabilities: { canSend: [], canReceive: [ 'customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates', ], }, deviceSet: [], remoteLinks: [], dynamicFeatures: [ { type: 'matterControllerEnabled', enabled: true, featureVersion: '1.0', }, ], environment: 'prod', }