Recent Changes - Search:

Contents

Fire Defence Concepts

Forecasting fire approach

Home-built systems

Commercial systems

Experiences in actual fires

Active defence with pumps and sprinkler systems

Research resources

Security and publishing your code

A system that can start a pump from the internet must be protected from strangers - and if you share your code to help others, you must not share your passwords with it.

Keeping the system secure

  • Don't open ports to the internet. Reach your dashboard through a VPN (Tailscale, ZeroTier, WireGuard) or the dashboard maker's secure cloud service.
  • Use logins on the dashboard, and strong, unique passwords everywhere.
  • Restrict SMS control to registered phone numbers.
  • Guard against accidents as well as attackers: a lock switch on the dashboard, so a phone in a pocket can't start the pump.
  • Keep software updated - but test updates before the fire season, not during it.

Publishing your code safely

  • Keep secrets in separate files: WiFi passwords, MQTT logins, email accounts, phone numbers and your location in a file such as config.h (Arduino) or secrets.yaml (Home Assistant).
  • Exclude those files from your git repository with .gitignore, and commit a template (config_example.h, secrets_example.yaml) with placeholders instead.
  • Check the history: if a password was ever committed, it is still in the repository's history. Publish a fresh repository, or clean the history, and change the password.
  • Choose a licence so others know what they may do with your code.
  • Say what it is and isn't: a README that explains the hardware it expects, and that it comes without warranty.

The ARMAC approach

ARMAC's Arduino code is published on GitHub (ARMAC-fire-defence) with credentials in a gitignored config.h and a committed config_example.h. The Home Assistant configuration and the full development history - which in early versions contained passwords - are kept in a separate private repository. Nothing on the ARMAC network is exposed to the internet; remote access is by VPN.

Details: Security on ARMAC.AU.


Pages here are kept under the Site Editor's control; see Contributing to add to them.

Discuss this page

Questions, corrections or your own experience of this topic? Add a comment below. You need to be signed in to the forum to comment.

Edit - History - Print - Recent Changes - Search
Page last modified on 03 December 2026, at 09:49
By using this site you accept the Terms of Use · Privacy