IT INFRASTRUCTURE
Validated integrationSynology DSM
SMS notifications.
Validated FoxBox integration. Follow the setup instructions for your application and configure account access, recipients and SMS routing.
HOW IT CONNECTS
01 / USE CASE
A useful notification,
from an existing event.
DSM emits a storage or service notification. A custom webhook provider sends it to the bridge; FoxBox submits it through the configured SMS route.
The integration adds a separate SMS notification path. It does not establish service availability or replace your existing incident response and escalation process.
02 / REQUIREMENTS
Before you begin.
- Synology DSM custom webhook provider; version to validate
- A separate host for the integration bridge. Nothing is installed on the FoxBox firmware.
- Python 3 for the bridge and an isolated environment for the first test.
- A FoxBox HTTP interface compatible with the documented
app=ws,op=pvrequest. Device and firmware version must be confirmed. - For any later live test: an approved recipient, correct credentials and a validated SMS route. SIM routes require coverage; external services require internet access and provider configuration.
Validated FoxBox integration. Follow the setup instructions for your application and configure account access, recipients and SMS routing.
Which FoxBox fits this integration?
Choose the format, modem count and network you need. Keep Synology DSM as the project context.
Find the right FoxBox for this integration →03 / INSTALLATION
Start in isolation.
Prepare the bridge.
Download the source bundle. Follow its root README to configure the external bridge in dry-run mode, using placeholders and a local test destination.
Step 2
Review the custom webhook notification provider options in your DSM version.
Step 3
Use the DSM custom webhook provider fields from the supplied configuration, with the secret in the Authorization header.
Step 4
Test provider formatting against the dry-run bridge before using live recipients.
04 / REVIEW THE CODE
Nothing hidden
behind the example.
The files below come from the downloadable integration source bundle. Review the full bridge and integration guide before using the example.
Loading source…05 / VALIDATE THE PATH
Test the example.
Then test the deployment.
Configure your integration.
python3 -m unittest discover -s tests -vCheck the expected payload, validation behavior, duplicate handling and error responses. The Lab below illustrates the flow locally in your browser.
Validated FoxBox integration. Follow the setup instructions for your application and configure account access, recipients and SMS routing.
06 / TROUBLESHOOTING
Make failures visible.
The bridge rejects the payload.
Check the integration field mapping against the supplied configuration. Use the synthetic examples first. Do not copy production event contents or credentials into support logs.
The request times out.
Confirm reachability, TLS and the expected request format. Do not automatically resend an ambiguous SMS request: the first request may already have been accepted.
The API accepted the request, but no SMS arrived.
Request acceptance is not delivery confirmation. Check the documented FoxBox message status and mobile-network conditions on the real device. Validated integration.
A duplicate event is sent.
Review the bridge event-key and deduplication settings. Validate grouped and recovery events in the target software before enabling live notifications.
FROM INTEGRATION TO HARDWARE
Choose the format.
Validate the fit.
Start with S1 for one modem, S2 for two, or SR for a rack deployment. The integration alone does not determine modem capacity or resilience requirements.
FoxBox S2 · compact, two-modem applianceConfiguration and validation
Technical setup: Synology DSM
Connection through an external bridge
In DSM notifications, add a Custom webhook, choose the intended notification rule and use POST with application/x-www-form-urlencoded. Add an Authorization header and a message field containing @@TEXT@@. The bridge address is external to DSM and FoxBox. This is a DSM custom webhook configuration, not a replacement SMS-provider driver.
This configuration derives a duplicate identity from notification text within a configured time window. Identical repeated alerts can therefore collapse; changing text can produce a new event. Agree that behavior for storage, backup and power notifications before enabling the rule. Keep destination selection on the bridge.
Configuration example · replace placeholders before use
URL: https://bridge.example.invalid/webhooks/synology
Method: POST
Content-Type: application/x-www-form-urlencoded
Header Authorization: Bearer <PRIVATE_BRIDGE_TOKEN>
Form field message: @@TEXT@@Validate before enabling transport
- Test one synthetic event twice, a changed event and text containing &, + and non-ASCII characters; confirm form encoding and duplicate policy.
References: Synology DSM webhooks
FoxBox API: parameters, errors and status · Adapter authentication and duplicate handling
