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

    MQTT sensors support?

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 3 Posters 4.2k Views 1 Watching
    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 Offline
      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?

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        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 Offline
          Redferne @jkandasa
          last edited by

          @jkandasa

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

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            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 Offline
              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?

              jkandasaJ 1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                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 Offline
                  paul @jkandasa
                  last edited by

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

                  jkandasaJ 1 Reply Last reply Reply Quote 0
                  • jkandasaJ Offline
                    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 Offline
                      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

                      587

                      Users

                      529

                      Topics

                      3.4k

                      Posts
                      Copyright © 2015-2025 MyController.org | Contributors | Localization