Subcategories

  • Announcements regarding our community

    3 Topics
    14 Posts
    P
    @jirkakrepl said in New Pybytes firmware 1.18.1.r9 (Experimental LTE support): If your LTE configuration is correct, your device with a Simcard should connect to Pybytes using LTE. Then Terminal and Flash OTA update should work too. Awesome, I'll try it out soon, thanks! LTE OTA was only thing holding us back from a production release.
  • Discussion for Feature Request and Future Additions to Pybytes

    15 Topics
    44 Posts
    A
    i am interested in your post, but can you share more detail
  • Discussion for Pybytes Beta Support and Assistance

    158 Topics
    550 Posts
    Åke ForslundÅ
    Now it seems to be back up.
  • Difference between pybytes.set_config() and pybytes.update_config()

    2
    0 Votes
    2 Posts
    67 Views
    G
    They indeed do the exact same thing. Im not sure why we have both, but I think both of them are used throughout the pybytes library.. Gijs
  • PyBytes API Documentation

    10
    0 Votes
    10 Posts
    295 Views
    G
    Right, that means the pybytes library is not loaded on boot (do you perhaps have pycom.pybytes_on_boot() set to False? ) You can load the Pybytes library yourself by using: from _pybytes import Pybytes from _pybytes_config import PybytesConfig conf = PybytesConfig().read_config() pybytes = Pybytes(conf) pybytes.start() Gijs
  • OTA release auto update?

    2
    0 Votes
    2 Posts
    191 Views
    S
    I was hoping the same... Would have been nice if Pybytes queued these messages for the next time a device is online.
  • PyBytes TTN Account to access console

    5
    0 Votes
    5 Posts
    71 Views
    G
    pybytes.send_custom_message(...) will work as well (its a subsidiary of send_signal(...) )
  • Pybytes Packet Loss over LTE

    9
    2
    0 Votes
    9 Posts
    173 Views
    S
    Here's where I'm at as of now and it's the same issue I found here: https://forum.pycom.io/topic/6310/fipy-lte-not-initialized?_=1605173686464 from @kjm @ssummers In answer to your question, it's not the reset causing the 'not initialised' error it's the denit itself, you have disposed of the lte so you need to make a new one, lte=LTE() Re network disconnections, I've never had any luck with getting the sequans to reconnect on an existing attachment. My experience in marginal RF environments is that the modem actually looses attachment but doesn't know it, lte.isattached() and lte.isconnected() are both true but trying lte.disconnect() throws an OSError. I call this ZombiModem mode & the the only fix is to reset the modem & setup a new lte/attachment/connection For now I'll just use longer intervals and fully disconnect / reconnect I guess.
  • Gpy with Hologram sim will not attach to LTE

    10
    0 Votes
    10 Posts
    190 Views
    G
    It might be related to this: https://forum.pycom.io/topic/6514/vodafone-sim-in-spain-not-working-solved-wrong-dns-sever ? I cannot be certain why it is now fixed, so if you run into the issue again let me know! Gijs
  • Pybytes pymesh integration issues

    3
    0 Votes
    3 Posts
    116 Views
    T
    @alipsilc That seemed to work in getting all the nodes on the same downgraded firmware. Working through other issues and which example to use for each node before making them do something more interesting. Thanks Andrew
  • 0 Votes
    2 Posts
    86 Views
    G
    The EAGAIN error is related to re-using the LoRa socket. If you redefine the socket using s = socket.socket(socket.AF_LORA, socket.SOCK_RAW) before re-using it, the issue should go away I believe.
  • Fipy CANNOT connect to Pybytes using Verizon LTE

    7
    0 Votes
    7 Posts
    226 Views
    M
    @Gijs I have not tried to update the firmware, but it seems like my problem has been fixed. I have successfully established LTE connection and publish the data to a server over MQTT. For the very first time that the chip trying to connect to the internet, it takes a long time (5 min) from scanning to connected. I guess a better antenna can make this process faster. Now I have to face a new problem - unstable MQTT connection. My code publishes data every two seconds. 402 runs are the most runs that I can get. Most of the time my code was errored out by the error "OSError: [Errno 104] ECONNRESET" after 20 to 100 runs. It is also turned out that publishing a long string (e.g. "3.13, 5.75, 8.56, 98987.65464, 465.56412") usually could get more runs than publishing a short string (e.g. "3.13"), which confused me a lot. Run 399: publish data over the LTE... Run 400: publish data over the LTE... Run 401: publish data over the LTE... Run 402: publish data over the LTE... Traceback (most recent call last): File "main.py", line 81, in <module> File "/flash/lib/mqtt.py", line 120, in publish OSError: [Errno 104] ECONNRESET Pycom MicroPython 1.20.2.r1 [v1.11-a5aa0b8] on 2020-09-09; GPy with ESP32 Type "help()" for more information. >>> Line 81 of my code. client.publish(topic = MQTTtopic , msg = "3.13, 5.75, 8.56, 98987.65464, 465.56412") Line 120 of MQTT library. self.sock.write(pkt, i + 1) I think I have faced the exactly the same problem when I played with my Wipy board (WiFi connection) and try to publish data through MQTT. How could I get a more rugged and stable data-publishing process?
  • Can't access pybytes web

    4
    0 Votes
    4 Posts
    108 Views
    M
    I can't login either and if I "RESET password", I get a "server error".
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    12 Views
  • PyBytes MQTT integration

    9
    0 Votes
    9 Posts
    209 Views
    ahmadelmasriA
    Hi @paul_tanner No Pybytes will not transmit location unless you request that under Pybytes. basically, we use this to identify some actions on Pybytes section for example sending a location command. the pin is used to know which pin is used under this command (also can be used as an identifier a random number) The part that holds the message details is the payload. Best Regards, Ahmad EL Masri
  • 0 Votes
    6 Posts
    89 Views
    R
    Activation date: N/A Token validity: No token
  • SigFox API Cannot read property 'group' of undefined

    2
    0 Votes
    2 Posts
    82 Views
    G
    Hi, can you elaborate on what you are trying to achieve?
  • Timestamp with Pybytes integrations

    3
    1 Votes
    3 Posts
    108 Views
    D
    Throwing my 2c in that this is something i'm after as well. If it could be moved up the queue that'd be great!
  • Secure Device Code - Pybytes

    4
    0 Votes
    4 Posts
    110 Views
    C
    @Xykon Thanks for the info, I look forward to using it.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Pybytes Integration dynamic URL

    1
    0 Votes
    1 Posts
    42 Views
    No one has replied
  • On-premises pybytes

    2
    0 Votes
    2 Posts
    72 Views
    G
    Please contact sales@pycom.io :-) Gijs

Pycom on Twitter