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

MQTT sensors support?

Scheduled Pinned Locked Moved General Discussion
9 Posts 3 Posters 4.3k 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 10 Oct 2016, 02:10

    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?

    J 1 Reply Last reply 10 Oct 2016, 14:37 Reply Quote 0
    • J Offline
      jkandasa @Redferne
      last edited by 10 Oct 2016, 14:37

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

      R 1 Reply Last reply 10 Oct 2016, 19:17 Reply Quote 0
      • R Offline
        Redferne @jkandasa
        last edited by 10 Oct 2016, 19:17

        @jkandasa

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

        J 1 Reply Last reply 11 Oct 2016, 02:31 Reply Quote 0
        • J Offline
          jkandasa @Redferne
          last edited by 11 Oct 2016, 02:31

          @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 11 Oct 2016, 03:14 Reply Quote 0
          • R Offline
            Redferne @jkandasa
            last edited by 11 Oct 2016, 03:14

            @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?

            J 1 Reply Last reply 11 Oct 2016, 07:17 Reply Quote 0
            • J Offline
              jkandasa @Redferne
              last edited by jkandasa 10 Nov 2016, 12:47 11 Oct 2016, 07:17

              @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 3 Nov 2016, 00:09

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

                J 1 Reply Last reply 3 Nov 2016, 04:58 Reply Quote 0
                • J Offline
                  jkandasa @paul
                  last edited by 3 Nov 2016, 04:58

                  @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 3 Nov 2016, 11:31 Reply Quote 0
                  • P Offline
                    paul @jkandasa
                    last edited by 3 Nov 2016, 11:31

                    @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

                    618

                    Users

                    531

                    Topics

                    3.4k

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