Fixture
Functional
Fixture definitions must be uploaded to the file system. Examples can be found here:
- StarLight json fixtures (generated by StarLight)
- StarLight live fixtures and live effects
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
- FixtureState
- getState(): handleFixtureState handleStarState
- handleFixtureState()
- handleStarState()
- onMount(): socket fixture handleFixtureState
- sendSocket()
- SettingsCard: getState sendSocket