# Pycom

**URL:** https://www.thethingsnetwork.org/forum/c/nodes/pycom/78.md

[Latest](https://www.thethingsnetwork.org/forum/latest.md) · [Categories](https://www.thethingsnetwork.org/forum/categories.md) · [Tags](https://www.thethingsnetwork.org/forum/tags.md)

---

## [About the Pycom category](https://www.thethingsnetwork.org/forum/t/about-the-pycom-category/13428)

<div class="topic-metadata">

**Author:** [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Replies:** 0

</div>

Pycom creates Python-programmed LoRaWAN devices such as the LoPy, LoPy4 and FiPy.

---

## [Downlink publishing problem in python](https://www.thethingsnetwork.org/forum/t/downlink-publishing-problem-in-python/65419)

<div class="topic-metadata">

**Author:** [@bmaclaren](https://www.thethingsnetwork.org/forum/u/bmaclaren)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 11:12pm UTC](https://www.thethingsnetwork.org/forum/t/downlink-publishing-problem-in-python/65419 "2023-11-06T23:12:33Z")

</div>

Hello! I have been trying to the Pahos Python client to send a downlink message to a device I have built. I have successfully done this through the Chirpstack enqueue interface as well as the node-red application. Howev…

---

## [Some (LoPy4) nodes generating WAY too many downlinks](https://www.thethingsnetwork.org/forum/t/some-lopy4-nodes-generating-way-too-many-downlinks/58338)

<div class="topic-metadata">

**Author:** [@Ichthus\_College\_Info](https://www.thethingsnetwork.org/forum/u/Ichthus_College_Info)\
**Replies:** 11\
**Last updated:** [August 8, 2022, 1:02pm UTC](https://www.thethingsnetwork.org/forum/t/some-lopy4-nodes-generating-way-too-many-downlinks/58338 "2022-08-08T13:02:48Z")

</div>

Hi folks, A couple of months ago I was busy developing a number of nodes. Multiple delays later, I deployed 16 of them four weeks ago. While some showed some defects early on, 12 are working fine (although some batterie…

---

## [TTN does not get my data (after about 2 hours)](https://www.thethingsnetwork.org/forum/t/ttn-does-not-get-my-data-after-about-2-hours/56445)

<div class="topic-metadata">

**Author:** [@jusm](https://www.thethingsnetwork.org/forum/u/jusm)\
**Replies:** 8\
**Last updated:** [May 16, 2022, 11:04am UTC](https://www.thethingsnetwork.org/forum/t/ttn-does-not-get-my-data-after-about-2-hours/56445 "2022-05-16T11:04:58Z")

</div>

Hello everyone, I connected a sensor (pysense in combination with a lopy4, both by pycom) to TTN. Everything works perfectly fine and I can see the data in the cloud. After 2 hours the data arrival stops and it seems li…

---

## [Node stuck at "Forward join-accept to Application Server" sometimes(all of a sudden after working for weeks)](https://www.thethingsnetwork.org/forum/t/node-stuck-at-forward-join-accept-to-application-server-sometimes-all-of-a-sudden-after-working-for-weeks/48044)

<div class="topic-metadata">

**Author:** [@IIoT-Testing](https://www.thethingsnetwork.org/forum/u/IIoT-Testing)\
**Replies:** 2\
**Last updated:** [April 7, 2022, 1:21pm UTC](https://www.thethingsnetwork.org/forum/t/node-stuck-at-forward-join-accept-to-application-server-sometimes-all-of-a-sudden-after-working-for-weeks/48044 "2022-04-07T13:21:55Z")

</div>

Greetings, I am using a LoPy board, LoRaWAN MAC 1.02 REV B and Australia 915-928 Mhz FSB 2. I have had a node running for weeks without issue, however recently when the node attempts a rejoin it becomes stuck at “Forwar…

---

## [Every ABP uplink generating a downlink](https://www.thethingsnetwork.org/forum/t/every-abp-uplink-generating-a-downlink/55672)

<div class="topic-metadata">

**Author:** [@Ichthus\_College\_Info](https://www.thethingsnetwork.org/forum/u/Ichthus_College_Info)\
**Replies:** 7\
**Last updated:** [March 7, 2022, 8:11pm UTC](https://www.thethingsnetwork.org/forum/t/every-abp-uplink-generating-a-downlink/55672 "2022-03-07T20:11:03Z")

</div>

Hi there folks, I am currently trying to implement ABP since my node is not very good at receiving OTAA join accept messages. All communication is coming through well, except that the node must somehow be requesting a …

---

## [V3 with PyCom Lopy4 LoRa nvsram restore issue](https://www.thethingsnetwork.org/forum/t/v3-with-pycom-lopy4-lora-nvsram-restore-issue/53548)

<div class="topic-metadata">

**Author:** [@teus](https://www.thethingsnetwork.org/forum/u/teus)\
**Replies:** 18\
**Last updated:** [December 15, 2021, 7:56pm UTC](https://www.thethingsnetwork.org/forum/t/v3-with-pycom-lopy4-lora-nvsram-restore-issue/53548 "2021-12-15T19:56:52Z")

</div>

Migration from V2 to V3 TTN for LoPy works OK after using the trick: power off LoPy4, reset LoRa nvsram (even when never dumped), power on. Issue Lopy4 using LoRa nvsram and TTN V3: However when using LoRa nvsram dump/…

---

## [Can't join network, only see Accept join-request](https://www.thethingsnetwork.org/forum/t/cant-join-network-only-see-accept-join-request/53055)

<div class="topic-metadata">

**Author:** [@yadomi](https://www.thethingsnetwork.org/forum/u/yadomi)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 4:43pm UTC](https://www.thethingsnetwork.org/forum/t/cant-join-network-only-see-accept-join-request/53055 "2021-11-11T16:43:32Z")

</div>

Hi, I have a Lopy with Pysense 2.x and I’m trying to connect to TTN. However, I only get the “Accept join-request” in the Live Data tab of TTN Console of my end device. Here is the code I’ve been using so far: pycom…

---

## [PyGate connect to The Things Stack v3 Community Edition](https://www.thethingsnetwork.org/forum/t/pygate-connect-to-the-things-stack-v3-community-edition/47863)

<div class="topic-metadata">

**Author:** [@tingkart](https://www.thethingsnetwork.org/forum/u/tingkart)\
**Replies:** 10\
**Last updated:** [October 21, 2021, 9:44pm UTC](https://www.thethingsnetwork.org/forum/t/pygate-connect-to-the-things-stack-v3-community-edition/47863 "2021-10-21T21:44:05Z")

</div>

I am trying to connect my PyGate to The Things Stack community edition (eu1.cloud.thethings.network) without luck. Downloaded the global\_conf.json from the v3 console, followed the Pygate (as close as possible) and the …

---

## [How to set dwelltime to 0 at AS923 in lopy4?](https://www.thethingsnetwork.org/forum/t/how-to-set-dwelltime-to-0-at-as923-in-lopy4/50098)

<div class="topic-metadata">

**Author:** [@arya\_wakwaw](https://www.thethingsnetwork.org/forum/u/arya_wakwaw)\
**Replies:** 2\
**Last updated:** [October 19, 2021, 3:16am UTC](https://www.thethingsnetwork.org/forum/t/how-to-set-dwelltime-to-0-at-as923-in-lopy4/50098 "2021-10-19T03:16:58Z")

</div>

hello, I have a problem when sending \>11 bytes payload at SF10 (AS923) my lopy is getting OSerror and in TTN displays "not provided ". after I read it https://lora-alliance.org/wp-content/uploads/2020/11/lorawan\_regional…

---

## [Pycom FiPy unable to connect to TTN](https://www.thethingsnetwork.org/forum/t/pycom-fipy-unable-to-connect-to-ttn/47566)

<div class="topic-metadata">

**Author:** [@larsvvelzen](https://www.thethingsnetwork.org/forum/u/larsvvelzen)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 2:00pm UTC](https://www.thethingsnetwork.org/forum/t/pycom-fipy-unable-to-connect-to-ttn/47566 "2021-05-10T14:00:46Z")

</div>

Hello, Today I stared working with the TTN to setup a device by using a Pycom FiPy. The connection won’t succeed even though I tried both OTAA and ABP. The codes used in Pyton are the ones from the Pycom website. When u…

---

## [Cayenne LPP Decoder](https://www.thethingsnetwork.org/forum/t/cayenne-lpp-decoder/32584)

<div class="topic-metadata">

**Author:** [@adrianjpc](https://www.thethingsnetwork.org/forum/u/adrianjpc)\
**Replies:** 9\
**Last updated:** [September 7, 2020, 7:29pm UTC](https://www.thethingsnetwork.org/forum/t/cayenne-lpp-decoder/32584 "2020-09-07T19:29:30Z")

</div>

Hello All, I am trying to build a decoder for Cayenne LPP but I am not successful. The longitude conversion is not correct, someone can help me where my mistake is. decoded.latitude = (bytes\[6\]\<\<16 | bytes\[7\]\<\<8 | byte…

---

## [Only activation messages from FiPy](https://www.thethingsnetwork.org/forum/t/only-activation-messages-from-fipy/38233)

<div class="topic-metadata">

**Author:** [@lloureiro](https://www.thethingsnetwork.org/forum/u/lloureiro)\
**Replies:** 15\
**Last updated:** [July 2, 2020, 3:14pm UTC](https://www.thethingsnetwork.org/forum/t/only-activation-messages-from-fipy/38233 "2020-07-02T15:14:52Z")

</div>

Hello, I’m new to TTN. Registered FiPy device. Using lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868) app\_eui = binascii.unhexlify('xxxxxxxxxxx') app\_key = binascii.unhexlify('xxxxxxxxxxxxxxx') lora.join(activation…

---

## [Serial communication usb](https://www.thethingsnetwork.org/forum/t/serial-communication-usb/34812)

<div class="topic-metadata">

**Author:** [@fekher\_khelifi\_omons](https://www.thethingsnetwork.org/forum/u/fekher_khelifi_omons)\
**Replies:** 2\
**Last updated:** [February 25, 2020, 12:23pm UTC](https://www.thethingsnetwork.org/forum/t/serial-communication-usb/34812 "2020-02-25T12:23:26Z")

</div>

I do serial communication (usb) between an rpi3 and a lopy, the problem is that the TTN does not receive the same byte transmitted by rpi3

---

## [EV\_TXComplete takes 240 sec to finish after EV\_TXSTART due to RXTimeout](https://www.thethingsnetwork.org/forum/t/ev-txcomplete-takes-240-sec-to-finish-after-ev-txstart-due-to-rxtimeout/33439)

<div class="topic-metadata">

**Author:** [@blue2monster](https://www.thethingsnetwork.org/forum/u/blue2monster)\
**Replies:** 9\
**Last updated:** [January 17, 2020, 8:58pm UTC](https://www.thethingsnetwork.org/forum/t/ev-txcomplete-takes-240-sec-to-finish-after-ev-txstart-due-to-rxtimeout/33439 "2020-01-17T20:58:55Z")

</div>

Hi, I am right now looking for an solution to very slow TX\_Interval problems. Each time I sent the EV\_TXSTART is fired I need to wait 270 sec(4min) until I get a EV\_TXCOMPLETE. My Code: OTAA Example Code In Setup I …

---

## [Can anyone explain how this file convert DEC to Hex Value?](https://www.thethingsnetwork.org/forum/t/can-anyone-explain-how-this-file-convert-dec-to-hex-value/33148)

<div class="topic-metadata">

**Author:** [@Somsak](https://www.thethingsnetwork.org/forum/u/Somsak)\
**Replies:** 8\
**Last updated:** [January 6, 2020, 6:55pm UTC](https://www.thethingsnetwork.org/forum/t/can-anyone-explain-how-this-file-convert-dec-to-hex-value/33148 "2020-01-06T18:55:09Z")

</div>

TTN\_FREQS = {0: (0xd9, 0x06, 0x8b), # 868.1 MHz 1: (0xd9, 0x13, 0x58), # 868.3 MHz 2: (0xd9, 0x20, 0x24), # 868.5 MHz 3: (0xd8, 0xc6, 0x8b), # 867.1 MHz 4: (0xd8, 0xd3, 0x58), # 867.3 MHz 5: (0xd8, 0xe0, 0x24), # …

---

## [OTAA join problems - Australia](https://www.thethingsnetwork.org/forum/t/otaa-join-problems-australia/30738)

<div class="topic-metadata">

**Author:** [@PleaseRain](https://www.thethingsnetwork.org/forum/u/PleaseRain)\
**Replies:** 0\
**Last updated:** [October 14, 2019, 9:08am UTC](https://www.thethingsnetwork.org/forum/t/otaa-join-problems-australia/30738 "2019-10-14T09:08:03Z")

</div>

The TTN console sees my Pycom Lopy4 device connect (status = green light) but lora.join never returns True. I’m connecting to a Multitech Conduit Gateway in my area using OTAA on AS923 Lopy4 details (sysname=‘LoPy4’, …

---

## [Downlinks from TTN in BL072Z with SF12 and LoPy4 not working?](https://www.thethingsnetwork.org/forum/t/downlinks-from-ttn-in-bl072z-with-sf12-and-lopy4-not-working/29467)

<div class="topic-metadata">

**Author:** [@jairogggg](https://www.thethingsnetwork.org/forum/u/jairogggg)\
**Replies:** 2\
**Last updated:** [August 29, 2019, 11:24am UTC](https://www.thethingsnetwork.org/forum/t/downlinks-from-ttn-in-bl072z-with-sf12-and-lopy4-not-working/29467 "2019-08-29T11:24:04Z")

</div>

Hi, i am making some tests with my BL072Z board, with SF7 uplinks and downlinks are ok, but when i run the code with SF12 i only can send uplinks, in TTN i can see the scheduled downlink and in the next uplink the downli…

---

## [Pytrack + Lopy4 TTNMAPPER node](https://www.thethingsnetwork.org/forum/t/pytrack-lopy4-ttnmapper-node/28963)

<div class="topic-metadata">

**Author:** [@Lichtschilder](https://www.thethingsnetwork.org/forum/u/Lichtschilder)\
**Replies:** 0\
**Last updated:** [August 13, 2019, 9:27am UTC](https://www.thethingsnetwork.org/forum/t/pytrack-lopy4-ttnmapper-node/28963 "2019-08-13T09:27:03Z")

</div>

Hi, as my first hardware node still is struggeling to receive Thethingsnetwork signals after a first hour of working i received a new option to connect to the thingsnetwerk. i was thinking to start with this node to ma…

---

## [OTAA woes TTN Gateway and Lopy](https://www.thethingsnetwork.org/forum/t/otaa-woes-ttn-gateway-and-lopy/21929)

<div class="topic-metadata">

**Author:** [@gordon\_w0run](https://www.thethingsnetwork.org/forum/u/gordon_w0run)\
**Replies:** 29\
**Last updated:** [May 31, 2019, 9:21pm UTC](https://www.thethingsnetwork.org/forum/t/otaa-woes-ttn-gateway-and-lopy/21929 "2019-05-31T21:21:17Z")

</div>

I am having no luck with OTAA. About a year ago I activated a TTN gateway and bought several Lopy 1 modules, but then things got busy and this is my first chance to get back to it. Gateway has been powered (and working, …

---

## [Sending same payload, receiving different ones](https://www.thethingsnetwork.org/forum/t/sending-same-payload-receiving-different-ones/26447)

<div class="topic-metadata">

**Author:** [@IZ1](https://www.thethingsnetwork.org/forum/u/IZ1)\
**Replies:** 2\
**Last updated:** [May 26, 2019, 9:10pm UTC](https://www.thethingsnetwork.org/forum/t/sending-same-payload-receiving-different-ones/26447 "2019-05-26T21:10:41Z")

</div>

Hello! This is my first post here. I am developing a device to test the system reliability. I want to send an increasing number to the TTN gateway from a Lopy inserted in a pytrack module and monitor if any packet is los…

---

## [Cannot transmit full byte value](https://www.thethingsnetwork.org/forum/t/cannot-transmit-full-byte-value/24686)

<div class="topic-metadata">

**Author:** [@Morrison](https://www.thethingsnetwork.org/forum/u/Morrison)\
**Replies:** 10\
**Last updated:** [May 2, 2019, 3:59pm UTC](https://www.thethingsnetwork.org/forum/t/cannot-transmit-full-byte-value/24686 "2019-05-02T15:59:25Z")

</div>

Hi guys! I’m using a lopy4 attached to a pysense and I’m trying to send a temperature value to the ttn via lorawan on a node - nano-gateway connection. I want the temperature value with a decimal case so i’m multiplying…

---

## [What methods are supported on LoPy's "LoRa" class?](https://www.thethingsnetwork.org/forum/t/what-methods-are-supported-on-lopys-lora-class/22943)

<div class="topic-metadata">

**Author:** [@snehasg95](https://www.thethingsnetwork.org/forum/u/snehasg95)\
**Replies:** 6\
**Last updated:** [February 19, 2019, 9:07pm UTC](https://www.thethingsnetwork.org/forum/t/what-methods-are-supported-on-lopys-lora-class/22943 "2019-02-19T21:07:59Z")

</div>

Hello, I tried to view the methods of lora by instantiating an object but it only returns the value used. Is there a way to look at the code for specific methods. lora = LoRa() lora.coding\_rate() = 4 I am interested…

---

## [LoRa mesh from PyCom](https://www.thethingsnetwork.org/forum/t/lora-mesh-from-pycom/15990)

<div class="topic-metadata">

**Author:** [@bluesensing1](https://www.thethingsnetwork.org/forum/u/bluesensing1)\
**Replies:** 5\
**Last updated:** [January 30, 2019, 2:47pm UTC](https://www.thethingsnetwork.org/forum/t/lora-mesh-from-pycom/15990 "2019-01-30T14:47:11Z")

</div>

Does anybody know, how many devices (nodes/routers) could be connected together by a mesh, in a realistic perspective - regarding latency when hopping and regulations of airtime by law? What area could be covered with su…

---

## [Pycom fipy connects ok with ABP but not OTAA](https://www.thethingsnetwork.org/forum/t/pycom-fipy-connects-ok-with-abp-but-not-otaa/13426)

<div class="topic-metadata">

**Author:** [@mikcatta](https://www.thethingsnetwork.org/forum/u/mikcatta)\
**Replies:** 9\
**Last updated:** [April 30, 2018, 8:22am UTC](https://www.thethingsnetwork.org/forum/t/pycom-fipy-connects-ok-with-abp-but-not-otaa/13426 "2018-04-30T08:22:06Z")

</div>

I have a Things Gateway setup here with a ThingsNode connecting and talking to it using ABP with no issue. However, my poor little Pycom fipy will only connect with ABP. If I try the example below using OTAA I get not a…

---

## [I can't find FiPy or LoPy at Step 1 "Choose a device to start a project"](https://www.thethingsnetwork.org/forum/t/i-cant-find-fipy-or-lopy-at-step-1-choose-a-device-to-start-a-project/20253)

<div class="topic-metadata">

**Author:** [@Bismarck](https://www.thethingsnetwork.org/forum/u/Bismarck)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 9:28pm UTC](https://www.thethingsnetwork.org/forum/t/i-cant-find-fipy-or-lopy-at-step-1-choose-a-device-to-start-a-project/20253 "2018-11-29T21:28:12Z")

</div>

Hello, I have created an application including two Pysense with FiPy on TTN. I have registered two end devices and used them to send message to TTN successfully. However, when I wanted to find an integration for example …

---

## [Make Pysense save the session keys to join only once through OTAA](https://www.thethingsnetwork.org/forum/t/make-pysense-save-the-session-keys-to-join-only-once-through-otaa/19971)

<div class="topic-metadata">

**Author:** [@GoempieK](https://www.thethingsnetwork.org/forum/u/GoempieK)\
**Replies:** 1\
**Last updated:** [November 21, 2018, 5:09pm UTC](https://www.thethingsnetwork.org/forum/t/make-pysense-save-the-session-keys-to-join-only-once-through-otaa/19971 "2018-11-21T17:09:54Z")

</div>

I use a pysense to send the temp every 15min. With my current code the node rejoins ttn every time it wakes up. I read here That i should save the key but have no idea where to save the key on the pysense and how to s…

---

## [Maximize LoPy message size](https://www.thethingsnetwork.org/forum/t/maximize-lopy-message-size/17272)

<div class="topic-metadata">

**Author:** [@brady\_aiello](https://www.thethingsnetwork.org/forum/u/brady_aiello)\
**Replies:** 7\
**Last updated:** [September 1, 2018, 10:37pm UTC](https://www.thethingsnetwork.org/forum/t/maximize-lopy-message-size/17272 "2018-09-01T22:37:39Z")

</div>

I want to make the LoPy to be able to reliably send a large payload, the max of 242 bytes. Right now, I just want to get to sending 150 bytes, which I did multiple times this morning. However, after a reboot, it stopped …

---

## [Pycom's LoPy as node device can't show in Application Data](https://www.thethingsnetwork.org/forum/t/pycoms-lopy-as-node-device-cant-show-in-application-data/16111)

<div class="topic-metadata">

**Author:** [@jiangyunwei](https://www.thethingsnetwork.org/forum/u/jiangyunwei)\
**Replies:** 6\
**Last updated:** [July 22, 2018, 6:38pm UTC](https://www.thethingsnetwork.org/forum/t/pycoms-lopy-as-node-device-cant-show-in-application-data/16111 "2018-07-22T18:38:17Z")

</div>

Hi, I’m using LoPy from Pycom as a single channel gateway to TTN, and another LoPy as node device in ABP mode with US915 frequency. Right now the gateway could push the data packet to TTN as below, I can see the data t…

---

## [Unable to Connect LoPy to LoRaWAN with OTAA](https://www.thethingsnetwork.org/forum/t/unable-to-connect-lopy-to-lorawan-with-otaa/13460)

<div class="topic-metadata">

**Author:** [@mhamilt](https://www.thethingsnetwork.org/forum/u/mhamilt)\
**Replies:** 8\
**Last updated:** [June 1, 2018, 10:01am UTC](https://www.thethingsnetwork.org/forum/t/unable-to-connect-lopy-to-lorawan-with-otaa/13460 "2018-06-01T10:01:16Z")

</div>

Hello Everyone, This seems to be a topic that comes up frequently so apologies for adding to the tedium. I am new to LoRa and TTN in general and I am looking for a little outside help to start trouble shooting. Some I…

[Next page](https://www.thethingsnetwork.org/forum/c/nodes/pycom/78.md?page=1)
