Subcategories

  • General discussion for getting started and support

    723 Topics
    3k Posts
    robert-hhR
    @theshade Pycom INC is closed. And whoever purchased the assets did not buy the debts or responsibilities. Personally I'm upset that not even the technical documentation of their boards was published as a small feedback for the community.
  • For all topics related to the WiPy

    566 Topics
    3k Posts
    S
    @robert-hh okay, makes sense regarding the documentation. thanks for the information
  • For all topics related to the LoPy

    2k Topics
    9k Posts
    S
    I am facing a challenge when attempting to decompress data compressed using the miniz library on the ESP32 platform. My objective is to compress data using miniz library in flasher_stub compoment of esp-idf and then decompress the data on the cloud side using some python script that can be compatible with miniz decompression style like zlib. As per the documentation and information available, the miniz library is described as a "lossless, high-performance data compression library" that implements the zlib (RFC 1950) and Deflate (RFC 1951) compressed data format specification standards. However, I am encountering difficulties when attempting to decompress the compressed data using Python. Specifically, when using the Python zlib module, which should be compatible with the zlib and Deflate formats, I am receiving an "unknown compression method" error. I have verified that the file and data are correct, and they were compressed using the miniz library on the ESP32. Despite this, I am unable to successfully decompress the data. I would greatly appreciate any help or any insights that you can provide regarding how to properly decompress data that has been compressed with the miniz library using Python.
  • For all topics related to the SiPy

    163 Topics
    783 Posts
    M
    @matt3526 DID anyone figure this out?
  • For all topics related to the GPy

    411 Topics
    2k Posts
    D
    Hi, Just for reference, our GPy replacement Walter is going live on Crowd Supply very soon. We already tested with some beta testers and you can read the review in this topic: https://forum.pycom.io/topic/7748/the-future-of-pycom/32 For everybody interested, this is the Crowd Supply link: https://www.crowdsupply.com/dptechnics/walter
  • For all topics related to the FiPy

    531 Topics
    3k Posts
    robert-hhR
    @Julia-Steiwer As you should have noticed, Pycom Inc ceased it's operation, and there is no service any more for Pycom products, be it hardware or software like Pymakr. The latter should still work with the older VSCode versions. So if you want to use PyMakr, you have to stick with an working combo of an older VSCode version and PyMakr.
  • For all topics related to the Pymakr

    129 Topics
    599 Posts
    robert-hhR
    @Kalle-Misto Pymakr is not supported any more. It might help to fall back to a previous version of Vscode and keep it.
  • For all topics related to the Pymate

    10 Topics
    50 Posts
    T
    Hi, I think I'm doing everything correctly and following Roberto's tutorial to a T. I am getting errors when I try both reading and writing virtual pins. I am using a wipy 2.0 running firmware 1.18.2.r4 Here Is my process: set up pymate safe boot device, download files. edit pymate_basic.py in lib with code under "# Initialize Virtual Pins and Terminal Pins Here" restart, add widgets to app, and it always returns errors. Here are two examples of errors: a) When I try Roberto's first example of writing, I add the following code under "# Initialize Virtual Pins and Terminal Pins Here" to pymate_basic.py: # Initialize Virtual Pins and Terminal Pins Here import pycom def set_led_color(params): val = int(params[0]) if (val < 256): val = val & 0xFF elif (val > 255 and val < 512): val = (val << 8) & 0xFF00 elif (val > 511): val = (val << 16) & 0xFF0000 pycom.rgbled(val) pymate_library.add_virtual_pin(1,None, set_led_color) After uploading, and setting up a widget type slider with pin V1, and range 0-750, I slide the slider and get one of the following errors: "Error calling provided virtual method" 2)"Traceback (most recent call last): File "boot.py", line 39, in <module> File "/flash/lib/pymate_basic.py", line 25, in <module> File "/flash/lib/pymate_library.py", line 414, in run File "/flash/lib/simple.py", line 202, in wait_msg File "/flash/lib/pymate_library.py", line 352, in _recv_msg_callback File "/flash/lib/pymate_library.py", line 278, in _handle_hardware_msg KeyError: 32" 3)Warning: Virtual write to unregistered pin 1 b) When I try Roberto's second example of reading, I add the following code under "# Initialize Virtual Pins and Terminal Pins Here" from uos import urandom def read_random(): val = int(urandom(1)[0]) return val pymate_library.add_virtual_pin(1,read_random, None) After setting up the widget type to Display, pin V1, pin Mode INPUT, refresh Rate 500ms, I hit play, and I get the following error: Traceback (most recent call last): File "boot.py", line 39, in <module> File "/flash/lib/pymate_basic.py", line 19, in <module> File "/flash/lib/pymate_library.py", line 414, in run File "/flash/lib/simple.py", line 202, in wait_msg File "/flash/lib/pymate_library.py", line 352, in _recv_msg_callback File "/flash/lib/pymate_library.py", line 278, in _handle_hardware_msg KeyError: 32 Please help. There is very little documentation to go off of, and I can't find anything wrong with what I'm doing. Thanks
  • For all topics related to the Expansion Board

    298 Topics
    1k Posts
    D
    @Mr-Admin said in syntax question: mqtt_publish(client, "home-assistant/altitude", str(alt.altitude).encode('utf-8')) thank you, this looks like what I need
  • For all topics related to MicroPython

    417 Topics
    2k Posts
    K
    @robert-hh maybe wrong forum. I couldn't figure out the Github system and found this forum instead. Thanks for the tip on the USB cable. Hope it's that simple. .
  • Failed to connect to ESP32: Invalid head of packet.('\x08')

    lopy connection
    10
    3 Votes
    10 Posts
    2k Views
    T
    @nadvorvo For anyone having the same issue today, this solved it for me too
  • 0 Votes
    1 Posts
    12 Views
    No one has replied
  • PyGo

    11
    1 Votes
    11 Posts
    149 Views
    robert-hhR
    @jcaron In my view PyGo is what they call a "dead horse". No further investment justified. So maybe they will at least publish documentation and tools for the community to carry on on support.
  • NB-IoT to AWS?

    Moved
    3
    0 Votes
    3 Posts
    322 Views
    V
    Hi @riverj17, Can you please share the new topic, where you moved?
  • what does someone have to do to get a question answered on here

    3
    0 Votes
    3 Posts
    52 Views
    D
    @Miguel-Moreno I appreciate your response and it's funny but I have reached the same conclusion regarding pygates. One troubling issue is that unless I misread some posts you cannot flash micropython firmware onto these boards? What method are you using to get your boards into service?
  • PyGo

    9
    1 Votes
    9 Posts
    114 Views
    T
    So, finally made my own cradle to charge my pair of Pygo1. Is a lasercut box,, 6 pogo test pins and a USB/uart adaptor. I was able to reflash them and after attempting to charge them using the wireless charger have resorted to using the makeshift cradle. The Pylife app can see the devices but neither has more than 3% battery being reported. I can't set the LoRa frequency in the app. Giving these time to charge in the makeshift cradle then see how to proceed. Regards Andrew
  • Are there any promotions at Pycom?

    1
    0 Votes
    1 Posts
    29 Views
    No one has replied
  • Difficulties / tricks in soldering connectors on LiPo

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • 0 Votes
    4 Posts
    34 Views
    robert-hhR
    @Gary-Kuipers Which Pycom board do you use? LoRa works with LoPy and FiPy.
  • Encoding and Decoding with Helium

    2
    0 Votes
    2 Posts
    24 Views
    G
    I don't use Helium or TTN, but a quick look at their decoder library suggests you may be able to use a straight drop in replacement. Depends on whether you're using TTN V2 or V3. Helium decoder structure appears to be exactly the same as V2.
  • Cant connect PyGate to The Things Network

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

    1
    0 Votes
    1 Posts
    21 Views
    No one has replied
  • Maximum output voltage on a LoPy4

    5
    0 Votes
    5 Posts
    22 Views
    E
    @Anders-H Interfacing things with different voltages is very common in microcontroller projects and there are many tutorials in the internet. Just google "voltage divider" for higher voltages at input pins and "output driver" for higher voltages at output pins.
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    18 Views
  • Soldering an external "Passive Antenna

    2
    0 Votes
    2 Posts
    19 Views
    No one has replied
  • What about Pycom Workshop?

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • Fipy HSP Bluetooth

    hsp bluetooth api fipy
    2
    0 Votes
    2 Posts
    22 Views
    G
    Hi, This is indeed not directly built into the micropython firmware. You could implement it in C using the ESP-IDF, but we cannot give you in-depth support for that. There do exist some examples over on the espressif esp-idf repository on github that you can look at
  • Pygate, gpy and LoRa Failures

    3
    0 Votes
    3 Posts
    33 Views
    N
    @jcaron Yes, I believe that is the problem. Well, the problem is my reading comphrension level. The page which links to the second page above lands the reader at the wifi part. i scrolled up to the part on Network.LoRa. I believe that by scrolling up to top of page its showing how you setup an end device. My bad. My mistake.
  • machine.deepsleep does not 'reset'

    deep sleep time sleep
    2
    0 Votes
    2 Posts
    595 Views
    V
    Hi, Have you fix it? I'm facing the same problem
  • Nano Gateway on FiPy for AS923 Frequency Plan

    7
    0 Votes
    7 Posts
    45 Views
    B
    @Gijs Hi, sorry for being tardy with my reply. I have finally sorted out the problem. It was due to the enabled frame counter reset blocking in the settings of the end devices. The frame counter reset blocking can be disabled under general settings/network layer/ advanced mac settings under the end device console. By the way, can you please confirm if the following network layer settings are correct for FiPy? LoRaWAN version: MAC V1.0.2 Regional Parameter version: PHY V1.0.2 REV A I have unfortunately not been able to get ADR to work on The Things Stack under the AS923 Frequency Plan. I believe it could be due to the wrong regional parameter version. Can you please kindly help me confirm with a simple test by bumping some data packets to a gateway connected to The Things Stack on your end to check if the ADR is working? In my own test using the Things Stack, I also noticed that the AdrACKCounter is incremented by 1 only after 7 transmissions instead of after every transmission when we did the test in the Things Network. Thanks. Denver

Pycom on Twitter