Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. 💬 MYSController

💬 MYSController

Scheduled Pinned Locked Moved Announcements
58 Posts 24 Posters 7.4k Views 23 Watching
  • 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.
  • G Guillermo Schimmel

    @jimmy-loyens said in 💬 MYSController:

    @guillermo-schimmel can you tell me where you downloaded the binding? I think im using the 2.2 binding. Is it possible you forgot the link to your setup files? Greets

    Please take a look here:

    https://www.mysensors.org/controller/openhab

    You will find my config and also a link to the 2.4 version of the binding.

    J Offline
    J Offline
    jimmy loyens
    wrote on last edited by jimmy loyens
    #41
    This post is deleted!
    1 Reply Last reply
    0
    • A Offline
      A Offline
      andy5211d
      wrote on last edited by
      #42

      Have Mysensors in use with Home Assistant for several years, no issues. Using a Sensebender Ethernet MQTT gateway to feed HA. Just found this software. Can only get this software to connect via serial connection, not IP, and only shows data in the MYSController Debug tab. No nodes are discovered just 0 and 255. Is there something I need to do with the Gateway to allow connection for this software? Example of debug tab messages:

      22/04/2020 18:34:56 ERROR ErrorFlag=255, Msg=2433158 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT
      22/04/2020 18:34:56 RX 2433224 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.1
      22/04/2020 18:34:56 ERROR ErrorFlag=255, Msg=2433224 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.1
      22/04/2020 18:34:56 RX 2433224 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
      22/04/2020 18:34:56 ERROR ErrorFlag=255, Msg=2433224 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
      22/04/2020 18:35:00 RX 2437119 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.5
      22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437119 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.5
      22/04/2020 18:35:00 RX 2437120 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT
      22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437120 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT
      22/04/2020 18:35:00 RX 2437186 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.5
      22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437186 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.5
      22/04/2020 18:35:00 RX 2437186 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
      22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437186 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
      22/04/2020 18:35:03 RX 2439780 GWT:TPC:IP=192.168.1.96
      22/04/2020 18:35:03 ERROR ErrorFlag=255, Msg=2439780 GWT:TPC:IP=192.168.1.96
      22/04/2020 18:35:04 RX 2440780 GWT:RMQ:CONNECTING...
      22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2440780 GWT:RMQ:CONNECTING...
      22/04/2020 18:35:04 RX 2440783 GWT:RMQ:OK
      22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2440783 GWT:RMQ:OK
      22/04/2020 18:35:04 RX 2440784 GWT:TPS:TOPIC=mygateway2-out/0/255/0/0/18,MSG SENT
      22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2440784 GWT:TPS:TOPIC=mygateway2-out/0/255/0/0/18,MSG SENT
      22/04/2020 18:35:04 RX 2441081 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.4
      22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2441081 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.4
      22/04/2020 18:35:04 RX 2441081 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT

      Any suggestions anyone? Thanks.

      tekkaT 1 Reply Last reply
      0
      • A andy5211d

        Have Mysensors in use with Home Assistant for several years, no issues. Using a Sensebender Ethernet MQTT gateway to feed HA. Just found this software. Can only get this software to connect via serial connection, not IP, and only shows data in the MYSController Debug tab. No nodes are discovered just 0 and 255. Is there something I need to do with the Gateway to allow connection for this software? Example of debug tab messages:

        22/04/2020 18:34:56 ERROR ErrorFlag=255, Msg=2433158 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT
        22/04/2020 18:34:56 RX 2433224 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.1
        22/04/2020 18:34:56 ERROR ErrorFlag=255, Msg=2433224 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.1
        22/04/2020 18:34:56 RX 2433224 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
        22/04/2020 18:34:56 ERROR ErrorFlag=255, Msg=2433224 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
        22/04/2020 18:35:00 RX 2437119 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.5
        22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437119 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.5
        22/04/2020 18:35:00 RX 2437120 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT
        22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437120 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT
        22/04/2020 18:35:00 RX 2437186 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.5
        22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437186 TSF:MSG:READ,23-23-0,s=2,c=1,t=0,pt=7,l=5,sg=0:28.5
        22/04/2020 18:35:00 RX 2437186 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
        22/04/2020 18:35:00 ERROR ErrorFlag=255, Msg=2437186 GWT:TPS:TOPIC=mygateway2-out/23/2/1/0/0,MSG SENT
        22/04/2020 18:35:03 RX 2439780 GWT:TPC:IP=192.168.1.96
        22/04/2020 18:35:03 ERROR ErrorFlag=255, Msg=2439780 GWT:TPC:IP=192.168.1.96
        22/04/2020 18:35:04 RX 2440780 GWT:RMQ:CONNECTING...
        22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2440780 GWT:RMQ:CONNECTING...
        22/04/2020 18:35:04 RX 2440783 GWT:RMQ:OK
        22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2440783 GWT:RMQ:OK
        22/04/2020 18:35:04 RX 2440784 GWT:TPS:TOPIC=mygateway2-out/0/255/0/0/18,MSG SENT
        22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2440784 GWT:TPS:TOPIC=mygateway2-out/0/255/0/0/18,MSG SENT
        22/04/2020 18:35:04 RX 2441081 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.4
        22/04/2020 18:35:04 ERROR ErrorFlag=255, Msg=2441081 TSF:MSG:READ,23-23-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.4
        22/04/2020 18:35:04 RX 2441081 GWT:TPS:TOPIC=mygateway2-out/23/1/1/0/0,MSG SENT

        Any suggestions anyone? Thanks.

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by tekka
        #43

        @andy5211d MYSController won't work with GW debug output. Use the GatewaySerial or GatewayW5100 example sketch to interact with your nodes.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andy5211d
          wrote on last edited by
          #44

          @tekka, thanks for the pointer. I'm using the GatewayW5100MQTTClient sketch, is this not the correct one? Works well though! Or, I do have MY_DEBUG at the beginning enabled, is then incorrect? However I can't connect MYSController via the IP port either. So if it is MY_DEBUG enabled as the problem then it impacts on both connections?

          Jan SpiesJ 1 Reply Last reply
          0
          • A andy5211d

            @tekka, thanks for the pointer. I'm using the GatewayW5100MQTTClient sketch, is this not the correct one? Works well though! Or, I do have MY_DEBUG at the beginning enabled, is then incorrect? However I can't connect MYSController via the IP port either. So if it is MY_DEBUG enabled as the problem then it impacts on both connections?

            Jan SpiesJ Offline
            Jan SpiesJ Offline
            Jan Spies
            wrote on last edited by
            #45

            @andy5211d It seems that MYScontroller does not work when MQTT is involved. I've tested both sketches, GatewayW5100 and GatewayW5100MQTTClient, and only GatewayW5100 could connect to MYSController.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andy5211d
              wrote on last edited by
              #46

              @Jan Spies, Thanks for your help. Was about to try different sketches over the weekend but guess I'll try some other approach now. Would really like to get MYSController or something similar to work. I can see data on the serial port (as shown below) but nothing on the ethernet port that looks useful other than what is sent and is returned from MQTT (I'm using Home Assistant). I have Lazerus so may have a play with the data on the serial port. Perhaps could feed the serial data into another Arduino and make it available on another IP address for different MySensor controller software. as not easy to get to my gateway hardware with a serail connection. Or seeing that the data is in MQTT perhaps feeding it into another app to display similar to MYSController. Wonder if the source of MYSController in in Guthub. Will have a look; no point in re-inventing the wheel... Wish I could work out what the ERROR ErrorFlag=255, etc means in my serial port output in the post below.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andy5211d
                wrote on last edited by
                #47

                @Jan Spies But wait, just noticed that Home Assistant can take MySensors data direct from either a serial port of IP connection. Must be a new option. My implementation is from some 5 years or more ago and think then only MQTT was the way into the Controller. Guess it could have been because I started out with OpenHAB and perhaps that controller only had a MQTT option then. When i moved over to HA it just worked so did not look at anything else. Now want more sensors has have a solar power system I'd like to monitor closely and i can't easily interface to the solar power units. So more sensors and some sort of MYSController.

                Jan SpiesJ 1 Reply Last reply
                1
                • A andy5211d

                  @Jan Spies But wait, just noticed that Home Assistant can take MySensors data direct from either a serial port of IP connection. Must be a new option. My implementation is from some 5 years or more ago and think then only MQTT was the way into the Controller. Guess it could have been because I started out with OpenHAB and perhaps that controller only had a MQTT option then. When i moved over to HA it just worked so did not look at anything else. Now want more sensors has have a solar power system I'd like to monitor closely and i can't easily interface to the solar power units. So more sensors and some sort of MYSController.

                  Jan SpiesJ Offline
                  Jan SpiesJ Offline
                  Jan Spies
                  wrote on last edited by
                  #48

                  @andy5211d this is good news! I'm going to take a look at HA's direct access. I hope it works, I really would like the remote programming.

                  1 Reply Last reply
                  0
                  • JoeridemanJ Offline
                    JoeridemanJ Offline
                    Joerideman
                    wrote on last edited by Joerideman
                    #49

                    So is there a gateway where it also possible to use the serial connection for Home Assistant and the IP connection for mysensors?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andy5211d
                      wrote on last edited by
                      #50

                      @Jan Spies, @Joerideman. Well HA has on its MySensors integration page, https://www.home-assistant.io/integrations/mysensors/, an extended example script lower down the page which shows several different methods of attaching the MySensors Gateway. Serial via USB, serial direct, IP and MQTT. Up until this week I've always used the MQTT option as my gateway was set to use MQTT and been working well for 5 or more of years. Following the conversation below I generated another development instance of HA and as I had a spare Sensebender Gateways board set up another gateway. This time using the IP direct connection, example 3, and it works, sort of.

                      Let me explain. I'm trying to get the MYSController to work and as best I can tell if you use the IP connection for the controller then HA can't access or read from the controller. So if the MYSController connects first then HA does not work, the other way around then the controller software does not work. I have not made the serial connection to the gateway board work with the controller software if the gateway is set for an IP connection. That is including that option in the software build. Looking at the serial link (via usb connection) on terminal software YAT there is nothing sent out. I have not tried to build the gateway software for serial connection only as I don't intend to use this mode, but may do just for connection to the MYSController software.

                      As best I can tell at this time the Sensebender gateway can only connect to one 'controller' at a time. Does not allow two IP connections to the same port, which of course makes sense. Same I does not send the same information out of the USB (Serial) and IP at the same time.

                      However still investigation (playing) as I have a mix of sensor versions on my network and that can't help.... Some are so old I can't find the initial source code to re-compile to the latest version so will try to reverse engineer what I did. Mostly one-wire temp sensors and a solar battery bank voltage/current monitor so not too complicated.

                      1 Reply Last reply
                      0
                      • mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by
                        #51

                        I think

                        
                        #define MY_GATEWAY_MAX_CLIENTS 2
                        
                        

                        will allow 2 controllers to connect to the gateway. But be aware that strange things may happen if two controllers are used. For example, if a node requests a node ID, and two controllers respond with different IDs.

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          andy5211d
                          wrote on last edited by
                          #52

                          '
                          @mfalkvidd Thanks so much for that. Both MYSController and the direct connection to HA connected via IP and working. I think I must have missed that option, is it listed somewhere? Thanks again.

                          mfalkviddM 1 Reply Last reply
                          0
                          • A andy5211d

                            '
                            @mfalkvidd Thanks so much for that. Both MYSController and the direct connection to HA connected via IP and working. I think I must have missed that option, is it listed somewhere? Thanks again.

                            mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by mfalkvidd
                            #53

                            @andy5211d great that it worked.

                            I found it in the wifi gateway example, https://www.mysensors.org/build/esp8266_gateway
                            It is also listed on https://www.mysensors.org/apidocs/group__GatewaySettingGrpPub.html#gab307cf122e775d3bfc241195cd552a3f

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              andy5211d
                              wrote on last edited by
                              #54

                              Not wanting to dilute this forum much with HA but notice that HA is a bit picky as to how it connects to the Gateway when in this direct IP mode. If it can't connect to the gateway within a certain timeframe then it gives up or looses connection and can't re-connect again within a short timeframe. Also seems to need a full re-boot to re-connect once 'given up'. And also seems to need the HA connection to the gateway first else does not connect. So leave the MYSController disconnected until HA has done its thing. Not extensive experiments; your experience may differ!

                              Now going to try the direct serial via USB as my HA controller is a NUC so has several USB connections, as does the Dev HA R-Pi which I'll play with first. Of course the serial connect will be only for one controller, so would be good if the Gateway software had the option of both IP and serial connections, but lets play...

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                DenisJ
                                wrote on last edited by
                                #55

                                Sorry if I reopen this page... can I use MySController on e gateway with ESP32 please ?
                                I can't find any installation doc.
                                Thanks a lot
                                Denis

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  alphaHotel
                                  wrote on last edited by
                                  #56

                                  Does anyone have a copy of MYSController they can share? The link to a dropbox folder says the folder is no longer available.

                                  I'm trying to test out a new gateway device and it would make it a lot simpler to use MYSController that to start integrating it into my infrastructure.

                                  J 1 Reply Last reply
                                  0
                                  • A alphaHotel

                                    Does anyone have a copy of MYSController they can share? The link to a dropbox folder says the folder is no longer available.

                                    I'm trying to test out a new gateway device and it would make it a lot simpler to use MYSController that to start integrating it into my infrastructure.

                                    J Offline
                                    J Offline
                                    jkandasa
                                    Plugin Developer
                                    wrote on last edited by
                                    #57

                                    @alphaHotel https://forum.mysensors.org/topic/3453/mysbootloader-1-3-pre-release-myscontroller-1-0-0beta/186

                                    A 1 Reply Last reply
                                    0
                                    • J jkandasa

                                      @alphaHotel https://forum.mysensors.org/topic/3453/mysbootloader-1-3-pre-release-myscontroller-1-0-0beta/186

                                      A Offline
                                      A Offline
                                      alphaHotel
                                      wrote on last edited by
                                      #58

                                      @jkandasa Thanks!

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      13

                                      Online

                                      11.7k

                                      Users

                                      11.2k

                                      Topics

                                      113.1k

                                      Posts


                                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • MySensors
                                      • OpenHardware.io
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular