Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Control a Rasberry Pi by a Mobile.
Qt 6.11 is out! See what's new in the release blog

Control a Rasberry Pi by a Mobile.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt mobileqmlraspberry
5 Posts 2 Posters 2.9k Views 2 Watching
  • 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.
  • C Offline
    C Offline
    Charlie_Hdz
    wrote on last edited by
    #1

    Hello.

    I'm looking for a way to control a water level sensor and supervise a electrical energy input with a smartphone using Qt.

    I choose rasberry pi (although I didn't investigate arduino case yet) as intermediary, and I seek out that I should use Qt(Qt Quick too) with Rasberry to make a beatiful application easily.

    But, What technologie I should use to control the rasberry remotely as IoT?.

    I'm investigating WebIOPi where I can control rasberry pi by REST API but not sure if I can integrate a UI created by Qt in it. I looked in http://webiopi.trouch.com/ but dont understand it at all. Would you like to suggest something?

    WiringPi?
    Qt Mobile?

    Thank You

    Kind Regards,
    Enrique Hernandez
    gearstech.com.mx
    chernandez@gearstech.com.mx

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Something's not exactly clear: are you asking whether you can make REST calls from Qt to write your smartphone app ? If so yes, without problem using QNetworkAccessManager

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Charlie_Hdz
        wrote on last edited by
        #3

        How to implement WebIOPI using Qt?

        In webIoPI use Javascript/HTML to make a page and Python scripts as backends.

        Is there another option to control rasberry pi with a smartphone using Qt?

        Kind Regards,
        Enrique Hernandez
        gearstech.com.mx
        chernandez@gearstech.com.mx

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That's the idea: WebIOPI is running on the Pi and your Qt application talks to it through the REST service.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          C 1 Reply Last reply
          0
          • SGaistS SGaist

            That's the idea: WebIOPI is running on the Pi and your Qt application talks to it through the REST service.

            C Offline
            C Offline
            Charlie_Hdz
            wrote on last edited by
            #5

            @SGaist I got it, As a mention I'll make some tutorial to these process beacuse in the Web is very difficult to search something good.

            Thank You SGaist

            Kind Regards,
            Enrique Hernandez
            gearstech.com.mx
            chernandez@gearstech.com.mx

            1 Reply Last reply
            0

            • Login

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