Home Back

API - Service Status

{'message': ['● smart_plug.service - Smart Plug - API Service Loaded: loaded (/etc/systemd/system/smart_plug.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2025-05-19 21:31:41 CEST; 5 days ago Main PID: 3502535 (python3) Tasks: 11 (limit: 3885) CPU: 1d 5h 51min 8.914s CGroup: /system.slice/smart_plug.service ├─3502535 /usr/bin/python3 /home/pi/smart_plug/main_services/api_services.py ├─3503837 /usr/bin/python3 /home/pi/smart_plug/main_services/api_services.py ├─3649508 /bin/sh -c sudo systemctl status smart_plug.service ├─3649509 sudo systemctl status smart_plug.service └─3649510 systemctl status smart_plug.service May 25 10:00:30 raspberrypi python3[3503837]: 216.73.216.156 - - [25/May/2025 10:00:30] "GET /robots.txt HTTP/1.1" 404 - May 25 10:00:31 raspberrypi python3[3503837]: 192.168.1.101 - - [25/May/2025 10:00:31] "GET /api/automode HTTP/1.1" 200 - May 25 10:00:31 raspberrypi python3[3503837]: 216.73.216.156 - - [25/May/2025 10:00:31] "GET /infoautomode HTTP/1.1" 200 - May 25 10:15:41 raspberrypi python3[3503837]: 192.168.1.101 - - [25/May/2025 10:15:41] "GET /api/automodestatus HTTP/1.1" 200 - May 25 10:15:41 raspberrypi python3[3503837]: 216.73.216.33 - - [25/May/2025 10:15:41] "GET /infoautomoderelay HTTP/1.1" 200 - May 25 11:07:50 raspberrypi python3[3503837]: 216.73.216.204 - - [25/May/2025 11:07:50] "GET /robots.txt HTTP/1.1" 404 - May 25 11:07:51 raspberrypi python3[3503837]: 192.168.1.101 - - [25/May/2025 11:07:51] "GET /api/reports HTTP/1.1" 200 - May 25 11:07:51 raspberrypi python3[3503837]: 216.73.216.204 - - [25/May/2025 11:07:51] "GET /inforeports HTTP/1.1" 200 - May 25 11:26:51 raspberrypi sudo[3649509]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/systemctl status smart_plug.service May 25 11:26:51 raspberrypi sudo[3649509]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)'], 'status': 'True'}