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

    Republish MySensors Messages via MQTT

    scheduled pinned locked moved General Discussion
    11 posts 4 posters 8.1k views 2 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • C offline
      cslauritsen
      global:last-edited-by,

      Please correct me if I'm wrong...
      I assume that currently mycontroller.org does not support publishing mysensors messages to mqtt.

      I would be willing to contribute code to provide this functionality. I was reading thru and wondered if adding a new Operation would be the best way.

      If you have any pointers, I'd be glad to hear them.
      Thanks

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

        @cslauritsen Than you for your intrest with MyController.org

        Do you want to publish Serial, Ethernet gateway messages to MQTT?

        one-reply-to-this-post last-reply-time reply quote 0
        • C offline
          cslauritsen
          global:last-edited-by,

          Yes. I currently have a serial gateway.
          I like the functionality of mycontroller.org, but I like the automation/rules engine/extensibility of openhab.

          I'd like to expose the mysensors data to other systems like openhab using mqtt.

          I'm open to other ways of doing it, this is just what occurred to me first.

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

            @cslauritsen I believe we can achieve this with node-red.

            If we have real need of this functionality with MyController.org we may include any gateway(Serial, Ethernet, MQTT) to MQTT in MyController.org style. Note MyContorller maintaining it is own message style and variables. we will get MQTT output in MyController style.

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

              @jkandasa is there a way in myc to connect a serial gateway to an mqtt gateway, such that a message arriving on the serial interface could be republished to the mqtt interface?

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

                @cslauritsen right now there is no way to do that.

                one-reply-to-this-post last-reply-time reply quote 0
                • M offline
                  mibu
                  global:last-edited-by,

                  @jkandasa said:

                  If we have real need of this functionality with MyController.org we may include any gateway(Serial, Ethernet, MQTT) to MQTT in MyController.org style. Note MyContorller maintaining it is own message style and variables. we will get MQTT output in MyController style.

                  @jkandasa,
                  have you been looking into this feature any further? I would also like to subscribe and publish 'clean' (named) mysensor messages.
                  My reasons are similar to what cslauritsen wrote above.

                  An alternative feature would be the possibility to add an generic 'External Server' in order to make HTTP posts or connect to an web hook. Although I would also miss the possibility to control things in the other direction (ie. relays, rbg light, etc.)

                  In any case - thanks for this nice tool!

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

                    @mibu I will look in to implementation details. I will come back with the level of easiness implementation.

                    one-reply-to-this-post last-reply-time reply quote 1
                    • C offline
                      chuneault
                      global:last-edited-by, chuneault

                      Hi, same request for me. I would like to update WUnderground with http post. I think with generic External Server functionalities, it will be a great new feature.

                      Carl

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

                        @chuneault said:

                        WUnderground

                        Please create new feature request on https://github.com/mycontroller-org/mycontroller/issues with support api documentation. Thank you!

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

                          MySensors serial message will be converted to MQTT via serial2mqtt

                          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