• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    MQTT sensors support?

    General Discussion
    3
    9
    3869
    Loading More Posts
    • 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.
    • R
      Redferne last edited by

      Hi,

      I'm publishing sensor data from another source to MyController MQTT broker. But I cannot see them in MyController? I like to be able to use them as normal MySensors variables. What am I missing here? Do I need to use any special topic?

      jkandasa 1 Reply Last reply Reply Quote 0
      • jkandasa
        jkandasa @Redferne last edited by

        @Redferne You have to subscribe those topics. and should be in MySensors format

        R 1 Reply Last reply Reply Quote 0
        • R
          Redferne @jkandasa last edited by

          @jkandasa

          Ok, great! How do I subscribe to them, inside MyController? What is the MySensor format?
          Any documentation available?

          jkandasa 1 Reply Last reply Reply Quote 0
          • jkandasa
            jkandasa @Redferne last edited by

            @Redferne
            Now support MyController supports it's own format on SNAPSHOT version. MyController format is here

            You can see MySensors API details on here.

            R P 2 Replies Last reply Reply Quote 0
            • R
              Redferne @jkandasa last edited by

              @jkandasa

              Wonderful, now things are a bit easier. Just need to use expected MQTT Topic format. I have debugging set to TRACE level, so I should be to see any messages received by the MyController broker and client?

              jkandasa 1 Reply Last reply Reply Quote 0
              • jkandasa
                jkandasa @Redferne last edited by jkandasa

                @Redferne Yes, When you set this line <logger level="DEBUG" name="org.mycontroller.standalone.gateway.mqtt" /> on conf/logback.xml you can see MQTT debug logs.

                1 Reply Last reply Reply Quote 0
                • P
                  paul @jkandasa last edited by

                  @jkandasa what is the difference between mysensors mqtt and mycontroller mqtt gateways?

                  jkandasa 1 Reply Last reply Reply Quote 0
                  • jkandasa
                    jkandasa @paul last edited by

                    @paul MyCointroller gateway designed to support MyController specific devices, for now It supports for Raspberry PI via RPI-agent and ESP8266. I have changed MQTT format for this. hence we have different type of MQTT formats.

                    Please note MyController Supported not released yet, hence you may see some changes before release.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      paul @jkandasa last edited by

                      @jkandasa nice. I see support for standalone esp8266 sensors to use mqtt to communicate with mycontroller soon. Looking forward to some Arduino examples to use mycontroller-device library

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      0
                      Online

                      638
                      Users

                      495
                      Topics

                      3.2k
                      Posts

                      Copyright © 2015-2022 MyController.org | Contributors | Localization