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.
This commit is contained in:
parent
7007fac904
commit
e34e25b951
31
network_configuration.example.json
Normal file
31
network_configuration.example.json
Normal file
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user