Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- amperageRounding - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
AMPERAGE_ROUNDING— знаки для ампер. - AppConfig - Class in ru.gentoos.ehouse
-
Общие бины приложения (транспорт, планировщик).
- AppConfig() - Constructor for class ru.gentoos.ehouse.AppConfig
- Assistant - Interface in ru.gentoos.ehouse.assistant
-
Базовый контракт ассистента (порт
e_lib.assistants.base.Assistant). - assistants - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig
-
Секция
Assistants(конфигурации ассистентов). - AssistantsSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
B
- body() - Method in exception class ru.gentoos.ehouse.http.HttpException
-
Тело ответа, если было (иначе
null). - Bot - Interface in ru.gentoos.ehouse.messenger
-
Базовый интерфейс бота-мессенджера (порт
Messengers/bot.py). - build() - Method in class ru.gentoos.ehouse.EHouseComponents
-
Выполняет сборку компонентов в порядке Python-оригинала.
C
- call(Tracer, String, Supplier<T>) - Static method in class ru.gentoos.ehouse.tracing.Trace
-
Исполняет код внутри спана
name, когда трейсер задан. - changed(EHouseConfig, EHouseConfig) - Method in class ru.gentoos.ehouse.config.ConfigService
-
Проверяет, изменилась ли конфигурация (сравнение сериализаций).
- chatId - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
-
CHAT_ID— чат для уведомлений. - checkInterval - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierConfig
-
CHECK_INTERVAL, сек. - checkInterval - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DogConfig
-
CHECK_INTERVAL, сек. - checkInterval - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
CHECK_INTERVAL, сек. - checkInterval - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
-
CHECK_INTERVAL— интервал, сек. - checkValue(double) - Method in class ru.gentoos.ehouse.assistant.ThresholdMonitorAssistant
-
Сравнивает значение с порогами и уведомляет при нарушении.
- checkValue(double, Double, Double) - Method in class ru.gentoos.ehouse.assistant.ThresholdMonitorAssistant
-
Сравнивает значение с порогами (с возможностью переопределить их) и уведомляет при нарушении.
- city - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.OpenWeatherSection
-
CITY— город для запроса погоды. - cleanPeriod - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.LangfuseCleanerConfig
-
CLEAN_PERIOD— период очистки, дней. - ClimateAssistant - Class in ru.gentoos.ehouse.assistant
-
Ассистент контроля температуры и влажности (порт
Assistants/climate.py). - ClimateAssistant(String, ClimateSensor, int, int, int, int, int, Notifier, Tracer) - Constructor for class ru.gentoos.ehouse.assistant.ClimateAssistant
- ClimateController - Class in ru.gentoos.ehouse.controller
-
Контроллер датчика температуры и влажности Яндекс Умного дома (порт
Controllers/climate.py). - ClimateController(String, String, int, int, int, HttpTransport, Tracer) - Constructor for class ru.gentoos.ehouse.controller.ClimateController
-
Инициализирует контроллер датчика.
- ClimateDevice() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.ClimateDevice
- climateSensor - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DevicesSection
-
Датчик температуры/влажности в помещении.
- ClimateSensor - Interface in ru.gentoos.ehouse.controller
-
Контракт датчика температуры/влажности (интерфейс для тестируемости).
- ConfigException - Exception Class in ru.gentoos.ehouse.config
-
Ошибка загрузки/валидации конфигурации (порт исключений pydantic в Python).
- ConfigException(String) - Constructor for exception class ru.gentoos.ehouse.config.ConfigException
- ConfigException(String, Throwable) - Constructor for exception class ru.gentoos.ehouse.config.ConfigException
- ConfigService - Class in ru.gentoos.ehouse.config
-
Загрузка и сравнение конфигурации (порт
models/config.py:Config). - ConfigService(String) - Constructor for class ru.gentoos.ehouse.config.ConfigService
- consumptionRounding - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
CONSUMPTION_ROUNDING— знаки для ватт. - controlDehumidifier(boolean) - Method in interface ru.gentoos.ehouse.controller.Dehumidifier
-
Включает/выключает осушитель.
- controlDehumidifier(boolean) - Method in class ru.gentoos.ehouse.controller.DehumidifierController
- Controller - Class in ru.gentoos.ehouse.controller
-
Базовый класс контроллеров устройств (порт
Controllers/controller.py). - Controller() - Constructor for class ru.gentoos.ehouse.controller.Controller
- controlPlug(boolean) - Method in interface ru.gentoos.ehouse.controller.SmartPlug
-
Включает/выключает розетку.
- controlPlug(boolean) - Method in class ru.gentoos.ehouse.controller.SmartPlugController
D
- DataSource - Class in ru.gentoos.ehouse.datasource
-
Базовый класс источников данных (порт
DataSources/datasource.py). - DataSource() - Constructor for class ru.gentoos.ehouse.datasource.DataSource
- DefaultHttpTransport - Class in ru.gentoos.ehouse.http
-
Дефолтная реализация
HttpTransportнаHttpClient(Java 11+). - DefaultHttpTransport() - Constructor for class ru.gentoos.ehouse.http.DefaultHttpTransport
-
Создаёт транспорт с общим
HttpClient. - dehumidifier - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
-
Осушитель (ассистент).
- dehumidifier - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DevicesSection
-
Осушитель.
- Dehumidifier - Interface in ru.gentoos.ehouse.controller
-
Контракт осушителя умного дома (интерфейс для тестируемости).
- DehumidifierAssistant - Class in ru.gentoos.ehouse.assistant
-
Ассистент контроля осушителя (порт
Assistants/dehumidifier.py). - DehumidifierAssistant(String, Dehumidifier, double, double, Notifier, Tracer) - Constructor for class ru.gentoos.ehouse.assistant.DehumidifierAssistant
- DehumidifierConfig() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierConfig
- DehumidifierController - Class in ru.gentoos.ehouse.controller
-
Контроллер осушителя Яндекс Умного дома (порт
Controllers/dehumidifier.py). - DehumidifierController(String, String, int, int, HttpTransport, Tracer) - Constructor for class ru.gentoos.ehouse.controller.DehumidifierController
-
Инициализирует контроллер осушителя.
- DehumidifierDevice() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierDevice
- deleteJson(String, Map<String, String>, String, int) - Method in class ru.gentoos.ehouse.http.DefaultHttpTransport
- deleteJson(String, Map<String, String>, String, int) - Method in interface ru.gentoos.ehouse.http.HttpTransport
-
DELETE-запрос с JSON-телом.
- deleteOldTraces() - Method in class ru.gentoos.ehouse.assistant.LangfuseCleanerAssistant
-
Удаляет трейсы старше
periodдней. - deviceId - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.ClimateDevice
-
DEVICE_ID. - deviceId - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierDevice
-
DEVICE_ID. - deviceId - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
DEVICE_ID— ID устройства в Яндекс Умном доме. - devices - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig
-
Секция
Devices(контроллеры умного дома). - DevicesSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.DevicesSection
- dogClimateSensor - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DevicesSection
-
Датчик температуры в будке.
- DogConfig() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.DogConfig
- dogHeater - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
-
Обогреватель для собак.
- DogHeaterAssistant - Class in ru.gentoos.ehouse.assistant
-
Ассистент контроля обогрева будки для собаки (порт
Assistants/dog_heater.py). - DogHeaterAssistant(String, SmartPlug, ClimateSensor, double, Notifier, Tracer) - Constructor for class ru.gentoos.ehouse.assistant.DogHeaterAssistant
- dogWater - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
-
Миска с водой.
- DogWaterAssistant - Class in ru.gentoos.ehouse.assistant
-
Ассистент контроля миски с водой для собаки (порт
Assistants/dog_water.py). - DogWaterAssistant(String, SmartPlug, OpenWeatherSource, double, Notifier, Tracer) - Constructor for class ru.gentoos.ehouse.assistant.DogWaterAssistant
E
- EHouseApplication - Class in ru.gentoos.ehouse
-
e-house smart-home daemon — Java Spring entry point.
- EHouseApplication() - Constructor for class ru.gentoos.ehouse.EHouseApplication
- EHouseComponents - Class in ru.gentoos.ehouse
-
Сборка компонентов e-house из конфигурации (порт
run.py::init_components). - EHouseComponents(EHouseConfig, Map<String, String>, HttpTransport, Tracer, ScheduledExecutorService) - Constructor for class ru.gentoos.ehouse.EHouseComponents
- EHouseConfig - Class in ru.gentoos.ehouse.config.model
-
Типизированная модель доменного конфига
configs/config.yml(паритет ключей и дефолтов с Python-модельюmodels/config.pyи обращениямиconfig.data[...].get(..., default)вrun.py). - EHouseConfig() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig
- EHouseConfig.AssistantsSection - Class in ru.gentoos.ehouse.config.model
-
Секция
Assistants. - EHouseConfig.ClimateDevice - Class in ru.gentoos.ehouse.config.model
-
Датчик климата (секции
Devices.ClimateSensor/Devices.DogClimateSensor). - EHouseConfig.DehumidifierConfig - Class in ru.gentoos.ehouse.config.model
-
Ассистент
Dehumidifier. - EHouseConfig.DehumidifierDevice - Class in ru.gentoos.ehouse.config.model
-
Осушитель (секция
Devices.Dehumidifier). - EHouseConfig.DevicesSection - Class in ru.gentoos.ehouse.config.model
-
Секция
Devices. - EHouseConfig.DogConfig - Class in ru.gentoos.ehouse.config.model
-
Ассистенты
DogWater/DogHeater. - EHouseConfig.GeneralSection - Class in ru.gentoos.ehouse.config.model
-
Секция
General. - EHouseConfig.LangfuseCleanerConfig - Class in ru.gentoos.ehouse.config.model
-
Ассистент
LangfuseCleaner. - EHouseConfig.LoggerSection - Class in ru.gentoos.ehouse.config.model
-
Секция
General.Logger. - EHouseConfig.MessengersSection - Class in ru.gentoos.ehouse.config.model
-
Секция
Messengers. - EHouseConfig.OpenWeatherSection - Class in ru.gentoos.ehouse.config.model
-
Секция
OpenWeather. - EHouseConfig.SmartPlugDevice - Class in ru.gentoos.ehouse.config.model
-
Розетка умного дома (секция
Devices.SmartPlug). - EHouseConfig.TelegramSection - Class in ru.gentoos.ehouse.config.model
-
Telegram (секция
Messengers.Telegram). - EHouseConfig.TemperatureConfig - Class in ru.gentoos.ehouse.config.model
-
Ассистент
Temperature(секцияAssistants.Temperature). - EHouseConfig.TimeoutsSection - Class in ru.gentoos.ehouse.config.model
-
Таймауты Telegram (секция
TIMEOUTS). - EHouseConfig.VoltageConfig - Class in ru.gentoos.ehouse.config.model
-
Ассистент
Voltage(секцияAssistants.Voltage). - EHouseSupervisor - Class in ru.gentoos.ehouse
-
Супервизор e-house: запускает компоненты и периодически перезагружает при изменении
config.yml(портrun.py::main). - EHouseSupervisor(ConfigService, HttpTransport, Tracer, ScheduledExecutorService) - Constructor for class ru.gentoos.ehouse.EHouseSupervisor
- enabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierConfig
-
ENABLED. - enabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DogConfig
-
ENABLED. - enabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.LangfuseCleanerConfig
-
ENABLED. - enabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
-
ENABLED— создавать бота или нет. - enabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
ENABLED. - enabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
-
ENABLED.
F
- format(double) - Static method in class ru.gentoos.ehouse.util.Numbers
-
Печатает число «как Python»: интегральное — как целое, иначе — как double.
- format(Object) - Static method in class ru.gentoos.ehouse.util.Numbers
-
Печатает Long как целое, Double — как double (см.
- formatTime(long) - Static method in class ru.gentoos.ehouse.util.TimeFormat
-
Форматирует секунды, например «2 часа 30 минут», «0 секунд» — для неположительных значений.
G
- general - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig
-
Секция
General(интервал перезагрузки, логгер). - GeneralSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.GeneralSection
- get(String, Map<String, String>, Map<String, String>, int) - Method in class ru.gentoos.ehouse.http.DefaultHttpTransport
- get(String, Map<String, String>, Map<String, String>, int) - Method in interface ru.gentoos.ehouse.http.HttpTransport
-
GET-запрос.
- getBotInfo() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
-
Получает информацию о боте через API getMe.
- getChatId() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
- getCurrentTemperature() - Method in class ru.gentoos.ehouse.datasource.OpenWeatherDataSource
- getCurrentTemperature() - Method in interface ru.gentoos.ehouse.datasource.OpenWeatherSource
-
Текущая температура в заданном городе (°C, округлена как в Python).
- getName() - Method in interface ru.gentoos.ehouse.assistant.Assistant
-
Человекочитаемое имя ассистента.
- getName() - Method in class ru.gentoos.ehouse.assistant.DehumidifierAssistant
- getName() - Method in class ru.gentoos.ehouse.assistant.DogHeaterAssistant
- getName() - Method in class ru.gentoos.ehouse.assistant.DogWaterAssistant
- getName() - Method in class ru.gentoos.ehouse.assistant.LangfuseCleanerAssistant
- getName() - Method in class ru.gentoos.ehouse.assistant.ScheduledAssistant
-
Имя оборачиваемого ассистента.
- getName() - Method in class ru.gentoos.ehouse.assistant.ThresholdMonitorAssistant
- getName() - Method in interface ru.gentoos.ehouse.messenger.Bot
-
Имя бота.
- getName() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
- getState() - Method in class ru.gentoos.ehouse.assistant.DogHeaterAssistant
-
Получает консистентное состояние розетки (см.
- getState() - Method in class ru.gentoos.ehouse.assistant.DogWaterAssistant
-
Получает консистентное состояние розетки (см.
- getState() - Method in class ru.gentoos.ehouse.controller.ClimateController
- getState() - Method in interface ru.gentoos.ehouse.controller.ClimateSensor
-
Получает состояние датчика.
- getState() - Method in interface ru.gentoos.ehouse.controller.Dehumidifier
-
Получает состояние осушителя.
- getState() - Method in class ru.gentoos.ehouse.controller.DehumidifierController
- getState() - Method in interface ru.gentoos.ehouse.controller.SmartPlug
-
Получает состояние розетки.
- getState() - Method in class ru.gentoos.ehouse.controller.SmartPlugController
H
- handleHighHumidity(Object) - Method in class ru.gentoos.ehouse.assistant.ClimateAssistant
-
Обрабатывает превышение верхнего порога влажности.
- handleHighTemp(Object) - Method in class ru.gentoos.ehouse.assistant.ClimateAssistant
-
Обрабатывает превышение верхнего порога температуры.
- handleLowHumidity(Object) - Method in class ru.gentoos.ehouse.assistant.ClimateAssistant
-
Обрабатывает понижение влажности ниже порога.
- handleLowTemp(Object) - Method in class ru.gentoos.ehouse.assistant.ClimateAssistant
-
Обрабатывает понижение температуры ниже порога.
- headers() - Method in class ru.gentoos.ehouse.datasource.YandexDataSource
-
Заголовки запросов (Authorization: Bearer ...).
- health() - Method in class ru.gentoos.ehouse.web.HealthController
-
Возвращает статус и время.
- HealthController - Class in ru.gentoos.ehouse.web
-
Health-check эндпоинт
GET /health. - HealthController() - Constructor for class ru.gentoos.ehouse.web.HealthController
- HttpException - Exception Class in ru.gentoos.ehouse.http
-
Ошибка слоя HTTP (аналог
requests.RequestException). - HttpException(String) - Constructor for exception class ru.gentoos.ehouse.http.HttpException
-
Создаёт ошибку без HTTP-ответа (соединительная ошибка/время/прочее).
- HttpException(String, Integer, String) - Constructor for exception class ru.gentoos.ehouse.http.HttpException
-
Создаёт ошибку с сопутствующим HTTP-ответом.
- HttpException(String, Integer, String, Throwable) - Constructor for exception class ru.gentoos.ehouse.http.HttpException
-
Создаёт ошибку с HTTP-ответом и первопричиной.
- HttpException(String, Throwable) - Constructor for exception class ru.gentoos.ehouse.http.HttpException
-
Создаёт ошибку с первопричиной.
- httpTransport() - Method in class ru.gentoos.ehouse.AppConfig
-
HTTP-транспорт на
HttpClient. - HttpTransport - Interface in ru.gentoos.ehouse.http
-
HTTP-абстракция поверх сетевых вызовов (аналог
requestsиз Python). - humidityThresholdHigh - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierConfig
-
HUMIDITY_THRESHOLD_HIGH— верхний порог (включать). - humidityThresholdHigh - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
HUMIDITY_THRESHOLD_HIGH. - humidityThresholdLow - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierConfig
-
HUMIDITY_THRESHOLD_LOW— нижний порог (выключать). - humidityThresholdLow - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
HUMIDITY_THRESHOLD_LOW.
I
- isRunning() - Method in class ru.gentoos.ehouse.assistant.ScheduledAssistant
-
Запущен ли планировщик.
- isRunning() - Method in interface ru.gentoos.ehouse.messenger.Bot
-
Проверяет, запущен ли бот.
- isRunning() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
J
- json() - Method in class ru.gentoos.ehouse.http.Response
-
Разбирает тело как JSON.
- Json - Class in ru.gentoos.ehouse.util
-
Общий Jackson
ObjectMapperдля сериализации тел запросов.
L
- langfuse(LangfuseConfig) - Method in class ru.gentoos.ehouse.tracing.TracingConfig
-
Хендл «провайдер + трейсер»;
close()при закрытии контекста принудительно досылает буфер спанов в Langfuse. - langfuseCleaner - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
-
Очистка Langfuse.
- LangfuseCleanerAssistant - Class in ru.gentoos.ehouse.assistant
-
Периодическая очистка старых трейсов в Langfuse (порт
e_lib/assistants/langfuse_cleaner.py). - LangfuseCleanerAssistant(String, int, int, String, HttpTransport) - Constructor for class ru.gentoos.ehouse.assistant.LangfuseCleanerAssistant
-
Создаёт чистильщик с явным базовым URL (для тестов).
- LangfuseCleanerAssistant(String, int, HttpTransport) - Constructor for class ru.gentoos.ehouse.assistant.LangfuseCleanerAssistant
-
Создаёт чистильщик.
- LangfuseCleanerConfig() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.LangfuseCleanerConfig
- langfuseConfig() - Method in class ru.gentoos.ehouse.tracing.TracingConfig
-
Настройки Langfuse из свойств
langfuse.*. - lastOnline() - Method in class ru.gentoos.ehouse.assistant.DehumidifierAssistant
-
Последнее известное состояние онлайн-статуса (для тестов).
- level - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.LoggerSection
-
Level— уровень логгирования. - load() - Method in class ru.gentoos.ehouse.config.ConfigService
-
Загружает конфигурацию из файла.
- logger - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.GeneralSection
-
Logger. - LoggerSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.LoggerSection
M
- main(String[]) - Static method in class ru.gentoos.ehouse.EHouseApplication
- ManagedAssistant - Interface in ru.gentoos.ehouse.assistant
-
Контракт управляемого компонента с жизненным циклом (ассистент под планировщиком, Telegram-бот):
ManagedAssistant.start()/ManagedAssistant.stop()— портstart_all/stop_allиз Pythonrun.py. - MAPPER - Static variable in class ru.gentoos.ehouse.util.Json
-
Общий маппер (конфигурация по умолчанию).
- messengers - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig
-
Секция
Messengers(Telegram). - MessengersSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.MessengersSection
- millis(long) - Static method in class ru.gentoos.ehouse.util.Sleep
-
Ждёт указанное число миллисекунд; при прерывании восстанавливает флаг прерывания и продолжает (паузы не критичны).
N
- name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.ClimateDevice
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierConfig
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierDevice
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DogConfig
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.LangfuseCleanerConfig
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
NAME. - name - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
-
NAME. - Notifier - Interface in ru.gentoos.ehouse.assistant
-
Контракт доставки уведомлений (порт
e_lib.assistants.base.Notifier). - Numbers - Class in ru.gentoos.ehouse.util
-
Форматирование чисел в сообщениях: целое значение печатается без дробной части («245»), нецелое — как в
Double.toString(«1.5») — паритет с f-строками Python (intиfloat).
O
- onClosed() - Method in class ru.gentoos.ehouse.EHouseApplication
-
Сообщение об остановке (аналог KeyboardInterrupt в Python).
- onShutdown() - Method in class ru.gentoos.ehouse.products.ProductsLifecycle
-
При остановке контекста отправляет сообщение о завершении.
- onStarted() - Method in class ru.gentoos.ehouse.EHouseApplication
-
Стартовое сообщение в стиле JavaMailer/PriceLoader/ToDo/LnF.
- onStarted() - Method in class ru.gentoos.ehouse.EHouseSupervisor
-
Запускает цикл супервизора после готовности приложения.
- onStarted() - Method in class ru.gentoos.ehouse.products.ProductsLifecycle
-
При старте создаёт
ProductsLogи отправляет сообщение. - onStopped() - Method in class ru.gentoos.ehouse.EHouseSupervisor
-
Останавливает все компоненты при закрытии контекста.
- openWeather - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig
-
Секция
OpenWeather(город для запроса погоды). - OpenWeatherDataSource - Class in ru.gentoos.ehouse.datasource
-
Источник данных OpenWeatherMap (порт
DataSources/openweather.py). - OpenWeatherDataSource(String, String, HttpTransport, Tracer) - Constructor for class ru.gentoos.ehouse.datasource.OpenWeatherDataSource
-
Инициализирует источник.
- OpenWeatherSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.OpenWeatherSection
- OpenWeatherSource - Interface in ru.gentoos.ehouse.datasource
-
Контракт источника погоды OpenWeatherMap (интерфейс для тестируемости).
P
- path() - Method in class ru.gentoos.ehouse.config.ConfigService
-
Абсолютный путь к файлу конфигурации.
- polling - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TimeoutsSection
-
POLLING— таймаут long polling, сек. - POLLING_TIMEOUT - Static variable in class ru.gentoos.ehouse.messenger.TelegramTimeouts
-
Таймаут для long polling (сек).
- pollingEnabled - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
-
POLLING_ENABLED— включать long polling. - pollingInterval - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
-
POLLING_INTERVAL— интервал polling, сек. - pollingTimeout() - Method in class ru.gentoos.ehouse.messenger.TelegramTimeouts
- postJson(String, Map<String, String>, String, int) - Method in class ru.gentoos.ehouse.http.DefaultHttpTransport
- postJson(String, Map<String, String>, String, int) - Method in interface ru.gentoos.ehouse.http.HttpTransport
-
POST-запрос с JSON-телом.
- ProductsLifecycle - Class in ru.gentoos.ehouse.products
-
Интеграция с продуктовым логгером Products (паттерн LnF/JavaMailer/ToDo): сообщения «Program started» / «Program shutdown».
- ProductsLifecycle() - Constructor for class ru.gentoos.ehouse.products.ProductsLifecycle
- pythonRound(double, int) - Static method in class ru.gentoos.ehouse.util.Rounding
-
round(value, digits)из Python: half-even на точном бинарном значении.
R
- raiseForStatus() - Method in class ru.gentoos.ehouse.http.Response
-
Кидает
HttpExceptionдля статуса вне [200, 300). - readMetric() - Method in class ru.gentoos.ehouse.assistant.ClimateAssistant
- readMetric() - Method in class ru.gentoos.ehouse.assistant.ThresholdMonitorAssistant
-
Читает текущее значение метрики.
- readMetric() - Method in class ru.gentoos.ehouse.assistant.VoltageAssistant
- reloadTimeout - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.GeneralSection
-
RELOAD_TIMEOUT— интервал перезагрузки config.yml, сек. - request - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TimeoutsSection
-
REQUEST— таймаут обычных запросов, сек. - REQUEST_TIMEOUT - Static variable in class ru.gentoos.ehouse.messenger.TelegramTimeouts
-
Таймаут для обычных запросов (сек).
- requestTimeout() - Method in class ru.gentoos.ehouse.messenger.TelegramTimeouts
- Response - Class in ru.gentoos.ehouse.http
-
HTTP-ответ с семантикой
requests.Response(Python). - Response(int, String) - Constructor for class ru.gentoos.ehouse.http.Response
-
Создаёт ответ.
- rounding - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.ClimateDevice
-
ROUNDING— знаки дляtoString(). - rounding - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
ROUNDING. - Rounding - Class in ru.gentoos.ehouse.util
-
Округление с семантикой Python (паритет с Python-оригиналом e-house).
- ru.gentoos.ehouse - package ru.gentoos.ehouse
- ru.gentoos.ehouse.assistant - package ru.gentoos.ehouse.assistant
- ru.gentoos.ehouse.config - package ru.gentoos.ehouse.config
- ru.gentoos.ehouse.config.model - package ru.gentoos.ehouse.config.model
- ru.gentoos.ehouse.controller - package ru.gentoos.ehouse.controller
- ru.gentoos.ehouse.datasource - package ru.gentoos.ehouse.datasource
- ru.gentoos.ehouse.http - package ru.gentoos.ehouse.http
- ru.gentoos.ehouse.messenger - package ru.gentoos.ehouse.messenger
- ru.gentoos.ehouse.products - package ru.gentoos.ehouse.products
- ru.gentoos.ehouse.tracing - package ru.gentoos.ehouse.tracing
- ru.gentoos.ehouse.util - package ru.gentoos.ehouse.util
- ru.gentoos.ehouse.web - package ru.gentoos.ehouse.web
- run() - Method in interface ru.gentoos.ehouse.assistant.Assistant
-
Выполняет один цикл обработки.
- run() - Method in class ru.gentoos.ehouse.assistant.ClimateAssistant
- run() - Method in class ru.gentoos.ehouse.assistant.DehumidifierAssistant
- run() - Method in class ru.gentoos.ehouse.assistant.DogHeaterAssistant
- run() - Method in class ru.gentoos.ehouse.assistant.DogWaterAssistant
- run() - Method in class ru.gentoos.ehouse.assistant.LangfuseCleanerAssistant
- run() - Method in class ru.gentoos.ehouse.assistant.ThresholdMonitorAssistant
-
Выполняет один цикл контроля.
- run() - Method in class ru.gentoos.ehouse.assistant.VoltageAssistant
- run(Tracer, String, Runnable) - Static method in class ru.gentoos.ehouse.tracing.Trace
-
Исполняет код внутри спана
name, когда трейсер задан.
S
- ScheduledAssistant - Class in ru.gentoos.ehouse.assistant
-
Периодический запуск ассистента (порт
e_lib.assistants.scheduled.ScheduledAssistant). - ScheduledAssistant(Assistant, long, ScheduledExecutorService) - Constructor for class ru.gentoos.ehouse.assistant.ScheduledAssistant
-
Создаёт планировщик.
- scheduledExecutor() - Method in class ru.gentoos.ehouse.AppConfig
-
Общий планировщик для
ScheduledAssistant: один на все циклы, daemon-потоки (не мешают завершению JVM). - scheduleInterval - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.LangfuseCleanerConfig
-
SCHEDULE_INTERVAL— интервал расписания, сек. - seconds(long) - Static method in class ru.gentoos.ehouse.util.Sleep
-
Ждёт указанное число секунд; при прерывании восстановливает флаг прерывания и продолжает (паузы не критичны — контроллеры используют их в ретраях).
- sendMessage(String) - Method in interface ru.gentoos.ehouse.assistant.Notifier
-
Доставляет уведомление.
- sendMessage(String) - Method in class ru.gentoos.ehouse.messenger.TelegramBot
- setFanSpeed(String) - Method in class ru.gentoos.ehouse.controller.DehumidifierController
-
Устанавливает скорость вентилятора (low/high).
- setLastOnline(Boolean) - Method in class ru.gentoos.ehouse.assistant.DehumidifierAssistant
-
Устанавливает последнее известное состояние онлайн-статуса (для тестов).
- setMode(String) - Method in class ru.gentoos.ehouse.controller.DehumidifierController
-
Устанавливает режим работы (quiet/normal/express).
- shouldDeleteTrace(JsonNode) - Method in class ru.gentoos.ehouse.assistant.LangfuseCleanerAssistant
-
Проверяет, старше ли трейс периода хранения.
- Sleep - Class in ru.gentoos.ehouse.util
-
Пауза с обработкой прерывания (порт
time.sleep(...)из Python). - smartPlug - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DevicesSection
-
Розетка умного дома.
- SmartPlug - Interface in ru.gentoos.ehouse.controller
-
Контракт розетки умного дома (интерфейс вводится для тестируемости: Python дублирует через фабрики, Java — через интерфейс).
- SmartPlugController - Class in ru.gentoos.ehouse.controller
-
Контроллер умной розетки Яндекс Умного дома (порт
Controllers/smart_plug.py). - SmartPlugController(String, String, int, int, int, int, int, HttpTransport, Tracer) - Constructor for class ru.gentoos.ehouse.controller.SmartPlugController
-
Инициализирует контроллер розетки.
- SmartPlugDevice() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
- start() - Method in interface ru.gentoos.ehouse.assistant.ManagedAssistant
-
Запускает компонент.
- start() - Method in class ru.gentoos.ehouse.assistant.ScheduledAssistant
-
Запускает планировщик (повторный запуск игнорируется).
- start() - Method in interface ru.gentoos.ehouse.messenger.Bot
-
Запускает бота (в фоновом потоке).
- start() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
- startAll(List<Object>) - Static method in class ru.gentoos.ehouse.EHouseComponents
-
Запускает все компоненты (ассистенты и бот).
- state() - Method in interface ru.gentoos.ehouse.controller.Dehumidifier
-
Последнее полученное состояние.
- state() - Method in class ru.gentoos.ehouse.controller.DehumidifierController
- state() - Method in interface ru.gentoos.ehouse.controller.SmartPlug
-
Последнее полученное состояние.
- state() - Method in class ru.gentoos.ehouse.controller.SmartPlugController
- stateRetryCount - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.ClimateDevice
-
STATE_RETRY_COUNT. - stateRetryCount - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierDevice
-
STATE_RETRY_COUNT. - stateRetryCount - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
STATE_RETRY_COUNT— попыток получения состояния. - stateRetryCount() - Method in interface ru.gentoos.ehouse.controller.Dehumidifier
-
Количество попыток получения состояния.
- stateRetryCount() - Method in class ru.gentoos.ehouse.controller.DehumidifierController
- stateRetryCount() - Method in interface ru.gentoos.ehouse.controller.SmartPlug
-
Количество попыток получения состояния.
- stateRetryCount() - Method in class ru.gentoos.ehouse.controller.SmartPlugController
- stateRetryDelay - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.ClimateDevice
-
STATE_RETRY_DELAY. - stateRetryDelay - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DehumidifierDevice
-
STATE_RETRY_DELAY. - stateRetryDelay - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
STATE_RETRY_DELAY— пауза между попытками, сек. - stateRetryDelay() - Method in interface ru.gentoos.ehouse.controller.Dehumidifier
-
Пауза между попытками, сек.
- stateRetryDelay() - Method in class ru.gentoos.ehouse.controller.DehumidifierController
- stateRetryDelay() - Method in interface ru.gentoos.ehouse.controller.SmartPlug
-
Пауза между попытками, сек.
- stateRetryDelay() - Method in class ru.gentoos.ehouse.controller.SmartPlugController
- status() - Method in exception class ru.gentoos.ehouse.http.HttpException
-
HTTP-статус, если был (иначе
null). - status() - Method in class ru.gentoos.ehouse.http.Response
-
HTTP-статус.
- stop() - Method in interface ru.gentoos.ehouse.assistant.ManagedAssistant
-
Останавливает компонент.
- stop() - Method in class ru.gentoos.ehouse.assistant.ScheduledAssistant
-
Останавливает планировщик (отменяет ожидающий запуск).
- stop() - Method in interface ru.gentoos.ehouse.messenger.Bot
-
Останавливает бота.
- stop() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
- stopAll(List<Object>) - Static method in class ru.gentoos.ehouse.EHouseComponents
-
Останавливает все компоненты в обратном порядке.
T
- telegram - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.MessengersSection
-
Telegram.
- TelegramBot - Class in ru.gentoos.ehouse.messenger
-
Реализация бота для Telegram Bot API (порт
Messengers/telegram.py). - TelegramBot(String, String, String, TelegramTimeouts, boolean, int, HttpTransport) - Constructor for class ru.gentoos.ehouse.messenger.TelegramBot
-
Инициализирует бота.
- TelegramSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
- TelegramTimeouts - Class in ru.gentoos.ehouse.messenger
-
Настройки таймаутов для Telegram Bot API (порт
Messengers/telegram.py::TelegramTimeouts). - TelegramTimeouts() - Constructor for class ru.gentoos.ehouse.messenger.TelegramTimeouts
- TelegramTimeouts(int, int) - Constructor for class ru.gentoos.ehouse.messenger.TelegramTimeouts
- temperature - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
-
Контроль температуры/влажности.
- TemperatureConfig() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
- tempThreshold - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.DogConfig
-
TEMP_THRESHOLD— порог включения, °C. - tempThresholdHigh - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
TEMP_THRESHOLD_HIGH. - tempThresholdLow - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TemperatureConfig
-
TEMP_THRESHOLD_LOW. - testConnection() - Method in class ru.gentoos.ehouse.messenger.TelegramBot
-
Тестирует соединение с Telegram Bot API.
- text() - Method in class ru.gentoos.ehouse.http.Response
-
Тело ответа.
- ThresholdMonitorAssistant - Class in ru.gentoos.ehouse.assistant
-
Шаблон ассистента контроля одной метрики по порогам (порт
e_lib.assistants.threshold.ThresholdMonitorAssistant). - TimeFormat - Class in ru.gentoos.ehouse.util
-
Форматирование времени в человекочитаемую русскую строку (порт
e_lib.time_utils.format_time). - timeouts - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.TelegramSection
-
TIMEOUTS. - TimeoutsSection() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.TimeoutsSection
- token() - Method in class ru.gentoos.ehouse.datasource.YandexDataSource
-
OAuth-токен.
- toString() - Method in class ru.gentoos.ehouse.controller.ClimateController
- toString() - Method in class ru.gentoos.ehouse.controller.DehumidifierController
- toString() - Method in class ru.gentoos.ehouse.controller.SmartPlugController
- trace(ProceedingJoinPoint, Traced) - Method in class ru.gentoos.ehouse.tracing.TracingAspect
-
Тело совета: спан вокруг вызова метода.
- Trace - Class in ru.gentoos.ehouse.tracing
-
Обёртка программного трейсинга для рантайм-создаваемых объектов (ассистенты, контроллеры не являются Spring-бинами, AOP-аспект не срабатывает — паритет
@observeв Python). - tracer(LangfuseTracing.Handle) - Method in class ru.gentoos.ehouse.tracing.TracingConfig
-
Трейсер приложения (имена span'ов —
ru.gentoos.ehouse). - TracingAspect - Class in ru.gentoos.ehouse.tracing
-
Оборачивает методы, помеченные
Traced, в OTel-спаны. - TracingAspect(Tracer) - Constructor for class ru.gentoos.ehouse.tracing.TracingAspect
-
Создаёт аспект.
- TracingConfig - Class in ru.gentoos.ehouse.tracing
-
Подключает OTLP-трейсинг к Langfuse через
langfuseLib. - TracingConfig() - Constructor for class ru.gentoos.ehouse.tracing.TracingConfig
- truncate(double) - Static method in class ru.gentoos.ehouse.util.Rounding
-
int(value)из Python: усечение дробной части к нулю.
U
- url() - Method in class ru.gentoos.ehouse.datasource.YandexDataSource
-
Базовый URL Yandex IoT API.
V
- version() - Static method in class ru.gentoos.ehouse.EHouseApplication
-
Возвращает версию приложения из
version.properties(для ProductsLog). - voltage - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.AssistantsSection
-
Контроль напряжения.
- VoltageAssistant - Class in ru.gentoos.ehouse.assistant
-
Ассистент контроля напряжения в электросети (порт
Assistants/voltage.py). - VoltageAssistant(String, SmartPlug, int, int, int, Notifier, Tracer) - Constructor for class ru.gentoos.ehouse.assistant.VoltageAssistant
- VoltageConfig() - Constructor for class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
- voltageRounding - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.SmartPlugDevice
-
VOLTAGE_ROUNDING— знаки для вольт вtoString(). - voltageRounding - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
-
VOLTAGE_ROUNDING. - voltageThresholdHigh - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
-
VOLTAGE_THRESHOLD_HIGH. - voltageThresholdLow - Variable in class ru.gentoos.ehouse.config.model.EHouseConfig.VoltageConfig
-
VOLTAGE_THRESHOLD_LOW.
W
- write(Object) - Static method in class ru.gentoos.ehouse.util.Json
-
Сериализует объект в JSON-строку.
Y
- YandexDataSource - Class in ru.gentoos.ehouse.datasource
-
Базовая интеграция с Yandex IoT API (порт
DataSources/yandex.py). - YandexDataSource(String) - Constructor for class ru.gentoos.ehouse.datasource.YandexDataSource
-
Инициализирует подключение к Yandex IoT API.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form