-
Notifications
You must be signed in to change notification settings - Fork 298
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
- static ip, gateway, subnet dns are set
- config settings yaml file exported via cli command
- importing settings through cli:
meshtastic --configure settings.yaml
EXPECTED:
config settings imported
ACTUAL
- output ends with error message:
Connected to radio
INFO file:node.py beginSettingsTransaction line:535 Telling open a transaction to edit settings
Setting device owner to s5
Setting device owner short to s5
Setting channel url to https://meshtastic.org/e/#redacted-channel-name
Fixing altitude at 141 meters
Fixing latitude at 43.4691455 degrees
Fixing longitude at 16.848628699999999 degrees
Setting device position
Set bluetooth.enabled to True
Set bluetooth.fixed_pin to 123456
Set bluetooth.mode to FIXED_PIN
Set device.node_info_broadcast_secs to 10800
Set device.role to ROUTER_CLIENT
Set device.serial_enabled to True
Set display.screen_on_secs to 600
Set lora.hop_limit to 3
Set lora.modem_preset to VERY_LONG_SLOW
Set lora.override_duty_cycle to True
Set lora.region to EU_868
Set lora.sx126x_rx_boosted_gain to True
Set lora.tx_enabled to True
Set lora.tx_power to 27
Set lora.use_preset to True
Set network.address_mode to STATIC
Aborting due to: Assignment not allowed to message, map, or repeated field "ipv4_config" in protocol message object.
additional note:
in yaml, in the mqtt: address is stored in normal human readable form: 192.168.1.1
the ipv4Config settings are not in this notation:
ipv4Config:
dns: 134744072
gateway: 16885952
ip: 671197376
subnet: 16777215
configure.yaml file:
# start of Meshtastic configure yaml
channel_url: https://meshtastic.org/e/#url-redacted
config:
bluetooth:
enabled: true
fixedPin: 123456
mode: FIXED_PIN
device:
nodeInfoBroadcastSecs: 10800
role: ROUTER_CLIENT
serialEnabled: true
display:
screenOnSecs: 600
lora:
hopLimit: 3
modemPreset: VERY_LONG_SLOW
overrideDutyCycle: true
region: EU_868
sx126xRxBoostedGain: true
txEnabled: true
txPower: 27
usePreset: true
network:
addressMode: STATIC
ipv4Config:
dns: 134744072
gateway: 16885952
ip: 671197376
subnet: 16777215
ntpServer: 0.pool.ntp.org
position:
broadcastSmartMinimumDistance: 100
broadcastSmartMinimumIntervalSecs: 30
gpsAttemptTime: 900
gpsEnabled: true
gpsUpdateInterval: 120
positionBroadcastSecs: 900
positionBroadcastSmartEnabled: true
positionFlags: 779
power:
lsSecs: 300
minWakeSecs: 10
sdsSecs: 4294967295
waitBluetoothSecs: 60
location:
alt: 141
lat: 43.4691455
lon: 16.848628699999999
module_config:
ambientLighting:
blue: 60
current: 10
green: 161
red: 193
detectionSensor:
detectionTriggeredHigh: true
minimumBroadcastSecs: 45
mqtt:
address: 192.168.1.1
jsonEnabled: true
root: msh
neighborInfo:
updateInterval: 900
telemetry:
airQualityInterval: 900
deviceUpdateInterval: 900
environmentUpdateInterval: 900
owner: s5
owner_short: s5Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed