HUB
Sign inSign up
ajax-bridge logo

rcooler/ajax-bridge

By rcooler

•Updated 16 days ago

Ajax security hub bridge: SIA DC-09 events to Prometheus, MQTT and Home Assistant.

Image
0

2.4K

rcooler/ajax-bridge repository overview

AjaxBridge overview

⁠Quick overview

AjaxBridge is a small unofficial bridge for Ajax security hubs. It receives SIA DC-09 events, keeps the current alarm and zone state in memory, and exposes it through HTTP JSON, Prometheus metrics, MQTT state, and Home Assistant MQTT Discovery.

It is useful when you want one lightweight container to feed monitoring, dashboards, and Home Assistant from Ajax SIA events without adding a database.

  • Signed images for linux/amd64 and linux/arm64.
  • Published as rcooler/ajax-bridge. rcooler/ajax2prometheus is the former name and receives the same images; new installations should use rcooler/ajax-bridge.
  • Source, documentation, Home Assistant cards and releases: GitHub⁠

⁠Changelog⁠

⁠2.1.2 - 2026-11-11
  • Updated Go to 1.27.4, including the net/http fix for CVE-2026-97054, and refreshed Go dependencies.
  • Refreshed the digest-pinned Go builder and Alpine 3.24.3 runtime images.
  • Updated the card toolchain (Node.js 24.22.2, React 19.3.1, Vite 8.3.6).
  • No migration from 2.1.1: device mappings, MQTT topics, Home Assistant identities and stored state formats are unchanged.
  • 2.1.2 release notes⁠
⁠2.1.1 - 2026-10-12
  • MQTT discovery and cached state are republished after Home Assistant announces it is online, without replaying actuator commands.
  • Added an opt-in source ID that isolates additional installations: separate data paths, MQTT and Home Assistant identities, Prometheus labels and dashboard filters.
  • Added an optional Jeedom Docker runtime with an external MySQL 8.4 server.
  • A Transmitter's physical-input events are published as a generic input_alarm binary state.
  • Updated Go to 1.27.2 and Vite to 8.3.3 with their security fixes.
  • 2.1.1 release notes⁠

Full history: CHANGELOG.md⁠ · GitHub Releases⁠

⁠Installation

⁠Docker Compose
services:
  ajaxbridge:
    image: rcooler/ajax-bridge:latest
    container_name: ajaxbridge
    restart: unless-stopped
    ports:
      - "8080:8080"
      - "8099:8099"
    environment:
      AJAXBRIDGE_HTTP_ADDR: ":8080"
      AJAXBRIDGE_SIA_ADDR: ":8099"
      AJAXBRIDGE_ACCOUNT: "0001"
      AJAXBRIDGE_LOG_LEVEL: "info"
      AJAXBRIDGE_STRICT_CRC: "true"
      AJAXBRIDGE_DEVICES_PATH: "/data/devices.json"
      AJAXBRIDGE_NOTIFICATIONS_PATH: "/data/notifications.json"
      # AJAXBRIDGE_MQTT_BROKER: "tcp://homeassistant.local:1883"
      # AJAXBRIDGE_MQTT_DISCOVERY: "true"
    volumes:
      - ./data:/data
⁠Ajax hub

Configure the Ajax hub to send SIA DC-09 events to the host running this container on port 8099, with the account/object number set in AJAXBRIDGE_ACCOUNT. Then check http://localhost:8080/healthz and http://localhost:8080/state.

Details: SIA setup⁠ · Home Assistant⁠

⁠Prometheus scrape job
  - job_name: 'ajaxbridge'
    static_configs:
      - targets: ['ajaxbridge:8080']
⁠Endpoints
http://localhost:8080/metrics
http://localhost:8080/healthz
http://localhost:8080/state

⁠PS

  • The HTTP listener, including the admin page, has no authentication. Keep port 8080 on a private network.
  • Running more than one installation (house, apartment) against one broker: multiple installations⁠.
  • The optional Jeedom plugin patch ships as a separate release asset and keeps its upstream licenses; the MIT license does not cover it.

MIT licensed. AjaxBridge is an unofficial DIY open-source project and is not affiliated with, endorsed by, or sponsored by Ajax Systems. Ajax, Ajax Systems, and related product names are trademarks of their respective owners and are used only to describe compatibility and integration.

Tag summary

Content type

Image

Digest

sha256:166a904d3…

Size

9.9 MB

Last updated

16 days ago

docker pull rcooler/ajax-bridge