Hello
I have Lopy4 + pysense and I try to use exaple from here https://github.com/brocaar/pycom-examples
I use Mikroik Lora Gateway (EU868), and ChirpStack on my serever
So, Server is working, Gateway is online, I defined profiles, all, device but from sme reson devise newer in online
So I set Device-profile LoraWAN MAC verison 1.1.0
Set aplication
Add devices (use devEUI from LoPy4) BUT on KEY OTAA tab thera are Aplication key and Network Key
Wish one I use ? I try combination but newer work
# Extra channel configuration.
#
# Use this for LoRaWAN regions where it is possible to extend the by default
# available channels with additional channels (e.g. the EU band).
# The first 5 channels will be configured as part of the OTAA join-response
# (using the CFList field).
# The other channels (or channel / data-rate changes) will be (re)configured
# using the NewChannelReq mac-command.
#
[[network_server.network_settings.extra_channels]]
frequency=867100000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867300000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867500000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=86770000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867900000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868100000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868300000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867500000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=86770000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867900000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868100000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868300000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868500000
min_dr=0
max_dr=5
# Class B settings
[network_server.network_settings.class_b]
# Ping-slot data-rate.
ping_slot_dr=0
# Ping-slot frequency (Hz)
#
# Set this to 0 to use the default frequency plan for the configured region
# (which could be frequency hopping).
ping_slot_frequency=0
indent preformatted text by 4 spaces
Why all this need to be so complicatedâŚ
Used same exaple from https://github.com/brocaar/pycom-examples (LoPy4 + pysenes)
Gateway is seen on ChripSteck server, devise sends ERROR all the timeâŚ
âŚprofile looks good⌠to be honest Iâm using the US915 regional parms⌠but I had a lot of problems to activate my devices until I add this code, to deactivate the full channel used by pycom LOPY4
# Extra channel configuration.
#
# Use this for LoRaWAN regions where it is possible to extend the by default
# available channels with additional channels (e.g. the EU band).
# The first 5 channels will be configured as part of the OTAA join-response
# (using the CFList field).
# The other channels (or channel / data-rate changes) will be (re)configured
# using the NewChannelReq mac-command.
#
[[network_server.network_settings.extra_channels]]
frequency=867100000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867300000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867500000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=86770000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=867900000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868100000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868300000
min_dr=0
max_dr=5
[[network_server.network_settings.extra_channels]]
frequency=868500000
min_dr=0
max_dr=5
# Scheduler settings
#
# These settings affect the multicast, Class-B and Class-C downlink queue
# scheduler.
[network_server.scheduler]
# Scheduler interval
#
# The interval in which the downlink scheduler for multicast, Class-B and
# Class-C runs.
scheduler_interval="1s"
# Class-C settings.
[network_server.scheduler.class_c]
# Downlink lock duration
#
# Contains the duration to lock the downlink Class-C transmissions
# after a preceeding downlink tx (per device).
downlink_lock_duration="2s"
# Multicast gateway delay.
#
# In case of a multi-gateway multicast downlink, this delay will added to
# the transmission time of each downlink to avoid collisions between overlapping
# gateways.
multicast_gateway_delay="2s"