Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-13714

FIWARE.Request.Tech.Does Fiware support MQTT?.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Enabler:
      IDAS

      Description

      Hi Jose,

      Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible.

      In "Tour Guide", I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity.

      But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value.
      Please suggest.

      mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t

      mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45

      Thanks & Regards,
      Krishan Babbar
      Technical Architect
      IES Internet of Things | Tech Mahindra
      Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA

      • Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996

      ============================================================================================================================
      Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
      ===========================================================================================================================

      ============================================================================================================================

      Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html <http://www.techmahindra.com/Disclaimer.html> externally http://tim.techmahindra.com/tim/disclaimer.html <http://tim.techmahindra.com/tim/disclaimer.html> internally within TechMahindra.

      ============================================================================================================================

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: Krishan Babbar <KB00449283@TechMahindra.com>]

        Activity

        Hide
        josegato Jose Gato Luis added a comment -

        Hi Fernando,

        Could you help Krishan with the following doubt about how to use the MQTT agent with FIWARE?

        best regards,

        On 07/02/18 12:23, Krishan Babbar wrote:
        Hi Jose,

        Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible.

        In “Tour Guide”, I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity.

        But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value.
        Please suggest.

        mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t

        mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45

        Thanks & Regards,
        Krishan Babbar
        Technical Architect
        IES Internet of Things | Tech Mahindra
        Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA
        • Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ===========================================================================================================================

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ============================================================================================================================

        Show
        josegato Jose Gato Luis added a comment - Hi Fernando, Could you help Krishan with the following doubt about how to use the MQTT agent with FIWARE? best regards, On 07/02/18 12:23, Krishan Babbar wrote: Hi Jose, Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible. In “Tour Guide”, I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity. But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value. Please suggest. mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45 Thanks & Regards, Krishan Babbar Technical Architect IES Internet of Things | Tech Mahindra Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA • Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996 ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. =========================================================================================================================== ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. ============================================================================================================================
        Hide
        fw.ext.user FW External User added a comment -

        Dear Krishan:

        Yes it does, FIWARE can support MQTT protocol.
        Could you give me more details about this issue? Are you using some Fiware IotAgent, if yes which version is? About Fiware Context Broker which version are you using?

        Feel free to contact me

        Thanks you

        From: Gato, Jose
        Sent: Thursday, February 08, 2018 6:58 PM
        To: Krishan Babbar; 'José Ignacio Carretero'
        Cc: 'fiware-tech-help@lists.fiware.org'; Srirangan C; Himanshu Kumar Upadhyay; Sanjeev.Kumar; Mendez Requena, Fernando (ext); Calvo Alonso, Daniel
        Subject: Re: [Fiware-tech-help] Does Fiware support MQTT?

        Hi Fernando,

        Could you help Krishan with the following doubt about how to use the MQTT agent with FIWARE?

        best regards,

        On 07/02/18 12:23, Krishan Babbar wrote:
        Hi Jose,

        Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible.

        In "Tour Guide", I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity.

        But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value.
        Please suggest.

        mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t

        mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45

        Thanks & Regards,
        Krishan Babbar
        Technical Architect
        IES Internet of Things | Tech Mahindra
        Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA

        • Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ===========================================================================================================================

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ============================================================================================================================

        Show
        fw.ext.user FW External User added a comment - Dear Krishan: Yes it does, FIWARE can support MQTT protocol. Could you give me more details about this issue? Are you using some Fiware IotAgent, if yes which version is? About Fiware Context Broker which version are you using? Feel free to contact me Thanks you From: Gato, Jose Sent: Thursday, February 08, 2018 6:58 PM To: Krishan Babbar; 'José Ignacio Carretero' Cc: 'fiware-tech-help@lists.fiware.org'; Srirangan C; Himanshu Kumar Upadhyay; Sanjeev.Kumar; Mendez Requena, Fernando (ext); Calvo Alonso, Daniel Subject: Re: [Fiware-tech-help] Does Fiware support MQTT? Hi Fernando, Could you help Krishan with the following doubt about how to use the MQTT agent with FIWARE? best regards, On 07/02/18 12:23, Krishan Babbar wrote: Hi Jose, Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible. In "Tour Guide", I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity. But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value. Please suggest. mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45 Thanks & Regards, Krishan Babbar Technical Architect IES Internet of Things | Tech Mahindra Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996 ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. =========================================================================================================================== ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. ============================================================================================================================
        Hide
        josegato Jose Gato Luis added a comment -

        solved by email

        Show
        josegato Jose Gato Luis added a comment - solved by email
        Hide
        juanjo Juanjo Hierro added a comment -

        Hi all,

          Where are we regarding this question from TechMahindra?  Can someone
        elaborate?  Maybe you have followed up just among the two of you, but I
        was wondering.

          Cheers,

          Juanjo

        __________________________________________________________________________________________

        You can get more information about our cookies and privacy policies on the following links:

        Fiware-tech-help mailing list
        Fiware-tech-help@lists.fiware.org
        https://lists.fiware.org/listinfo/fiware-tech-help

        Show
        juanjo Juanjo Hierro added a comment - Hi all,   Where are we regarding this question from TechMahindra?  Can someone elaborate?  Maybe you have followed up just among the two of you, but I was wondering.   Cheers,   Juanjo __________________________________________________________________________________________ You can get more information about our cookies and privacy policies on the following links: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE Fiware-tech-help mailing list Fiware-tech-help@lists.fiware.org https://lists.fiware.org/listinfo/fiware-tech-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi Juanjo,

        Thanks for asking.

        I was able to complete MQTT flow using latest GEs.

        Thanks & Regards,
        Krishan Babbar
        Technical Architect
        IES Internet of Things | Tech Mahindra
        Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA

        • Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ===========================================================================================================================

        From: Juanjo Hierro juanjose.hierro@fiware.org
        Sent: Thursday, February 15, 2018 10:29 PM
        To: Mendez Requena, Fernando (ext) <fernando.mendez.external@atos.net>; Krishan Babbar <KB00449283@TechMahindra.com>; 'José Ignacio Carretero' <joseignacio.carretero@fiware.org>
        Cc: Himanshu Kumar Upadhyay <HU00437051@TechMahindra.com>; Pezuela, Clara <clara.pezuela@atos.net>; Calvo Alonso, Daniel <daniel.calvo@atos.net>; Srirangan C <csrirang@TechMahindra.com>; Sanjeev.Kumar <Sanjeev.Kumar9@TechMahindra.com>; 'fiware-tech-help@lists.fiware.org' <fiware-tech-help@lists.fiware.org>
        Subject: Re: [Fiware-tech-help] Does Fiware support MQTT?

        Hi all,

        Where are we regarding this question from TechMahindra? Can someone elaborate? Maybe you have followed up just among the two of you, but I was wondering.

        Cheers,

        Juanjo

        On 08/02/2018 19:47, Mendez Requena, Fernando (ext) wrote:
        Dear Krishan:

        Yes it does, FIWARE can support MQTT protocol.
        Could you give me more details about this issue? Are you using some Fiware IotAgent, if yes which version is? About Fiware Context Broker which version are you using?

        Feel free to contact me

        Thanks you

        From: Gato, Jose
        Sent: Thursday, February 08, 2018 6:58 PM
        To: Krishan Babbar; 'José Ignacio Carretero'
        Cc: 'fiware-tech-help@lists.fiware.org<fiware-tech-help@lists.fiware.org>'; Srirangan C; Himanshu Kumar Upadhyay; Sanjeev.Kumar; Mendez Requena, Fernando (ext); Calvo Alonso, Daniel
        Subject: Re: [Fiware-tech-help] Does Fiware support MQTT?

        Hi Fernando,

        Could you help Krishan with the following doubt about how to use the MQTT agent with FIWARE?

        best regards,

        On 07/02/18 12:23, Krishan Babbar wrote:
        Hi Jose,

        Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible.

        In "Tour Guide", I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity.

        But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value.
        Please suggest.

        mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t

        mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45

        Thanks & Regards,
        Krishan Babbar
        Technical Architect
        IES Internet of Things | Tech Mahindra
        Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA

        • Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ===========================================================================================================================

        ============================================================================================================================
        Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
        ============================================================================================================================

        Show
        fw.ext.user FW External User added a comment - Hi Juanjo, Thanks for asking. I was able to complete MQTT flow using latest GEs. Thanks & Regards, Krishan Babbar Technical Architect IES Internet of Things | Tech Mahindra Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996 ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. =========================================================================================================================== From: Juanjo Hierro juanjose.hierro@fiware.org Sent: Thursday, February 15, 2018 10:29 PM To: Mendez Requena, Fernando (ext) <fernando.mendez.external@atos.net>; Krishan Babbar <KB00449283@TechMahindra.com>; 'José Ignacio Carretero' <joseignacio.carretero@fiware.org> Cc: Himanshu Kumar Upadhyay <HU00437051@TechMahindra.com>; Pezuela, Clara <clara.pezuela@atos.net>; Calvo Alonso, Daniel <daniel.calvo@atos.net>; Srirangan C <csrirang@TechMahindra.com>; Sanjeev.Kumar <Sanjeev.Kumar9@TechMahindra.com>; 'fiware-tech-help@lists.fiware.org' <fiware-tech-help@lists.fiware.org> Subject: Re: [Fiware-tech-help] Does Fiware support MQTT? Hi all, Where are we regarding this question from TechMahindra? Can someone elaborate? Maybe you have followed up just among the two of you, but I was wondering. Cheers, Juanjo On 08/02/2018 19:47, Mendez Requena, Fernando (ext) wrote: Dear Krishan: Yes it does, FIWARE can support MQTT protocol. Could you give me more details about this issue? Are you using some Fiware IotAgent, if yes which version is? About Fiware Context Broker which version are you using? Feel free to contact me Thanks you From: Gato, Jose Sent: Thursday, February 08, 2018 6:58 PM To: Krishan Babbar; 'José Ignacio Carretero' Cc: 'fiware-tech-help@lists.fiware.org< fiware-tech-help@lists.fiware.org >'; Srirangan C; Himanshu Kumar Upadhyay; Sanjeev.Kumar; Mendez Requena, Fernando (ext); Calvo Alonso, Daniel Subject: Re: [Fiware-tech-help] Does Fiware support MQTT? Hi Fernando, Could you help Krishan with the following doubt about how to use the MQTT agent with FIWARE? best regards, On 07/02/18 12:23, Krishan Babbar wrote: Hi Jose, Does Fiware support MQTT protocol w.r.t. IoT? Please give reference of some examples if possible. In "Tour Guide", I am able to Send Measurement using HTTP protocol and temperature value is being updated in Restaurant Entity. But when I am doing following PUB/SUB, it is not updating the value of temperature in Entity. It is showing value in SUB console, but Restaurant entity is showing older value. Please suggest. mosquitto_sub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t mosquitto_pub -h <HostIP> -u <username> -P <password> -t /tourguide-devices-Franchise1/0115206c51f60b48b77e4c937835795c33bb953f-kitchen-temperature/attrs/t -m 45 Thanks & Regards, Krishan Babbar Technical Architect IES Internet of Things | Tech Mahindra Rajiv Gandhi Chandigarh Technology Park, Plot No. 23, Phase 2, Kishangarh, Chandigarh 160101, INDIA Office: +91 172 666 8400 Ext. 8352 | Mobile: +91 946 303 0996 ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. =========================================================================================================================== ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. ============================================================================================================================
        Hide
        josegato Jose Gato Luis added a comment -

        Some more info. A new docker-compose was provided to Krishan to facilitate the deployment with new versions of GEs.

        Show
        josegato Jose Gato Luis added a comment - Some more info. A new docker-compose was provided to Krishan to facilitate the deployment with new versions of GEs.

          People

          • Assignee:
            josegato Jose Gato Luis
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: