5sControl / 5sControl/5s-webserver

bug with shutdown algorithm Idle control

Open
#87 0 comments 0 reactions 1 assignee Claimed by @ZhuchkouAA View on GitHub
bug
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Preconditions: пользователь авторизован, получена лицензия, добавлена камера, к камере подключен idle control.
Summary: Configuration, невозможно отключить idle от камеры.
1. Открыть приложение;
2. Открыть вкладку Configuration;
3. Выбрать камеру(пример 192.168.1.165);
4. Отключить idle;
5. Правый клик по кнопке done.
Result: 500 ошибка, idle не отключен.
Expecte result: idle отключен.

![Image](https://github.com/5sControl/server-/assets/113969187/d4a56fa2-f83c-4e2a-95cc-5ec2b734d2fd)
![Image](https://github.com/5sControl/server-/assets/113969187/19243c9f-8bf5-4c33-b738-d4d91e0bb586)
![Image](https://github.com/5sControl/server-/assets/113969187/ff48188a-bf00-4003-93ca-5485fa1fe699)

Contributor guide

Open the contributing guide

Research direction

The issue describes a 500 error when disabling idle control for a camera in the Configuration tab. Start by finding the API endpoint handling camera configuration updates, likely in a routes or controllers directory. Look for error logs related to idle control disconnection. Check the server response format and ensure the idle control state is properly validated and persisted. Verify the fix by testing the camera configuration flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.