-
Notifications
You must be signed in to change notification settings - Fork 0
en Running Locally
root edited this page Nov 5, 2025
·
4 revisions
You will need the library to work:
pip install secontrolVariables can be defined in the .env file in the root of the project or system.
Variable values must be obtained in the personal account on the page https://www.outenemy.ru/se/
| Variable | Purpose |
|---|---|
REDIS_USERNAME |
Username for authorization. |
REDIS_PASSWORD |
Password for connection. |
Quick code to check operation:
from secontrol.common import prepare_grid
#First player's grid
grid = prepare_grid()
#Devices on the grid
print(", ".join((d.name or f"{d.device_type}:{d.device_id}") for d in grid.devices.values()) or "(no devices)")Ready-made scripts are located in the examples directory.