Skip to main content

FireServiceRota smart home integration, free and open source

FireServiceRota integration for Gladys Assistant

FireServiceRota: callout alerts and availability of volunteer firefighters

Receive your FireServiceRota and BrandweerRooster callouts in Gladys, see whether you are on duty, and tell your station whether you are coming — from a dashboard, a scene or a switch. The integration does what the Home Assistant FireServiceRota integration does.

Warning: never rely on Gladys alone to be alerted of an emergency call. Keep your usual pager or the official app.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for FireServiceRota and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab of the integration:

  • Platform: BrandweerRooster (Netherlands, brandweerrooster.nl) or FireServiceRota (international, fireservicerota.co.uk) — the site your fire station uses.
  • Username and Password: the account you use in the app.
  • Duty refresh interval: how often your duty and your response are read (60 s by default). Incidents always arrive in real time.

Save, then click Test the connection: Gladys answers with your name and whether you are on duty. The connection status of the integration turns green.

The password is only sent to the platform you chose. If it is refused, Gladys stops trying (to avoid locking your account) until you change the configuration.

Devices​

In Discovery, add the FireServiceRota your name device. It has four features:

FeatureContent
On duty1 when you are on duty according to the rota, 0 otherwise (read-only)
Last incidentText of the last callout, received in real time
Incident addressAddress of the last callout
Incident responseYour response: 1 = I am coming (acknowledge), 0 = I am not coming (reject)

Switching Incident response sends your answer to the platform. Like in Home Assistant, a response is only possible while you are on duty and while the incident can still be answered (can_respond_until, or 30 minutes after the callout).

Scenes and dashboards​

Scene triggers

  • New incident: a callout was sent to you. Filter by priority (A1, A2, B1, B2). Variables: text, priority, type, address, latitude, longitude, incident ID, alert time, spoken message (MP3 URL), responder mode.
  • Incident updated: the incident changed (new address, priority or text). Same variables.
  • Duty started or ended: filter on the start or the end. Variables: duty, assigned function, end time.
  • FireServiceRota connection lost: Gladys can no longer receive your callouts (real-time alerts down for more than a minute, service unreachable, login refused). Variable: reason.

Example: on New incident with priority A1, turn on the lights of the hallway and announce {{triggerEvent.data.body}} on the speaker.

Scene actions

  • Respond to the incident: "I am coming" or "I am not coming" to the current incident. Outputs: response sent (true/false), recorded response, incident ID. A response that cannot be sent (no incident, not on duty, too late) is not an error: check the Response sent output.
  • Refresh the duty status: reads your duty now. Outputs: on duty, assigned function, duty end time, response to the incident.

Dashboard widget

The FireServiceRota widget shows the last incident (text, address, priority, time), your duty (until when, with which function), your response and the connection. While an incident can be answered, two buttons I am coming / Not coming send your response after a confirmation.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings FireServiceRota asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Your FireServiceRota accountsectionNoSign in with the account you use in the FireServiceRota or BrandweerRooster app. Gladys receives your callouts in real time, shows whether you are on duty and lets you answer an incident. Never rely on Gladys alone for emergency calls.
PlatformselectYesThe website your fire station uses.
Username (email)stringYes
PasswordsecretYes
Duty refresh interval (s)numberNoHow often the duty and the response are read, in seconds (one minute minimum). Incidents always arrive in real time.

How to install FireServiceRota in Gladys​

  1. In Gladys, open Integrations: FireServiceRota appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-fireservicerota:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-fireservicerota.

FireServiceRota requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

FireServiceRota is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂