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

    Republish MySensors Messages via MQTT

    Scheduled Pinned Locked Moved General Discussion
    11 Posts 4 Posters 7.6k Views 2 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.
    • C Offline
      cslauritsen
      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

      1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa
        last edited by

        @cslauritsen Than you for your intrest with MyController.org

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

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

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

              1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                jkandasa
                last edited by

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

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

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

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

                          MySensors serial message will be converted to MQTT via serial2mqtt

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

                          0

                          Online

                          586

                          Users

                          529

                          Topics

                          3.4k

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