• 0 Votes
    5 Posts
    3k Views
    jpalbinetJ
    @berpast awesome I updated my project with your solution and it is working perfectly.
  • LoPy ADR does not seem to work

    LoPy lorawan lopy adr
    4
    0 Votes
    4 Posts
    2k Views
    D
    Did someone successfully connect to the Things Network (TTN) with ADR working? The TTN should have ADR enabled by default with the algorithm kicking in after 20 packets, yet even after 70 packets it's still at SF12BW125. The gateway is just next door, my packets have an RSSI of about -50 and a SNR of around 5-7. SF7 would still give plenty of margin. My LoPy firmware is at 1.7.3b2.
  • 0 Votes
    7 Posts
    3k Views
    J
    Finally I could get the node to join TTN! :D I needed to add a delay of 5 seconds before the node starts listening for the response of the Join Request with the command AT+JD: > AT+JD=5 OK > AT+JOIN Successfully joined network OK Also the fix for _send_down_link in my last post is no more needed as the frequency in the Event Data is now ok.
  • LoRaWAN nano gateway and activation issues

    LoPy lorawan
    20
    0 Votes
    20 Posts
    5k Views
    J
    @bucknall i have the same problem of @moenad OTTA with nanogateway, (but not with Conduit for example). Could you find any solution to this?
  • TTN OTAA join acknowledgement not being received ?

    LoPy ttn lorawan otaa
    13
    0 Votes
    13 Posts
    4k Views
    robert-hhR
    @seb Yes, it's in the EU, 868 Region. Using ABP, I can connect, send messages from the node (FiPy) to the gateway (LoPy), they are reported on the TTN cosole, and they arrive in the test target, but downlink messages travel only to the gateway (LoPy), are sent out by the getaeway, but almost never the node confirms reception. This may block OTAA.
  • Attempt to implement a personal downlink mode

    LoPy lopy lorawan ic880a downlink
    6
    0 Votes
    6 Posts
    3k Views
    bmarkusB
    @jmarcelino said in Attempt to implement a personal downlink mode: and then maybe dive into the whole thing https://www.lora-alliance.org/portals/0/specs/LoRaWAN Specification 1R0.pdf This version is outdated, current is 1.0.2
  • Downlink Messages

    LoPy lorawan gateway downlink
    2
    0 Votes
    2 Posts
    1k Views
    B
    Hi @athtest800 Yes! You can do both uplink and downlink messages with the LoPy as a LoRaWAN nano-gateway. You'll see that in the examples, within the docs, there is a method for the device to connect via OTAA. This method of connection requires the gateway to send an ACK, message back to the device, confirming that it's connected. This is a form of downlink message! If you're using the Things Network, you can set up your downlink messages using their backend platform. Thanks, Alex
  • OSError: [Errno 100] ENETDOWN

    LoPy lopy lorawan
    2
    0 Votes
    2 Posts
    2k Views
    J
    That code is only for use with a single channel gateway/LoPy as nano-gateaway. If you have a real - multichannel - gateway like the Multitech use the code from the documentation https://docs.pycom.io/pycom_esp32/pycom_esp32/tutorial/includes/lora-otaa.html
  • 0 Votes
    3 Posts
    1k Views
    C
    @livius oh man, such a stupid mistake! thank you man!
  • Is there a way to change LoRaWan DevEui ?

    LoPy lorawan
    4
    0 Votes
    4 Posts
    2k Views
    P
    @bmarkus the idea is , as supposed by @jmarcelino , to make easier the field replacement of defective devices without loosing history (the application software is not easy to patch to take care of this kind of change).
  • 2 Votes
    4 Posts
    3k Views
    RobTuDelftR
    @PiAir Very nice, thanks for sharing!
  • 0 Votes
    9 Posts
    4k Views
    PiAirP
    Correction to my previous comment, the default Marvin code contains the send_LoRa_Command("mac set adr on"); command. So indeed it switches on ADR on purpose and not by default.
  • LORAWAN Gateway

    Discussion lorawan
    5
    0 Votes
    5 Posts
    2k Views
    J
    @farshadfirouzi Cat M1 has a much higher bandwidth and no duty cycle restrictions as it operates in a private band so I think it should work, but of course you'll pay a subscription to your carrier. Also the peak current consumption should be higher than LoRa so that's something to keep in mind if powering from batteries. If you really have an application using 10,000 nodes and consuming 40GB a day I can imagine Verizon would want to talk to you but really I can't say anything about that. Here in the UK it would definitely open some doors. You will need to work with your carrier to supply a base station because, unlike LoRa, they own the frequency spectrum.
  • 0 Votes
    5 Posts
    2k Views
    R
    @jmarcelino I'm also looking at class-C though using OTAA activation but it seems the class is hardcoded in the stack ? I'm using everynet network which does support class-C devices and I see on SDR that the gateway does try to send the packet to the device but the device is not receiving.
  • C framework for LoPy

    Enhancements lorawan c framework esp32
    7
    0 Votes
    7 Posts
    4k Views
    J
    @karolalexander Have a look at the code for Lua ESP32 + LoRaWAN (Whitecat project). Should run on the LoPy and might be more to your liking: https://github.com/whitecatboard/Lua-RTOS-ESP32 In particular they ported the LMIC library for LoRaWAN which is older and less featured than Semtech's but simpler to understand (no HALs) so you might be able to borrow some of the code from there.
  • LoPy and containers

    LoPy lorawan shipping containers
    3
    0 Votes
    3 Posts
    893 Views
    K
    @jmarcelino Thanks for your answer! There are indeed different kinds. The fiberglass containers I saw didn't have much metal, except for the frame and rear part -- the refrigeration unit.. But the foam indeed could be a problem. I guess I am going to have to enlist the help of a shipping company to let me do quick tests... A big challenge indeed. But quite interesting. Cheers
  • LoRaWAN Certification update

    Announcements & News lopy lorawan
    1
    2 Votes
    1 Posts
    919 Views
    No one has replied
  • 2 Votes
    26 Posts
    17k Views
    J
    @jmarcelino can you help me please? I was able to connect my NanoGateway to TTN, then I connected a node and i no had problems, however, now I am having problems to connect the node, when I start the node the following messages appear in the NanoGateway: [ 884.453] Received packet: {"rxpk": [{"data": "ABeYANB+1bNwQfHGnEnVs3BtML tNbMI=", "time": "2018-02-14T15:38:34.160580Z", "chan": 0, "tmst": 860755474, "s tat": 1, "modu": "LORA", "lsnr": 5.0, "rssi": -20, "rfch": 0, "codr": "4/5", "fr eq": 903.9001, "datr": "SF7BW125", "size": 23}]} [ 884.710] Push ack [ 887.718] Pull ack [ 889.710] Pull rsp [ 890.633] Sent downlink packet scheduled on 866.755, at 923.299 Mhz using SF12BW500: b' yZ\xe2\xb8 \x 191\xc3NL\xc7/\xba+\xf4\xc4' but the node is still getting "not joined yet", I am using the 915 Mhz.
  • setsockopt fails with EOPNOTSUPP

    LoPy lorawan setsockopt lopy
    10
    0 Votes
    10 Posts
    4k Views
    W
    @jmarcelino Thanks for the quick reply. Yes, I'm in US915, and setting it to 3 does solve the issue. Now to figure out how to view what I'm sending from the LoPy to the mLinux Conduit gateway... :-/
  • Strategy for LoRaWAN with deepsleep

    Moved LoPy lorawan deepsleep
    1
    2 Votes
    1 Posts
    1k Views
    No one has replied