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. Controllers
  3. Domoticz
  4. MySensors USB GW

MySensors USB GW

Scheduled Pinned Locked Moved Domoticz
8 Posts 4 Posters 1.3k Views 4 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.
  • alexsh1A Offline
    alexsh1A Offline
    alexsh1
    wrote on last edited by alexsh1
    #1

    Hello,

    I have several GWs in Domoticz. However, only one (MySensors Gateway USB
    Version: 2.1.1) never shows up its version in "Domoticz - Hardware" unless I press reset button on Moteino.

    This is a Moteino Mega with a trace antenna connected to Raspberry via TX/RX.

    All other GWs (ethernet ones) are working flawlessly. Just to summarise, when Domoticz is rebooted, only one USB GW shows "?" in the version section. When I press the reset button, the version comes up as 2.1.1. Upgrading to 2.3.0 does not help - any idea how this can be corrected please?

    mfalkviddM 1 Reply Last reply
    0
    • rejoe2R Offline
      rejoe2R Offline
      rejoe2
      wrote on last edited by
      #2

      Just a quick shot, might not be right:
      Perhaps this type of hardware is "too fast" in sending in data over serial?
      Try adding a short wait() or sleep() in before() to make sure your controller is already up and running when presentation() is gone through.
      Or call an additional presentation() from controller side (don't know whether domoticz supports this).

      Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

      alexsh1A 1 Reply Last reply
      1
      • alexsh1A alexsh1

        Hello,

        I have several GWs in Domoticz. However, only one (MySensors Gateway USB
        Version: 2.1.1) never shows up its version in "Domoticz - Hardware" unless I press reset button on Moteino.

        This is a Moteino Mega with a trace antenna connected to Raspberry via TX/RX.

        All other GWs (ethernet ones) are working flawlessly. Just to summarise, when Domoticz is rebooted, only one USB GW shows "?" in the version section. When I press the reset button, the version comes up as 2.1.1. Upgrading to 2.3.0 does not help - any idea how this can be corrected please?

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

        @alexsh1 what tty names do your gateways use? Domoticz is very picky about the naming.

        ls  /dev/tty*
        

        will list the ttys.

        alexsh1A 1 Reply Last reply
        1
        • mfalkviddM mfalkvidd

          @alexsh1 what tty names do your gateways use? Domoticz is very picky about the naming.

          ls  /dev/tty*
          

          will list the ttys.

          alexsh1A Offline
          alexsh1A Offline
          alexsh1
          wrote on last edited by
          #4

          @mfalkvidd Yes, I have gone through that. Domoticz does not recognise tty if it does not like it. I have

          /dev/ttyAMA0
          
          mfalkviddM 1 Reply Last reply
          0
          • rejoe2R rejoe2

            Just a quick shot, might not be right:
            Perhaps this type of hardware is "too fast" in sending in data over serial?
            Try adding a short wait() or sleep() in before() to make sure your controller is already up and running when presentation() is gone through.
            Or call an additional presentation() from controller side (don't know whether domoticz supports this).

            alexsh1A Offline
            alexsh1A Offline
            alexsh1
            wrote on last edited by
            #5

            @rejoe2 Interesting. I'll try it

            1 Reply Last reply
            0
            • alexsh1A alexsh1

              @mfalkvidd Yes, I have gone through that. Domoticz does not recognise tty if it does not like it. I have

              /dev/ttyAMA0
              
              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @alexsh1 if there is only one tty, linux has only found one of your usb gateways. Unless linux finds the gateways, there will be no way for Domoticz to talk to them.

              skywatchS 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @alexsh1 if there is only one tty, linux has only found one of your usb gateways. Unless linux finds the gateways, there will be no way for Domoticz to talk to them.

                skywatchS Offline
                skywatchS Offline
                skywatch
                wrote on last edited by
                #7

                @alexsh1 I'll bet you are using a Raspberry pi 3.

                1 Reply Last reply
                0
                • rejoe2R Offline
                  rejoe2R Offline
                  rejoe2
                  wrote on last edited by
                  #8

                  @mfalkvidd said in MySensors USB GW:

                  @alexsh1 if there is only one tty, linux has only found one of your usb gateways. Unless linux finds the gateways, there will be no way for Domoticz to talk to them.

                  As basic communication seems not to be an issue (beside the version information that per default only is included in presentation()), especially when rebooting the mc, imo this isn't a problem on the Pi side. It's just the mc booting much faster than the controller...
                  As there's no USB-Serial converter in the setup @alexsh1 uses, the mc will not be reset when communication is (re-) startet from controller side - imo that's all.
                  Some explanation, might be of interest for future discussions on that: I had comparable "problems" using a Pro Micro as a GW; this mc also will not be reset when USB communication is reconnected. Most likely also other mc's providing direct USB communication (e.g. STM32F1xx) will show similar behaviour.

                  Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

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


                  27

                  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