Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
Skins
  • Light
  • Dark

Collapse
Brand Logo

M5Stack Community

Unable to create simple EZData entries on M5Stack Atom Matrix

Scheduled Pinned Locked Moved UIFlow
8 Posts 5 Posters 5.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    otacon239
    wrote on last edited by
    #1

    I've made the simplest example of an EZData Post I could using UIFlow with the following Pyhton output:

    from m5stack import *
    from m5ui import *
    from uiflow import *
    from flow import ezdata
    import wifiCfg
    
    rgb.set_screen([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])
    
    wifiCfg.autoConnect(lcdShow=False)
    
    ezdata.setData('[key removed]', 'asdf', '1')
    

    When I try and run this, I get the following back in the serial terminal:

    Traceback (most recent call last):
      File "flow/m5cloud.py", line 82, in _exec_fun
      File "<string>", line 17, in <module>
      File "flow/ezdata.py", line 13, in setData
    Exception: [Errno 12] ENOMEM
    

    Is this hardware just not powerful enough for the EZData library?

    1 Reply Last reply
    0
  • O Offline
    O Offline
    otacon239
    wrote on last edited by
    #2

    Still haven't found any luck through searching on this one as most of my results talk about far more complex projects that aren't being hosted on the ATOM. Is it possible to use the EZData library with the ATOM Matrix? If so, is there a list of common libraries that do or don't work so I can get a better idea of what my limits are?

    ajb2k3A A 3 Replies Last reply
    0
  • ajb2k3A Offline
    ajb2k3A Offline
    ajb2k3
    replied to otacon239 on last edited by
    #3

    @otacon239 this is an “out of memory “error

    Please try adding an execute block with

    import gc

    to the setup and an execute block with

    gc.collect()

    To the beginning of the main loop

    UIFlow, so easy an adult can learn it!
    If I don't know it, be patient!
    I've ether not learned it or am too drunk to remember it!
    Author of the WIP UIFlow Handbook!
    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

    1 Reply Last reply
    0
  • ajb2k3A Offline
    ajb2k3A Offline
    ajb2k3
    replied to otacon239 on last edited by
    #4

    @otacon239 it’s a memory issue

    UIFlow, so easy an adult can learn it!
    If I don't know it, be patient!
    I've ether not learned it or am too drunk to remember it!
    Author of the WIP UIFlow Handbook!
    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

    1 Reply Last reply
    0
  • A Offline
    A Offline
    ado8
    wrote on last edited by
    #5

    At the moment, the ezdata cloud is not working. All requests are timing out. E.g:
    curl https://ezdata.m5stack.com/api/store/keys/[key removed]
    is returning after 1 min:
    <html>
    <head><title>504 Gateway Time-out</title></head>
    <body>
    <center><h1>504 Gateway Time-out</h1></center>
    <hr><center>nginx/1.17.9</center>
    </body>
    </html>
    There seems to be a major issue on the backend of the EZDATA service since a few days.

    1 Reply Last reply
    0
  • ajb2k3A Offline
    ajb2k3A Offline
    ajb2k3
    wrote on last edited by
    #6

    Thanks, I have an RPI and use a local MQTT server with Node Red for my tests.

    UIFlow, so easy an adult can learn it!
    If I don't know it, be patient!
    I've ether not learned it or am too drunk to remember it!
    Author of the WIP UIFlow Handbook!
    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

    1 Reply Last reply
    0
  • A Offline
    A Offline
    armidillopak
    replied to otacon239 on last edited by
    #7

    @otacon239

    @otacon239 said in Unable to create simple EZData entries on M5Stack Atom Matrix:

    Still haven't found any luck through searching on this one as most of my results talk about far more complex projects that aren't being hosted on the ATOM. Is it possible to use the EZData library with the ATOM Matrix? If so, is there a list of common libraries that do or don't work so I can get a better idea of what my limits are?

    I am having the same issue with the atom lite. Remote + works but even a simple request to ezdata at startup fails.

    1 Reply Last reply
    0
  • A Offline
    A Offline
    anvalin
    wrote on last edited by
    #8

    Which firmware version are you using?

    | Experienced problems pushing data to EZData with 1.9.8 on Atoms. Reproduceable error not occuring after reverting to firmware 1.9.7.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search