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. Hardware
  3. Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

Scheduled Pinned Locked Moved Hardware
nrf24raspberry piraspberryraspberry nrf24l01 gpiogateway
168 Posts 47 Posters 175.0k Views 36 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.
  • SeanMarshS SeanMarsh

    @mfalkvidd I"m confused. I noticed the instructions below is for 1.5X or below and will not work with 2.0. The link for 2.0 that is posted doesn't make any sense to me at all. It also takes me to a thread where I start reading the information from the middle of a thread. I'm coming to the conclusion that it doesn't work yet..... Am I right?
    SUPER New here. sorry

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

    @SeanMarsh I don't know anything more than what's stated in that thread, sorry. That's also why it is the last option of the alternatives. Go with a serial, wifi or ethernet gateway if you can.

    1 Reply Last reply
    0
    • tlpeterT Offline
      tlpeterT Offline
      tlpeter
      wrote on last edited by
      #145

      I also have a serial gateway next to my raspberry (3 in this case) with Domoticz on it.
      If there is an issue than at least a part is still running without breaking everything.
      I am using zwave at most and mysensors now for playing.
      I cannot break the current zwave implementation so for me a serial gateway is the best solution.
      For playing around you might just try as i imaging it could be fun to do it.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wergeld
        wrote on last edited by
        #146

        How can we update the gateway to v1.5? I just tried to rebuild from github today and I am getting really odd errors now that I did not get before:
        cc1: error: bad value (cortex-a7)

        What I could find online states I need to update the gcc compiler on my rPi - it is currently version 4 and latest is 5...but apt-get update gcc says I am already at latest version.

        I am trying to get my slimNodes up and running using v1.5 of mysensors.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Toyman
          wrote on last edited by Toyman
          #147

          How can I use "PA power HIGH" with this setup?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Reza
            wrote on last edited by
            #148

            i can not add device to domoticz controller with serial gateway(1.4)

            MySensors Gateway USB
            Version: 1.4 Setup

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Reza
              wrote on last edited by
              #149

              is this true ?

              
              pi@raspberrypi:~$ sudo make enable-gwserial
              make: *** No rule to make target 'enable-gwserial'.  Stop.
              
              T 1 Reply Last reply
              0
              • R Reza

                is this true ?

                
                pi@raspberrypi:~$ sudo make enable-gwserial
                make: *** No rule to make target 'enable-gwserial'.  Stop.
                
                T Offline
                T Offline
                Toyman
                wrote on last edited by
                #150

                @Reza try:
                cd Raspberry
                sudo make enable-gwserial

                R 1 Reply Last reply
                0
                • T Toyman

                  @Reza try:
                  cd Raspberry
                  sudo make enable-gwserial

                  R Offline
                  R Offline
                  Reza
                  wrote on last edited by
                  #151

                  @Toyman
                  thank you

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Reza
                    wrote on last edited by
                    #152

                    in domoticz i have this problem :

                    
                    pi@raspberrypi:~$ sudo cat /dev/ttyMySensorsGateway
                    cat: /dev/ttyMySensorsGateway: No such file or directory
                    
                    1 Reply Last reply
                    0
                    • rmtuckerR Offline
                      rmtuckerR Offline
                      rmtucker
                      wrote on last edited by
                      #153

                      How do I remove all that I have installed at the top of this thread so I can revert back to an arduino serial gateway?

                      mfalkviddM 1 Reply Last reply
                      0
                      • rmtuckerR rmtucker

                        How do I remove all that I have installed at the top of this thread so I can revert back to an arduino serial gateway?

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

                        @rmtucker run "sudo make uninstall" when standing in the Raspberry folder

                        rmtuckerR 1 Reply Last reply
                        0
                        • mfalkviddM mfalkvidd

                          @rmtucker run "sudo make uninstall" when standing in the Raspberry folder

                          rmtuckerR Offline
                          rmtuckerR Offline
                          rmtucker
                          wrote on last edited by
                          #155

                          @mfalkvidd do you mean the root directory?
                          I have had this running for a number of months but I want to go back to the arduino serial setup without losing my domoticz controller or data.

                          mfalkviddM 1 Reply Last reply
                          0
                          • rmtuckerR rmtucker

                            @mfalkvidd do you mean the root directory?
                            I have had this running for a number of months but I want to go back to the arduino serial setup without losing my domoticz controller or data.

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

                            @rmtucker I mean the folder containing the files from the git repo.

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Toyman
                              wrote on last edited by
                              #157

                              Is there a way to manually type messages to the nodes?

                              1 Reply Last reply
                              0
                              • _Rooky__ Offline
                                _Rooky__ Offline
                                _Rooky_
                                wrote on last edited by
                                #158

                                Hi,
                                maybe someone could give me a hint. I installed everything and it looks like it is working, but no sensors are displayed in Domoticz. Any idea what's wrong?

                                I used this sensor before with a ESP Wifi gateway and it was working fine. The DallasTemp Sensors got visible in Domoticz right after the gateway was added in the Hardware section.

                                After installing the NRF24l01 on the Rasperry Pi 3 and follwing the instructions above, I added MySensorsGateway USB with /dev/ttyUSB20, but nothing happend.

                                Would be nice, if I could get this smart thing working. Else I would need to go back to the ESP Wifi gateway.

                                Domoticz log:
                                2016-12-30 00:31:01.610 Domoticz V3.5877 (c)2012-2016 GizMoCuz
                                2016-12-30 00:31:01.611 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
                                2016-12-30 00:31:01.611 System: Raspberry Pi
                                2016-12-30 00:31:01.611 Startup Path: /home/pi/domoticz/
                                2016-12-30 00:31:02.327 Sunrise: 08:18:00 SunSet:15:59:00
                                2016-12-30 00:31:02.327 EventSystem: reset all events...
                                2016-12-30 00:31:02.411 Active notification subsystems: (0/12)
                                2016-12-30 00:31:02.448 WebServer(HTTP) started on address: :: with port 8080
                                2016-12-30 00:31:02.479 WebServer(SSL) started on address: :: with port 443
                                2016-12-30 00:31:02.481 Proxymanager started.
                                2016-12-30 00:31:02.516 Starting shared server on: :::6144
                                2016-12-30 00:31:02.516 TCPServer: shared server started...
                                2016-12-30 00:31:02.517 RxQueue: queue worker started...
                                2016-12-30 00:31:04.520 EventSystem: reset all events...
                                2016-12-30 00:31:04.520 EventSystem: reset all device statuses...
                                2016-12-30 00:31:04.521 EventSystem: Started
                                2016-12-30 00:31:05.519 MySensors: Using serial port: /dev/ttyUSB20
                                2016-12-30 00:33:06.145 Incoming connection from: 127.0.0.1


                                pi@raspberrypi:~ $ sudo /usr/local/sbin/PiGatewaySerial
                                Starting PiGatewaySerial...
                                Protocol version - 1.4
                                Created PTY '/dev/pts/2'
                                Gateway tty: /dev/ttyMySensorsGateway
                                ================ SPI Configuration ================
                                CSN Pin = CE0 (PI Hardware Driven)
                                CE Pin = Custom GPIO25
                                Clock Speed = 8 Mhz
                                ================ NRF Configuration ================
                                STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
                                RX_ADDR_P0-1 = 0xa8a8e1fc02 0xa8a8e1fc00
                                RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6
                                TX_ADDR = 0xa8a8e1fc02
                                RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00
                                EN_AA = 0x3b
                                EN_RXADDR = 0x06
                                RF_CH = 0x4c
                                RF_SETUP = 0x23
                                CONFIG = 0x0e
                                DYNPD/FEATURE = 0x3f 0x06
                                Data Rate = 250KBPS
                                Model = nRF24L01+
                                CRC Length = 16 bits
                                PA Power = PA_LOW
                                read: 2-2-0 s=255,c=3,t=24,pt=1,l=1:1
                                read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                read: 2-2-0 s=255,c=3,t=24,pt=1,l=1:1
                                read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                read: 2-2-0 s=255,c=3,t=24,pt=1,l=1:1
                                ...


                                pi@raspberrypi:~ $ sudo cat /dev/ttyMySensorsGateway
                                0;0;3;0;14;Gateway startup complete.
                                2;255;3;0;24;1
                                2;255;3;0;24;1
                                2;255;3;0;24;1
                                2;255;3;0;24;1
                                2;255;3;0;24;1
                                1;255;3;0;24;1
                                2;255;3;0;24;1
                                1;255;3;0;24;1
                                2;255;3;0;24;1
                                1;255;3;0;24;1
                                2;255;3;0;24;1
                                1;255;3;0;24;1
                                2;255;3;0;24;1
                                2;255;3;0;24;1
                                2;255;3;0;24;1
                                ...


                                Traces from sensor node:
                                Starting sensor (RNNNA-, 2.0.0)
                                TSM:INIT
                                TSM:RADIO:OK
                                TSP:ASSIGNID:OK (ID=2)
                                TSM:FPAR
                                TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                TSP:MSG:FPAR RES (ID=0, dist=0)
                                TSP:MSG:PAR OK (ID=0, dist=1)
                                TSM:FPAR:OK
                                TSM:ID
                                TSM:CHKID:OK (ID=2)
                                TSM:UPL
                                TSP:PING:SEND (dest=0)
                                TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                TSP:CHKUPL:FAIL (hops=255)
                                !TSM:UPL:FAIL
                                TSM:FPAR
                                TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                TSM:FPAR
                                TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                TSP:MSG:FPAR RES (ID=0, dist=0)
                                TSP:MSG:PAR OK (ID=0, dist=1)
                                TSM:FPAR:OK
                                TSM:ID
                                TSM:CHKID:OK (ID=2)
                                TSM:UPL
                                TSP:PING:SEND (dest=0)
                                TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                TSP:CHKUPL:FAIL (hops=255)
                                !TSM:UPL:FAIL
                                TSM:FPAR
                                TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                TSP:MSG:FPAR RES (ID=0, dist=0)
                                TSP:MSG:PAR OK (ID=0, dist=1)
                                TSM:FPAR:OK
                                TSM:ID
                                TSM:CHKID:OK (ID=2)
                                TSM:UPL
                                TSP:PING:SEND (dest=0)
                                TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                TSP:CHKUPL:FAIL (hops=255)
                                !TSM:UPL:FAIL
                                TSM:FPAR
                                TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                TSP:MSG:FPAR RES (ID=0, dist=0)
                                TSP:MSG:PAR OK (ID=0, dist=1)
                                TSM:FPAR:OK
                                TSM:ID
                                TSM:CHKID:OK (ID=2)
                                TSM:UPL
                                TSP:PING:SEND (dest=0)
                                TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                TSP:CHKUPL:FAIL (hops=255)
                                !TSM:UPL:FAIL
                                ....

                                mfalkviddM 1 Reply Last reply
                                0
                                • _Rooky__ _Rooky_

                                  Hi,
                                  maybe someone could give me a hint. I installed everything and it looks like it is working, but no sensors are displayed in Domoticz. Any idea what's wrong?

                                  I used this sensor before with a ESP Wifi gateway and it was working fine. The DallasTemp Sensors got visible in Domoticz right after the gateway was added in the Hardware section.

                                  After installing the NRF24l01 on the Rasperry Pi 3 and follwing the instructions above, I added MySensorsGateway USB with /dev/ttyUSB20, but nothing happend.

                                  Would be nice, if I could get this smart thing working. Else I would need to go back to the ESP Wifi gateway.

                                  Domoticz log:
                                  2016-12-30 00:31:01.610 Domoticz V3.5877 (c)2012-2016 GizMoCuz
                                  2016-12-30 00:31:01.611 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
                                  2016-12-30 00:31:01.611 System: Raspberry Pi
                                  2016-12-30 00:31:01.611 Startup Path: /home/pi/domoticz/
                                  2016-12-30 00:31:02.327 Sunrise: 08:18:00 SunSet:15:59:00
                                  2016-12-30 00:31:02.327 EventSystem: reset all events...
                                  2016-12-30 00:31:02.411 Active notification subsystems: (0/12)
                                  2016-12-30 00:31:02.448 WebServer(HTTP) started on address: :: with port 8080
                                  2016-12-30 00:31:02.479 WebServer(SSL) started on address: :: with port 443
                                  2016-12-30 00:31:02.481 Proxymanager started.
                                  2016-12-30 00:31:02.516 Starting shared server on: :::6144
                                  2016-12-30 00:31:02.516 TCPServer: shared server started...
                                  2016-12-30 00:31:02.517 RxQueue: queue worker started...
                                  2016-12-30 00:31:04.520 EventSystem: reset all events...
                                  2016-12-30 00:31:04.520 EventSystem: reset all device statuses...
                                  2016-12-30 00:31:04.521 EventSystem: Started
                                  2016-12-30 00:31:05.519 MySensors: Using serial port: /dev/ttyUSB20
                                  2016-12-30 00:33:06.145 Incoming connection from: 127.0.0.1


                                  pi@raspberrypi:~ $ sudo /usr/local/sbin/PiGatewaySerial
                                  Starting PiGatewaySerial...
                                  Protocol version - 1.4
                                  Created PTY '/dev/pts/2'
                                  Gateway tty: /dev/ttyMySensorsGateway
                                  ================ SPI Configuration ================
                                  CSN Pin = CE0 (PI Hardware Driven)
                                  CE Pin = Custom GPIO25
                                  Clock Speed = 8 Mhz
                                  ================ NRF Configuration ================
                                  STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
                                  RX_ADDR_P0-1 = 0xa8a8e1fc02 0xa8a8e1fc00
                                  RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6
                                  TX_ADDR = 0xa8a8e1fc02
                                  RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00
                                  EN_AA = 0x3b
                                  EN_RXADDR = 0x06
                                  RF_CH = 0x4c
                                  RF_SETUP = 0x23
                                  CONFIG = 0x0e
                                  DYNPD/FEATURE = 0x3f 0x06
                                  Data Rate = 250KBPS
                                  Model = nRF24L01+
                                  CRC Length = 16 bits
                                  PA Power = PA_LOW
                                  read: 2-2-0 s=255,c=3,t=24,pt=1,l=1:1
                                  read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                  send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                  read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                  send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                  read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                  send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                  read: 2-2-0 s=255,c=3,t=24,pt=1,l=1:1
                                  read: 2-2-255 s=255,c=3,t=7,pt=0,l=0:
                                  send: 0-0-2-2 s=255,c=3,t=8,pt=1,l=1,st=ok:0
                                  read: 2-2-0 s=255,c=3,t=24,pt=1,l=1:1
                                  ...


                                  pi@raspberrypi:~ $ sudo cat /dev/ttyMySensorsGateway
                                  0;0;3;0;14;Gateway startup complete.
                                  2;255;3;0;24;1
                                  2;255;3;0;24;1
                                  2;255;3;0;24;1
                                  2;255;3;0;24;1
                                  2;255;3;0;24;1
                                  1;255;3;0;24;1
                                  2;255;3;0;24;1
                                  1;255;3;0;24;1
                                  2;255;3;0;24;1
                                  1;255;3;0;24;1
                                  2;255;3;0;24;1
                                  1;255;3;0;24;1
                                  2;255;3;0;24;1
                                  2;255;3;0;24;1
                                  2;255;3;0;24;1
                                  ...


                                  Traces from sensor node:
                                  Starting sensor (RNNNA-, 2.0.0)
                                  TSM:INIT
                                  TSM:RADIO:OK
                                  TSP:ASSIGNID:OK (ID=2)
                                  TSM:FPAR
                                  TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                  TSP:MSG:FPAR RES (ID=0, dist=0)
                                  TSP:MSG:PAR OK (ID=0, dist=1)
                                  TSM:FPAR:OK
                                  TSM:ID
                                  TSM:CHKID:OK (ID=2)
                                  TSM:UPL
                                  TSP:PING:SEND (dest=0)
                                  TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                  TSP:CHKUPL:FAIL (hops=255)
                                  !TSM:UPL:FAIL
                                  TSM:FPAR
                                  TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSM:FPAR
                                  TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                  TSP:MSG:FPAR RES (ID=0, dist=0)
                                  TSP:MSG:PAR OK (ID=0, dist=1)
                                  TSM:FPAR:OK
                                  TSM:ID
                                  TSM:CHKID:OK (ID=2)
                                  TSM:UPL
                                  TSP:PING:SEND (dest=0)
                                  TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                  TSP:CHKUPL:FAIL (hops=255)
                                  !TSM:UPL:FAIL
                                  TSM:FPAR
                                  TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                  TSP:MSG:FPAR RES (ID=0, dist=0)
                                  TSP:MSG:PAR OK (ID=0, dist=1)
                                  TSM:FPAR:OK
                                  TSM:ID
                                  TSM:CHKID:OK (ID=2)
                                  TSM:UPL
                                  TSP:PING:SEND (dest=0)
                                  TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                  TSP:CHKUPL:FAIL (hops=255)
                                  !TSM:UPL:FAIL
                                  TSM:FPAR
                                  TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSP:MSG:READ 0-0-2 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                  TSP:MSG:FPAR RES (ID=0, dist=0)
                                  TSP:MSG:PAR OK (ID=0, dist=1)
                                  TSM:FPAR:OK
                                  TSM:ID
                                  TSM:CHKID:OK (ID=2)
                                  TSM:UPL
                                  TSP:PING:SEND (dest=0)
                                  TSP:MSG:SEND 2-2-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                  TSP:CHKUPL:FAIL (hops=255)
                                  !TSM:UPL:FAIL
                                  ....

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

                                  @_Rooky_ congratulations on your first post in the forum, welcome!

                                  The gateway uses MySensors 1.4 and the node uses version 2. These versions are not compatible.

                                  You probably want to use version 2 for the gateway as well. https://www.mysensors.org/build/raspberry describes how to create a gateway for version 2 (the gateway was completely rewritten for version 2)

                                  _Rooky__ 1 Reply Last reply
                                  1
                                  • mfalkviddM mfalkvidd

                                    @_Rooky_ congratulations on your first post in the forum, welcome!

                                    The gateway uses MySensors 1.4 and the node uses version 2. These versions are not compatible.

                                    You probably want to use version 2 for the gateway as well. https://www.mysensors.org/build/raspberry describes how to create a gateway for version 2 (the gateway was completely rewritten for version 2)

                                    _Rooky__ Offline
                                    _Rooky__ Offline
                                    _Rooky_
                                    wrote on last edited by
                                    #160

                                    @mfalkvidd many thanks for the very quick and polite reply.
                                    It is working now and this solution is much better way, than using an additional ESP as gateway.
                                    Even though I got on the wrong lane, I learned more details from your excellent guide, than from the "make", "make install" from the MySensors page ... and still got a lot to learn

                                    1 Reply Last reply
                                    1
                                    • ronnyandreR Offline
                                      ronnyandreR Offline
                                      ronnyandre
                                      wrote on last edited by
                                      #161

                                      Thanks for this thorough guide, it works perfect :)

                                      Newbie with RPi and Domoticz, trying to automate my home.

                                      1 Reply Last reply
                                      0
                                      • S Scala

                                        @mfalkvidd Hi there and thanks for a great and super detailed step-by-step tutorial.

                                        I've got mine running in no time with your instructions, but after a couple of minutes I've got the following error:

                                        2015-12-30 20:51:30.356 Error: MySensors: Unhandled sensor (sub-type=32), please report with log!
                                        2015-12-30 20:52:01.390 Error: Serial Port closed!... Error: End of file
                                        2015-12-30 20:52:02.315 MySensors: retrying in 30 seconds...
                                        2015-12-30 20:52:31.319 MySensors: Using serial port: /dev/ttyUSB20
                                        2015-12-30 20:52:31.320 Error: MySensors: Error opening serial port!
                                        2015-12-30 20:52:32.321 MySensors: retrying in 30 seconds...
                                        2015-12-30 20:53:01.324 MySensors: Using serial port: /dev/ttyUSB20

                                        I also attached a partial screen capture showing that it was working before 8-)

                                        2015-12-30 21_18_13-Domoticz - Opera.png

                                        Any idea on why is this happening and how to solve it?

                                        Southern regards and happy new year to all!

                                        ronnyandreR Offline
                                        ronnyandreR Offline
                                        ronnyandre
                                        wrote on last edited by
                                        #162

                                        @Scala I have the same error as you. Worked perfectly first time, and after reboot the "/dev/ttyMySensorsGateway: No such file or directory" error message appear. Did you solve this?

                                        Newbie with RPi and Domoticz, trying to automate my home.

                                        1 Reply Last reply
                                        0
                                        • MrRikkieM MrRikkie

                                          Hello, If followed the instruction and everything seemed to work without any problem.
                                          However when I enter the command : sudo cat /dev/ttyMySensorsGateway
                                          I get the message : cat: /dev/ttyMySensorsGateway: No such file or directory
                                          Does anybody have any idea how to solve this ?

                                          ronnyandreR Offline
                                          ronnyandreR Offline
                                          ronnyandre
                                          wrote on last edited by
                                          #163

                                          @MrRikkie Did you solve this issue? I got the same error as you..

                                          Newbie with RPi and Domoticz, trying to automate my home.

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


                                          12

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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