No description
This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Go 97.4%
  • Dockerfile 2.6%
Find a file
2025-11-06 09:23:21 +01:00
alarm implement new plugin interface 2025-03-25 22:49:26 +01:00
cache rename package 2025-03-24 18:39:36 +01:00
database implement new plugin interface 2025-03-25 22:49:26 +01:00
docs fix swagger config 2025-03-25 22:55:06 +01:00
mqttclient implement executing alarm 2025-03-24 22:42:26 +01:00
mqttserver add embedded mqtt server 2025-03-18 19:56:40 +01:00
types add columns for alarm plugin and plugin config id 2025-03-24 20:50:49 +01:00
webserver fix swagger config 2025-03-25 22:55:06 +01:00
.dockerignore add dockerignore 2025-03-30 13:16:54 +02:00
.gitignore ignore db journal 2025-03-24 22:38:43 +01:00
.gitlab-ci.yml Update golang Docker tag to v1.25.4 2025-11-06 00:39:11 +01:00
Dockerfile Update golang Docker tag to v1.25.4 2025-11-06 00:39:11 +01:00
go.mod Update dependency go to v1.25.4 2025-11-06 00:39:04 +01:00
go.sum Update module gorm.io/gorm to v1.31.1 2025-11-03 00:18:23 +01:00
LICENSE add license 2025-03-18 21:05:21 +01:00
main.go implement plugin system for alarming 2025-03-24 20:16:17 +01:00
Readme.md implement plugin system for alarming 2025-03-24 20:16:17 +01:00
renovate.json add renovate config 2025-03-18 19:28:25 +01:00

Firehouse Smokedetection

Configuration

The configuration can either be done through environment variables or a file called .env

Env name Default Description
LOG_FOLDER Target folder for logs ( leave empty to disable file logs )
LOG_LEVEL info Log level, can be DEBUG, INFO, WARN, ERROR
MQTT_SERVER embedded Hostname of the MQTT Server between ZigBee2MQTT and the application. Use embedded to start a internal mqtt server
MQTT_PORT 1883 MQTT Port
MQTT_USERNAME Optional: Username for MQTT authentication
MQTT_PASSWORD Optional: Password for the MQTT user
MQTT_LISTEN 0.0.0.0:1883 MQTT listen address
EXIT_ON_DISCONNECT false Exit the application on MQTT disconnect
Z2M_BASETOPIC zigbee2mqtt Base topic for ZigBee2MQTT
DB_DRIVER sqlite Database driver, currently ony sqlite is supported
DB_NAME ./database.db Name of the databse, for sqlite path to the DB file
EXECUTE_MIGRATIONS true Execute database migrations on start
PLUGIN_DIR ./plugins Where to search for plugins