FAQ¶
Troubleshooting¶
The service is not starting¶
- Ensure all environment variables are correctly configured in the
.envfile. - Check the logs for any error messages.
Unable to connect to the database¶
- Verify the database connection details in the
.envfile. - Ensure the database is running and accessible.
API requests are failing¶
- Ensure the service is running.
- Verify the API key is correctly set in the request headers.
Frequently Asked Questions¶
How do I add a new device?¶
Use the POST /device endpoint to add a new device.
How do I get the health status of a device?¶
Use the GET /device/:id/health endpoint to retrieve the health status of a device.
How do I update the intervals?¶
Use the PUT /intervals/:id endpoint to update a specific interval by its ID.