Skip to content

Fixture

Functional

Fixture definitions must be uploaded to the file system. Examples can be found here:

Technical

Using component FileEdit, see Components

Server

FixtureService.h and FixtureService.cpp

  • StarLight LedModFixture
  • FixtureState: StarLight: Variable("Fixture", ...)
  • FixtureService:
    • HttpEndpoint, EventEndpoint, WebSocketServer, FSPersistence
    • loop50ms: socket->emitEvent ledsP

UI

Fixture.svelte

  • FixtureState
  • getState(): handleFixtureState handleStarState
  • handleFixtureState()
  • handleStarState()
  • onMount(): socket fixture handleFixtureState
  • sendSocket()
  • SettingsCard: getState sendSocket