How rosteleset/smartyard-server works
RoBoT (SmartYard-Server) is an IP-intercom and video-surveillance platform. Its main workflow is an operator or resident using a web or mobile client to manage locations, subscribers, devices, and service events through server APIs; the server delegates domain work to configurable backends and device integrations. A separate event-service path accepts device syslog or webhook messages and invokes server actions for events such as motion, door access, and call completion. The tree and excerpts support these subsystem boundaries, but not every API-to-backend mapping, so uncertain links are omitted.
Main entry points: api.php Web API · getAddressList.php Mobile API · app.js Web application · addresses.php Address and subscriber APIs
Components 24
Web client
- Web application
client/js/app.js - Management modules
client/modules/addresses/addresses.js - REST client
client/js/rest.js
Server interfaces
- Web API
server/api/api.php - Authentication API
server/api/authentication/login.php - Address and subscriber APIs
server/api/addresses/addresses.php - Camera APIs
server/api/cameras/cameras.php - Issue tracking APIs
server/api/tt/issues.php - Mobile API
server/mobile/address/getAddressList.php
Domain backends
- Backend loader
server/backends/backend.php - Address services
server/backends/addresses/addresses.php - Household services
server/backends/households/households.php - Camera services
server/backends/cameras/cameras.php - Issue tracking
server/backends/tt/tt.php - Billing services
server/backends/billing/billing.php
Device and event services
- Device event listener
server/services/event/services/base/WebHookService.js - Device event handlers
server/services/event/services/AkuvoxService.js - Event action API
server/services/event/utils/API.js - Server event actions
server/internal/actions/openDoor.php - Intercom and camera drivers
server/hw/ip/domophone/domophone.php
Other components
- Operator
- Resident
- Intercom or camera
- Mobile client
Connections 20
- Operator → Web application: uses
- Web application → Management modules: loads
- Web application → REST client: requests
- Management modules → REST client: requests
- REST client → Web API: sends requests
- Web API → Authentication API: dispatches
- Web API → Address and subscriber APIs: dispatches
- Web API → Camera APIs: dispatches
- Web API → Issue tracking APIs: dispatches
- Address and subscriber APIs → Backend loader: loads backend
- Address and subscriber APIs → Address services: uses
- Mobile client → Mobile API: sends requests
- Mobile API → Backend loader: loads backend
- Mobile API → Household services: reads flats
- Mobile API → Billing services: requests services
- Intercom or camera → Device event listener: sends webhook
- Device event listener → Device event handlers: dispatches message
- Device event handlers → Event action API: invokes actions
- Event action API → Server event actions: calls actions
- Device event handlers → Intercom and camera drivers: interprets device events