Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. franco
    3. Posts
    F
    • Continue chat with franco
    • Start new chat with franco
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by franco

    • RE: HTTPPOST problem

      As i told you from wan it work only firefox and i don’t understand why.
      I will do tomorrow the add you are suggesting then i will tell you.
      Thank you very much

      posted in General
      F
      franco
    • RE: HTTPPOST problem

      @world101 Locally it work with any browser.

      posted in General
      F
      franco
    • RE: HTTPPOST problem

      @world101 i use mac and the browser Safari give me a different error:
      "Cancelled load from 'http:79.8.125.79:84/?onx' because it is using HTTP/0.9" (:0)

      HTTP/0.9 is the problem?

      posted in General
      F
      franco
    • RE: HTTPPOST problem

      @world101 the urlwork using firefox, for security reason chrome doesn't work.

      posted in General
      F
      franco
    • RE: HTTPPOST problem

      @world101 i use m5stick, last update, uiflow last update.
      about the device, it is a hw that work as e web server, to comunicate to it you send a Httppost http://ip.../ the command, as it receive the command it respond.

      Try yourself use a browser:


      http://79.8.125.79:8084/?onx

      it respond:
      <html lang="en">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      </head>
      <body>
      ua 1 ub 1 uc 1 ud 1 ue 1 uf 1 ug 1 uh 1 ui 1 ul 1
      </body>
      </html>


      try
      http://79.8.125.79:8084/?offx

      it respond:
      <html lang="en">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      </head>
      <body>
      ua 0 ub 0 uc 0 ud 0 ue 0 uf 0 ug 0 uh 0 ui 0 ul 0
      </body>
      </html>


      In the body i get the Port ua 1 or 0, etc etc

      i tested using esp32 and arduino.app and it work.
      I don't understand how to use UiFlow standard command. i like it and i understood most of the sintax but in this case i don't.
      it look simple but it doen't work.

      posted in General
      F
      franco
    • RE: HTTPPOST problem

      I tested both, i don’t get the espected result

      posted in General
      F
      franco
    • RE: HTTPPOST problem

      if the url is www.google.com i get the html text of the site

      this is the server response that i not able to get as result

      0_1610734749783_Schermata 2021-01-15 alle 18.06.48.png

      posted in General
      F
      franco
    • HTTPPOST problem

      why if i use the browser and this path "http://192.168.1.123/?offx" it work (it is a IOT device), if i use the following program it those not work?

      0_1610725141559_Schermata 2021-01-15 alle 16.30.04.png

      posted in General
      F
      franco
    • RE: HttpPost using UIflow

      @robalstona
      Tested, and it doesn't work, no response and it doesn't send the command.

      I tested using the browser and i get the response and the hardware does what it have to do.

      0_1596266244482_Schermata 2020-08-01 alle 09.17.07.png

      posted in UIFlow
      F
      franco
    • RE: HttpPost using UIflow

      i use a browser and i give this Url :
      "http://79.8.125.79:8084/?onx"
      and then i get:
      <html>
      <head>
      </head>
      <body>
      ua 1 ub 1 uc 1 ud 1 ue 1 uf 1 ug 1 uh 1 ui 1 ul 1
      </body>
      </html

      there are lot of python example to get this result, but i want to replay it with UiFlow
      I tested with another software using HttpPost and HttpGet, both it work the response is different.
      This Url activate small board with 8 relè with a simple web server, few commands and i can control it.
      I want to do it using UiFlow example and M5stack basic.

      posted in UIFlow
      F
      franco
    • RE: HttpPost using UIflow

      My problem is before, how to get the data, i tested this but it doesn't work!
      "Get data" fail.
      0_1595873974367_Schermata 2020-07-27 alle 20.18.54.png

      posted in UIFlow
      F
      franco
    • RE: HttpPost using UIflow

      UiFlow Example?

      posted in UIFlow
      F
      franco
    • HttpPost using UIflow

      i have to send this command using HttpPost :

      http://79.8.125.79:8084/?onx
      Grab the response from the remote device on a variable and then print it on the display, this is the response:
      <html>
      <head>
      </head>
      <body>
      ua 1 ub 1 uc 1 ud 1 ue 1 uf 1 ug 1 uh 1 ui 1 ul 1
      </body>
      </html>

      I like UiFlow and i want to use it as best is possible
      Many thanks

      posted in UIFlow
      F
      franco
    • COM GSM uiflow integration

      When COM GSM will be integrated in UIFLOW and are you preparing some training/template/example for UIFLOW?

      posted in Modules
      F
      franco