manifest / integrations / api-alarm-manager
Api Alarm Manager
Creates WordPress Rest API endpoint for contal alarms
by Kristoffer Svanmark · github.com/helsingborg-stad/api-alarm-manager · website
★ 2stars
10release downloads
1.5kcomposer installs
1forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/helsingborg-stad/api-alarm-manager/releases/download/2.4.1/release.zipAlso on Packagist as helsingborg-stad/api-alarm-manager:
composer require helsingborg-stad/api-alarm-managerFrom the readme
Api Alarm Manager
Creates WordPress Rest API endpoints for contal alarms and fire danger levels.
Alarms
Alarms are imported from a remote FTP/SFTP server. The alarms are then stored in the WordPress database and can be fetched from the WordPress Rest API.
After the alarms have been imported, they are moved to an archive folder on the remote server. For the alarms to be archived on the remote server, the const APIALARMMANAGERARCHIVEALARMSONREMOTE must be set to true. Otherwise the alarm files on the remote server will note be altered.
Fire danger levels
Fire danger levels are posts that are created in WordPress. The posts are then fetched from the WordPress Rest API.
Constants
define('APIALARMMANAGERARCHIVEALARMSONREMOTE', true); - REQUIRED to archive alarms on remote server.
Devcontainer
This project uses a devcontainer for development. This means that you can use VS Code to develop the project. To use the devcontainer, you need to install the Remote - Containers extension for VS Code. When you have installed the extension, you can open the project in a container by clicking the green button in the bottom left corner of VS Code and select "Remote-Containers: Reopen in Containe
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 2.4.1 | Aug 21, 2025 | release.zip | 0 |
| 2.4.0 | May 9, 2025 | release.zip | 0 |
| 2.3.5 | May 1, 2025 | release.zip | 0 |
| 2.3.4 | Apr 28, 2025 | release.zip | 0 |
| 2.3.3 | Apr 1, 2025 | release.zip | 5 |
| 2.3.1 | Apr 1, 2025 | release.zip | 3 |
| 2.3.0 | Mar 18, 2025 | — | — |
| 2.2.3 | May 22, 2024 | release.zip | 1 |
| 2.2.2 | May 21, 2024 | release.zip | 1 |
| 2.1.2 | Dec 20, 2023 | — | — |
| 2.1.1 | Dec 18, 2023 | — | — |
| 2.0.2 | Dec 14, 2023 | — | — |
| 2.0.1 | Dec 14, 2023 | — | — |
| 1.3.7 | Dec 12, 2023 | — | — |