blob: a26cd05b4a556bf2f834e9d646e58eb17f7b1ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Managed by Ansible (openhop/repeater role) — do not edit by hand.
repeater:
node_name: "{{ repeater_node_name }}"
latitude: {{ repeater_latitude }}
longitude: {{ repeater_longitude }}
identity_file: {{ ('"' + repeater_identity_file + '"') if repeater_identity_file else 'null' }}
owner_info: "{{ repeater_owner_info }}"
cache_ttl: 3600
max_flood_hops: 64
use_score_for_tx: false
score_threshold: 0.3
send_advert_interval_hours: 10
allow_discovery: true
{% if repeater_admin_password or repeater_jwt_secret %}
security:
{% if repeater_admin_password %}
admin_password: "{{ repeater_admin_password }}"
{% endif %}
{% if repeater_jwt_secret %}
jwt_secret: "{{ repeater_jwt_secret }}"
{% endif %}
{% endif %}
# The daemon defaults its auth DB and telemetry to /var/lib/openhop_repeater
# regardless of other paths, so point it at the role-managed data dir.
storage:
storage_dir: "{{ repeater_data_dir }}"
radio_type: sx1262
sx1262:
bus_id: {{ repeater_sx1262_bus_id }}
cs_id: {{ repeater_sx1262_cs_id }}
cs_pin: {{ repeater_sx1262_cs_pin }}
reset_pin: {{ repeater_sx1262_reset_pin }}
busy_pin: {{ repeater_sx1262_busy_pin }}
irq_pin: {{ repeater_sx1262_irq_pin }}
txen_pin: {{ repeater_sx1262_txen_pin }}
rxen_pin: {{ repeater_sx1262_rxen_pin }}
en_pins: {{ repeater_sx1262_en_pins | to_json }}
gpio_chip: {{ repeater_sx1262_gpio_chip }}
use_gpiod_backend: {{ repeater_sx1262_use_gpiod_backend | string | lower }}
en_pin: -1
txled_pin: -1
rxled_pin: -1
use_dio3_tcxo: {{ repeater_sx1262_use_dio3_tcxo | string | lower }}
dio3_tcxo_voltage: {{ repeater_sx1262_dio3_tcxo_voltage }}
use_dio2_rf: {{ repeater_sx1262_use_dio2_rf | string | lower }}
is_waveshare: {{ repeater_sx1262_is_waveshare | string | lower }}
radio:
frequency: {{ repeater_frequency_hz }}
tx_power: {{ repeater_tx_power_dbm }}
bandwidth: {{ repeater_bandwidth_hz }}
spreading_factor: {{ repeater_spreading_factor }}
coding_rate: {{ repeater_coding_rate }}
preamble_length: {{ repeater_preamble_length }}
implicit_header: false
# Observer/telemetry disabled: repeater-only deployment. The daemon enables
# its MQTT pusher whenever an mqtt_brokers/letsmesh/mqtt key is present, even
# with an empty broker list (and then warns on every noise-floor sample), so
# the section must be omitted entirely.
glass:
enabled: false
base_url: "http://localhost:8080"
inform_interval_seconds: 30
|