From e34e25b9511f3e6b2ba4fb5070183768fead0c93 Mon Sep 17 00:00:00 2001 From: Mike Geppert Date: Sun, 3 Aug 2025 22:50:10 -0500 Subject: [PATCH] Add configuration template file for PyCharm project setup This template file provides a reference for developers to create their own configuration file without exposing sensitive information. It should be included in the PyCharm project structure, while the actual configuration file (network_configuration.json) should also be included in the project but excluded from version control. --- network_configuration.example.json | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 network_configuration.example.json diff --git a/network_configuration.example.json b/network_configuration.example.json new file mode 100644 index 0000000..26c6de2 --- /dev/null +++ b/network_configuration.example.json @@ -0,0 +1,31 @@ +{ + "unifi": { + "host": "https://unifi.example.com", + "username": "your_username", + "password": "your_password", + "site": "default", + "network_filter": { + "network_name": { + "name": "Human-readable name", + "subnet": "192.168.1", + "exclude_patterns": [ + "device-to-exclude*", + "*another-pattern*" + ], + "unknown_device_patterns": [ + "tasmota*", + "ESP-*" + ] + } + } + }, + "mqtt": { + "Host": "mqtt.example.com", + "Port": 1883, + "User": "mqtt_username", + "Password": "mqtt_password", + "Topic": "%hostname_base%", + "FullTopic": "%prefix%/%topic%/", + "NoRetain": false + } +} \ No newline at end of file