• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    MQTT sensors support?

    scheduled pinned locked moved General Discussion
    9 posts 3 posters 4.5k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • R offline
      Redferne
      global: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 one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @Redferne
        global:last-edited-by,

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

        R one-reply-to-this-post last-reply-time reply quote 0
        • R offline
          Redferne @jkandasa
          global:last-edited-by,

          @jkandasa

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

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @Redferne
            global: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 topic:replies-to-this-post, 2 last-reply-time reply quote 0
            • R offline
              Redferne @jkandasa
              global: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 one-reply-to-this-post last-reply-time reply quote 0
              • jkandasaJ offline
                jkandasa @Redferne
                global: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.

                one-reply-to-this-post last-reply-time reply quote 0
                • P offline
                  paul @jkandasa
                  global:last-edited-by,

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

                  jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                  • jkandasaJ offline
                    jkandasa @paul
                    global: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 one-reply-to-this-post last-reply-time reply quote 0
                    • P offline
                      paul @jkandasa
                      global: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

                      one-reply-to-this-post last-reply-time reply quote 0
                      • first-post
                        last-post

                      0

                      online

                      644

                      users

                      532

                      topics

                      3.4k

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