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.
  • M Offline
    M Offline
    MikeF
    wrote on last edited by
    #23

    That's the code change I made (makes the 'if' redundant).

    I've also changed the tty name (to /dev/ttyUSB40 - which is what I've declared to Domoticz) in this file and in Makefile.

    BTW: Very impressed with OSH Park - got the PCBs here in UK (from US) 13 days after ordering!

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

      This was the fourth board I ordered from OSHPark. For boards with ENIG finish, they are cheap. And the quality is indeed excellent. I have ordered a fifth design from them (should be ready end next week) and at the same time I sent my files to DirtyPCB. We will see what that gives quality wise. On this forum someone mentioned Shenzen2u and they are eaven cheaper then DirtyPCB. So my next design will also be ordered from those guys.
      Now it's time to enjoy a local brew :-)

      1 Reply Last reply
      0
      • TD22057T Offline
        TD22057T Offline
        TD22057
        Hardware Contributor
        wrote on last edited by
        #25

        @GertSanders Check out http://pcbshopper.com/, there are places slightly cheaper than DirtyPCB and places that will do runs of 5 boards instead of 10 for the same price per board. http://www.elecrow.com/ looks really good (5 boards for $15 delivered) but I haven't ordered from them yet so I can't comment on quality (other reviews of them say it's fine though).

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

          I would rather pay 8.90 USD for 10 boards, then 15 USD for 5 boards delivered. http://www.shenzhen2u.com does the thing for me.

          1 Reply Last reply
          0
          • Sander StolkS Offline
            Sander StolkS Offline
            Sander Stolk
            wrote on last edited by
            #27

            @GertSanders Did you have a shopping part list available? I've ordered your board at OSHPark and I've got the Caps in stock but not the blue thingy and the dupont blocks.
            Could you put me in the right directorion where to shop those two parts?

            1 Reply Last reply
            0
            • Sander StolkS Offline
              Sander StolkS Offline
              Sander Stolk
              wrote on last edited by
              #28

              Nevermind the dupont blocks. I've found those!

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

                @Sander-Stolk The blue thingy is a ceramic 100nF capacitor, the two others are electrolytic capacitors of 100uF and 10uF respectively.

                1 Reply Last reply
                0
                • Sander StolkS Offline
                  Sander StolkS Offline
                  Sander Stolk
                  wrote on last edited by
                  #30

                  Thanks alot!

                  1 Reply Last reply
                  0
                  • 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
                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular