Skip to content
  • 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. My Project
  3. Domoticz as controller **and** a gateway for MySensor nodes running on a Raspberry Pi 2
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Domoticz as controller **and** a gateway for MySensor nodes running on a Raspberry Pi 2

Scheduled Pinned Locked Moved My Project
47 Posts 14 Posters 27.3k Views 16 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.
  • rmtuckerR Offline
    rmtuckerR Offline
    rmtucker
    wrote on last edited by rmtucker
    #31

    Anyone got a spare pcb i can purchase in the UK ?
    Seems a waste ordering a batch.
    An SD image would be good too??

    C 1 Reply Last reply
    0
    • Fat FlyF Offline
      Fat FlyF Offline
      Fat Fly
      wrote on last edited by
      #32

      What i select from drop down menu? Mysensors gateway USB ?

      GertSandersG 1 Reply Last reply
      0
      • Fat FlyF Fat Fly

        What i select from drop down menu? Mysensors gateway USB ?

        GertSandersG Offline
        GertSandersG Offline
        GertSanders
        Hardware Contributor
        wrote on last edited by
        #33

        @Fat-Fly said:

        What i select from drop down menu? Mysensors gateway USB ?

        yes, follow these instructions:

        http://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway

        1 Reply Last reply
        1
        • Tore André RosanderT Offline
          Tore André RosanderT Offline
          Tore André Rosander
          wrote on last edited by
          #34

          Is there any pros/cons for using the nrf directly on the RPi instead of a NodeMCU?

          Right now i use NodeMCU (esp) with nrf radio as gateway, but i want to reduce the nuber of units around my house so connecting directly to the RPi would be better as long as there is no negative sides to it.

          GertSandersG 1 Reply Last reply
          0
          • Tore André RosanderT Tore André Rosander

            Is there any pros/cons for using the nrf directly on the RPi instead of a NodeMCU?

            Right now i use NodeMCU (esp) with nrf radio as gateway, but i want to reduce the nuber of units around my house so connecting directly to the RPi would be better as long as there is no negative sides to it.

            GertSandersG Offline
            GertSandersG Offline
            GertSanders
            Hardware Contributor
            wrote on last edited by
            #35

            @Tore-André-Rosander

            For me there are no downsides. I use the raspberry as both gateway (with the NRF mounted) and as Domoticz controller. It is part of my home network and I can reach my Domoticz from the internet. So far I have 13 sensor nodes running and communicating with the raspberry.

            1 Reply Last reply
            0
            • rmtuckerR rmtucker

              Anyone got a spare pcb i can purchase in the UK ?
              Seems a waste ordering a batch.
              An SD image would be good too??

              C Offline
              C Offline
              chickey
              wrote on last edited by
              #36

              @rmtucker I was thinking the same, don't need a whole batch. Anyone got a spare board, happy to pop some cash your way via a paypal gift.

              1 Reply Last reply
              0
              • GertSandersG Offline
                GertSandersG Offline
                GertSanders
                Hardware Contributor
                wrote on last edited by
                #37

                I distributed my two other boards to friends locally. If you make the boards at OSH Park you get three boards (for a cost of 2.20 USD - shipping included).

                https://oshpark.com/shared_projects/aXLXBO3f

                C 1 Reply Last reply
                1
                • DwaltD Offline
                  DwaltD Offline
                  Dwalt
                  wrote on last edited by Dwalt
                  #38

                  I have the two spares from my order. If anyone wants one, send me a private chat message with your postal address. I am in the US, so it could take a few extra days to arrive if you are unfortunate enough to live on the wrong side of the pond.

                  Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                  1 Reply Last reply
                  0
                  • GertSandersG GertSanders

                    I distributed my two other boards to friends locally. If you make the boards at OSH Park you get three boards (for a cost of 2.20 USD - shipping included).

                    https://oshpark.com/shared_projects/aXLXBO3f

                    C Offline
                    C Offline
                    chickey
                    wrote on last edited by
                    #39

                    @GertSanders Thanks for the heads up. I'd incorrectly assumed that it was going to be something like $10 plus shipping. At $2.20 it's nothing so ordered a few just for testing. Got carried away though and ordered a few 8266 breakout boards too :-)

                    Col

                    1 Reply Last reply
                    0
                    • SeanMarshS Offline
                      SeanMarshS Offline
                      SeanMarsh
                      wrote on last edited by
                      #40

                      I"m troubled. I know this will make me sound like a total newbie, but that's ok. From someone that is new to the form, it seems like you magically made the NRF work while it is physically attached to the RPi. I'm not finding any directions on how you made it work. I did find an old link that said that the directions on there will only work with 1.5X or below. Please show me the light.

                      1 Reply Last reply
                      1
                      • Fat FlyF Offline
                        Fat FlyF Offline
                        Fat Fly
                        wrote on last edited by
                        #41

                        Yes. I read too. NRF working directly with mysenosrs 1.5x. 2.0 not supported today.

                        1 Reply Last reply
                        0
                        • Iraklis KourtisI Offline
                          Iraklis KourtisI Offline
                          Iraklis Kourtis
                          wrote on last edited by
                          #42

                          Hi Gert,

                          Nice project! I am new to MySensors and Domoticz. Could you please briefly explain how to add the device to Domoticz. I have successfully done the steps from mfalkvidd's guide, but I am not sure how proceed in Domoticz. Any advise would be appreciated..
                          Best ,
                          IK<

                          1 Reply Last reply
                          0
                          • Fat FlyF Offline
                            Fat FlyF Offline
                            Fat Fly
                            wrote on last edited by
                            #43

                            If you sensors working ok than you need to go domoticz hardware-> devices. Marked with green arrow is new node. You need to press to green arrow and....... you see what you want.
                            Sorry my english. Maybe you understand. :)

                            1 Reply Last reply
                            1
                            • Iraklis KourtisI Offline
                              Iraklis KourtisI Offline
                              Iraklis Kourtis
                              wrote on last edited by Iraklis Kourtis
                              #44

                              Hi Fat Fly,

                              Thank you for your response. Unfortunately, I don't see a green arrow in hardware -> devices. My issue is that I don't understand how to add properly the Gateway. Should I add itas "MySensors Gateway USB"? Screen Shot 2016-09-18 at 19.43.51.png
                              PS: your english are perfect :thumbsup:

                              1 Reply Last reply
                              0
                              • bjacobseB Offline
                                bjacobseB Offline
                                bjacobse
                                wrote on last edited by bjacobse
                                #45

                                I would in Domoticz use MySensors Gateway USB and point to /dev/ttyMySensorsGateway
                                did you read the last part of the guide? where Mrfalkvidd specifically added a note for Domoticz , the below is taken from the link you are referring to:

                                "Enable the gateway for use with Domoticz
                                Domoticz (and maybe other home automation systems) has trouble reading from the default path created by PiGatewaySerial. You might need to run the following command:

                                sudo ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20

                                And change /etc/rc.local from this

                                exit 0

                                to this:
                                ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20
                                exit 0
                                "

                                If this still isn't working for you, then make the standard serial gateway, with Arduino nano+NRF24L01+ (And capacitor on Vcc/GND as close to NRF module as possible) - this is for sure working :-)

                                1 Reply Last reply
                                1
                                • Iraklis KourtisI Offline
                                  Iraklis KourtisI Offline
                                  Iraklis Kourtis
                                  wrote on last edited by
                                  #46

                                  Thank you bjacobse!

                                  It now works like a charm..

                                  Best,
                                  IK<

                                  bjacobseB 1 Reply Last reply
                                  0
                                  • Iraklis KourtisI Iraklis Kourtis

                                    Thank you bjacobse!

                                    It now works like a charm..

                                    Best,
                                    IK<

                                    bjacobseB Offline
                                    bjacobseB Offline
                                    bjacobse
                                    wrote on last edited by
                                    #47

                                    @Iraklis-Kourtis
                                    Glad that you good it working :-) and also replied that it's working for you :-)

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


                                    17

                                    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
                                    • OpenHardware.io
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular