Skip to main content

WebSC

WebSC is a daemon written in Python. It provides control of LedSC using the WebSocket protocol. Another function is triggers, which allow reactions to certain events (it is possible to connect more LedSC devices). WebSC publishes a total of 3 sessions.

Sessions

Control API

WebSocket session used for controlling LedSC.

Configuration API

Configuration endpoints for devices and buses.

Web application

Built-in web UI that uses the standard WebSC API.

Web application

One of the outputs of WebSC is the web interface. You can use it to control all the functions of the daemon. It uses the standard WebSC API, therefore it will only work 100% if the API is available.

Dashboard placeholder

Dashboard

Used for controlling individual LedSCs. You can set the colours using the slider or the colour palette. From the dashboard it is also possible to run triggers manually.

LedSC configuration placeholder

LedSC configuration

Configure default color, proximity sensor enable, bus speed, display name, etc. Assign individual devices to RS485 buses.

WebSC configuration placeholder

WebSC configuration

Includes API publishing settings and triggers. Triggers allow you to configure effects of certain events (e.g. unify colors of two or more LedSCs).

Dashboard details

Configured devices are automatically displayed in the dashboard. Each LedSC device has its own block with sliders to control the colour. After clicking on the colour palette you can set the colour using a dialog dependent on your web browser. You can also use the power button to artificially trigger a proximity sensor event.

Triggers

Each trigger can respond to only one event of one device. The number of triggers is not limited. Events: device colour change, proximity sensor event. Each trigger has a consequence that sets an arbitrary variable of any device to a static number or an arbitrary variable of another device.

Home Assistant integration

The control API can be connected to Home Assistant via integration (open-source smart home control). With Home Assistant you can easily control your lights with an app on your phone.

Learn more

RSpell

RSpell is a Linux device designed to control LedSC. It has 4x RS485 channels, so it is possible to divide installation into several sections. It can be connected to the Internet via Ethernet or Wi-Fi. The available OS has the WebSC service pre-installed, so there is no need to install anything complicated.

Gateway placeholder 1
Gateway placeholder 2
Gateway placeholder 3
View more