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. .
  • GPy and LTE

    gpy lte mqtt internet
    38
    0 Votes
    38 Posts
    14k Views
    N
    @jmarcelino Done ;)
  • WLAN power saving

    wifi power saving sta mode
    2
    1 Votes
    2 Posts
    714 Views
    B
    @jardar I had the same question today. (Funny coincidence.) I found this by searching the forum: "The only optimisation at the moment is enabling WLAN Power Saving in STA mode (basically the WiFi radio only 'wakes up' at the beacon interval set by your gateway) so you'll see current go down to about 50mA and then 100+ mA at the wake intervals. This is done by re-initilizating WLAN with power_save=True option. However it's not perfect yet, it may caused network timeouts for some people so it became disabled again by default." (Source)
  • [SOLVED] Unable to import from 'network'

    library network vs code pymakr lopy
    6
    1 Votes
    6 Posts
    2k Views
    C
    @robert-hh Hello, I updated the firmware and it seems to work, thank you ! Can't belive I didn't do this step ...
  • wipy 1.0 sending email

    email smtp wipy
    1
    0 Votes
    1 Posts
    572 Views
    No one has replied
  • Deepsleep remaining time

    deep sleep timing rtc
    2
    0 Votes
    2 Posts
    852 Views
    sebS
    @arno Unfortunately the deepsleep shield does not have any such functionality
  • Connecting a serial-over-USB device to a WiPy?

    wipy2.0 usb
    6
    1 Votes
    6 Posts
    2k Views
    S
    We are building a custom expansion board that will have a USB host port for bringing IOT to ordinary USB devices. If you message me I can keep you updated of our progress. First batch of boards are due to arrive next week. Update: Check out the First look: USB Host Expansion Board by Semireg
  • PyTrack external GPS antenna

    pytrack antenna external
    3
    3 Votes
    3 Posts
    2k Views
    G
    +1 External active antenna with LNA would be great. Other boards have this (e.g. Adafruit and NEO boards).
  • Adapter to fit PySense/PyTrack in a PyCase

    pycase pysense pytrack adapter
    3
    4 Votes
    3 Posts
    1k Views
    M
    Hi! Please find here the file. Let me know if you need any help. Marco https://www.dropbox.com/s/c3phhysmv1nps98/pycom_ok.dxf?dl=0
  • Pysense board is not showing up on device manager

    pysense lopy windows7
    3
    0 Votes
    3 Posts
    1k Views
    S
    Thanks. Yes it was a power cable only. Working fine with other cable. Regards, Sameer
  • Local Idiot Fries His Pycom Boards

    fried sad lopy fipy
    1
    0 Votes
    1 Posts
    589 Views
    No one has replied
  • Lopy4 no OTAA join

    lopy4 otaa ttn
    4
    0 Votes
    4 Posts
    1k Views
    J
    @chuck If you're looking for a command line way you can follow the downgrade instructions: https://forum.pycom.io/topic/517/downgrading-firmware-advanced-users but using the latest version of the firmware: https://software.pycom.io/downloads/LoPy4_868-1.15.0.b1.tar.gz
  • fypi/pytrack firmaware update fails

    fypy pytrack firmware update getting started linux
    14
    1 Votes
    14 Posts
    3k Views
    X
    @gnm Glad to hear it finally worked :) I hope the rest of the getting-started experience will be smoother but don't hesitate to let us know if you need anything further.
  • L01 Memory

    memory l01
    3
    0 Votes
    3 Posts
    1k Views
    robert-hhR
    @eric24 You have to use the recent firmware. The extended RAM is supported from 1.10.0.b1 on.
  • Deep sleep and pending network output

    wipy pysense udp deep sleep
    7
    1 Votes
    7 Posts
    2k Views
    T
    @daniel - Fair enough, I’ll think about switching from UDP to TCP (or BLE). I haven’t explored the sleep duration thoroughly, it’s set to 100ms at the moment, which has been reliable enough for my purposes. Presumably this would be an issue for any networking stack on any machine, but we don’t think about it because we aren’t focused on putting a workstation to sleep immediately following a sendto(). Many thanks, Tim
  • Use Socket with Multicast (for Websocket-usage)

    websocket
    1
    0 Votes
    1 Posts
    835 Views
    No one has replied
  • LoPy Nanogateway - TTN says not connected

    thethingsnetwo
    2
    0 Votes
    2 Posts
    1k Views
    J
    Hey @hansamann Yep, many people have registered their LoPys as gateways on TTN. Usually if it doesn't show up as connected its either a gateway ID mismatch (make sure it's the same in TTN and your configuration) or sometimes TTN has problems showing the connected status, try to use some nodes and see if they appear under traffic. If you can post your gateway ID I can also check on the master list at http://noc.thethingsnetwork.org:8085/api/v2/gateways (btw are you hansamann on Twitter? If so we met at MakerFaire UK a few years back, I was helping out Andreas Kopp. Cool to see you here)
  • 0 Votes
    15 Posts
    5k Views
    F
    This worked for me: [image: 1510282508634-yellow_s-resized.jpg] [image: 1510282507346-black_s-resized.jpg]
  • Sipy recognized as Lopy?

    sipy firmware
    3
    0 Votes
    3 Posts
    968 Views
    O
    hi Andrei, thanks for your reply! as the matter of facts, the version of the pycom upgrade I have installed didn't let me choose between the platforms, so i don't know how did I get the wrong firmware. anyway i'll follow the instruction in your thread. thanks again
  • DeepSleep remaining time

    deepsleep deep sleep
    1
    1 Votes
    1 Posts
    711 Views
    No one has replied
  • mqtt lib subscribe blocking

    lopy mqtt
    1
    1 Votes
    1 Posts
    750 Views
    No one has replied

Pycom on Twitter