Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. csongor.varga
    C
    • Continue chat with csongor.varga
    • Start new chat with csongor.varga
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    csongor.varga

    @csongor.varga

    0
    Reputation
    7
    Posts
    619
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    csongor.varga Follow

    Posts made by csongor.varga

    • RE: Check if file exists on the SD card in UIFlow

      I have upgraded my M5Go to 1.11.0, but there is still no change. There is no documentation on these sdcard functions at all: is this is the entire documentation? http://docs.m5stack.com/en/uiflow/advanced/sdcard
      This is rubbish.

      posted in UIFlow
      C
      csongor.varga
    • Check if file exists on the SD card in UIFlow

      Does anyone have an example how to check if a file exists of an SD card?
      I tried isFile but the code just stops, nothing happens. listdir does not appear to return anything useful.
      I am using a UIFlow desktop app 1.9.5, M5Go which has 1.8.1 firmware on it.
      Creating a new file on the sdcard and writing to that file works.

      posted in UIFlow
      C
      csongor.varga
    • RE: PNG and JPG formats: unsupported image type

      @ajb2k3 The reason I wanted to use PNG is to use the transparency information of PNG format. Is that possible at all?
      I guess it is not possible with either BMP and JPG.

      posted in UIFlow
      C
      csongor.varga
    • RE: PNG and JPG formats: unsupported image type

      @ajb2k3 Thanks, let me give it a try.

      posted in UIFlow
      C
      csongor.varga
    • PNG and JPG formats: unsupported image type

      Hi All,

      I am really struggling with using imaged. It feels like it is a hit and miss every time. The UI edit shows the image, and when I upload the flow, I get an unsupported image type error. For example I wanted a background image, I tried JPG, PNG and none is accepted. Also used some PNG weather icons, and some are accepted, some are not.

      I feel like it is impossible to tell which one will work and which will not. Maybe a validator in the UIFlow app would be useful.

      I am using Paint.Net to convert me images. JPG export only has a Quality and a Chrome Subsampling option which I leave in 4:2:2.

      PNG export a bit depth and a few other parameters which are used for downsampling the image.

      Any recommendations are welcome.

      Regards,
      Csongor

      posted in UIFlow
      C
      csongor.varga
    • RE: HTTP GET query parameters

      @epollari Thanks a lot. Even though I am watching my own thread, I am not getting a notification on comments. Good that I checked :)

      Can I ask you to also check my next issue?
      So my web service returns a json like this:
      {"queryCost":1,"latitude":47.4997,"longitude":19.0551,"resolvedAddress":"Budapest, Magyarország","address":"Budapest","timezone":"Europe/Budapest","tzoffset":2.0,"days":[{"tempmax":26.0,"tempmin":10.0,"precipprob":0.0,"conditions":"Clear","icon":"clear-day"}]}

      0_1652649195130_5efdd892-0a56-4102-9a15-ab230a2c4b8c-image.png
      So far I am just trying to get the various pieces out of this json, but you can see above how you get an element from an array. And finally it works :)

      posted in UIFlow
      C
      csongor.varga
    • HTTP GET query parameters

      Hi All,

      I want to build a weather station and use a weather API to get forecast details. I am using a service where the HTTP GET URL is the following:
      https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/Budapest/today?unitGroup=metric&elements=tempmax%2Ctempmin%2Cprecipprob%2Cconditions%2Cicon&include=days&key=API_KEY&contentType=json
      When I paste this into the HTTP request URL, the part after the ? gets truncated. I could not find an example how it needs to be added. It is not header information, nor Data.

      How to you add the query parameters?

      Thanks,
      Csongor

      posted in UIFlow
      C
      csongor.varga