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. My Project
  3. Irrigation Controller (up to 16 valves with Shift Registers)

Irrigation Controller (up to 16 valves with Shift Registers)

Scheduled Pinned Locked Moved My Project
371 Posts 56 Posters 248.8k Views 52 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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by
    #325

    @tombstone

    It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

    Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

    Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

    tombstoneT G 2 Replies Last reply
    0
    • tbowmoT tbowmo

      @tombstone

      It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

      Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

      Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

      tombstoneT Offline
      tombstoneT Offline
      tombstone
      wrote on last edited by tombstone
      #326

      @tbowmo
      can you tell me if I got this wrong

      The "brain" is my pro min
      "The radio" is nRF24
      the brain (promiin) get and sends info to the (Radio)
      the controller (my PC that is running Domoticz)" gets and send info to the radio.
      That's how I get it after reading :-(

      1 Reply Last reply
      0
      • tbowmoT Offline
        tbowmoT Offline
        tbowmo
        Admin
        wrote on last edited by
        #327

        But how are the radio connected to your pc then? :) that needs an arduino as well.

        To have a functional mysensors network, you usually have 2 (or more) arduino compatible boards. One of thar m running SerialGateway (or another suitable sketch) with NRF24 connected. This connect to the computer running domoticz

        Then you have all the sensor nodes, they are also running on arduino compatible hardware (but separate to the gateway hardware), also with radio connected. THIS is running your sensor sketches, and communicates with the gateway arduino via the NRF24 radios.

        When the gateway receives messages on the NRF24, it sends these via UART to the computer at which you are running domoticz (or any other suitable controller software).

        1 Reply Last reply
        0
        • tbowmoT tbowmo

          @gohan

          Only if he won't use auto id assignment from domoticz.

          gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #328

          @tbowmo according to the log nothing is assigning any ID :D

          mfalkviddM 1 Reply Last reply
          0
          • gohanG gohan

            @tbowmo according to the log nothing is assigning any ID :D

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

            @gohan where do you see that? I can't see anything in the log about id assignment.

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #330

              255-255-255-255 isn't it sent when asking for ID?

              mfalkviddM 1 Reply Last reply
              0
              • gohanG gohan

                255-255-255-255 isn't it sent when asking for ID?

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

                @gohan yes, but also when asking for parent (as indicated by TSM:FPAR). Id-related messages are indicated by TSM:ID.

                1 Reply Last reply
                1
                • tombstoneT Offline
                  tombstoneT Offline
                  tombstone
                  wrote on last edited by
                  #332

                  I feel so stupid thought the first video that Pete made serial gateway was just the wiring your your radio up for the irrigation. 😥

                  1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @tombstone

                    It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

                    Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

                    Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

                    G Offline
                    G Offline
                    Grubstake
                    wrote on last edited by
                    #333

                    @tbowmo said in Irrigation Controller (up to 16 valves with Shift Registers):

                    It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

                    Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

                    Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

                    Hi Thomas,

                    You have hit on a point that I see over and over here, and that I shared with @tombstone for a long time before I was able to get a successful MySensors node working. (And I've worked with electronics and tech much of my life.)

                    Understanding the key components and how they fit together is essential for newcomers to MySensors, and is not very complex, but the information is widely scattered and completely missing from the the top level of the website. This discourages newcomers and creates endless questions on the forums as it is quite difficult to get anything working without many hours of reading and experimenting.

                    There is no obvious place on the website that explains the big picture as well as your last message! Newcomers to MySensors do not benefit from a clear simple picture of sensor nodes, gateways, and controllers and how they fit together.

                    • The Getting Started page does not mention controllers at all. And it's NOT as easy as 1, 2, 3!
                    • The Controller page does not describe the basic purpose of a controller, or how it connects to gateways and nodes. It's a useful advanced comparison of controller details, not beginner content.
                    • The Build page mentions some of the key components but again not how they fit together. (Nor is it about 'building'.)
                    • The Hardware doesn't really talk about the hardware.

                    (I'm sure there is much of this elsewhere on the website, but its not easy to find from the obvious links.)

                    It would be hugely helpful if Getting Started was an actual detailed overview of MySensors diagramming examples of complete end-to-end systems.

                    • sensor->arduino+radio node---->arduino+radio gateway->controller (Domoticz etc).
                    • sensor->gateware/node software->ESP8266 wifi->controller (no 'radio')
                    • etc.

                    Gateways are difficult to understand at the beginning as there are so many different ones and the Gateway names don't help...some are named by a single transport protocol (i.e. MQTT) some for an interface (Serial) some for a hardware platform (ESP8266), etc. I'm sure this seems obvious to lifelong engineers/developers but not so much for regular hobby geeks like many hobbyists.

                    I'm impressed with the work that has gone into MySensors and am grateful for all the hard work by the many developers and users who have contributed to it. I don't mean my comments to be a complaint. Presenting technical systems to often less technical newcomer/users is a challenging area. Improving the first impression of the big picture to newcomers would be a huge move forward.

                    Tim

                    tombstoneT gohanG 3 Replies Last reply
                    1
                    • G Grubstake

                      @tbowmo said in Irrigation Controller (up to 16 valves with Shift Registers):

                      It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

                      Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

                      Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

                      Hi Thomas,

                      You have hit on a point that I see over and over here, and that I shared with @tombstone for a long time before I was able to get a successful MySensors node working. (And I've worked with electronics and tech much of my life.)

                      Understanding the key components and how they fit together is essential for newcomers to MySensors, and is not very complex, but the information is widely scattered and completely missing from the the top level of the website. This discourages newcomers and creates endless questions on the forums as it is quite difficult to get anything working without many hours of reading and experimenting.

                      There is no obvious place on the website that explains the big picture as well as your last message! Newcomers to MySensors do not benefit from a clear simple picture of sensor nodes, gateways, and controllers and how they fit together.

                      • The Getting Started page does not mention controllers at all. And it's NOT as easy as 1, 2, 3!
                      • The Controller page does not describe the basic purpose of a controller, or how it connects to gateways and nodes. It's a useful advanced comparison of controller details, not beginner content.
                      • The Build page mentions some of the key components but again not how they fit together. (Nor is it about 'building'.)
                      • The Hardware doesn't really talk about the hardware.

                      (I'm sure there is much of this elsewhere on the website, but its not easy to find from the obvious links.)

                      It would be hugely helpful if Getting Started was an actual detailed overview of MySensors diagramming examples of complete end-to-end systems.

                      • sensor->arduino+radio node---->arduino+radio gateway->controller (Domoticz etc).
                      • sensor->gateware/node software->ESP8266 wifi->controller (no 'radio')
                      • etc.

                      Gateways are difficult to understand at the beginning as there are so many different ones and the Gateway names don't help...some are named by a single transport protocol (i.e. MQTT) some for an interface (Serial) some for a hardware platform (ESP8266), etc. I'm sure this seems obvious to lifelong engineers/developers but not so much for regular hobby geeks like many hobbyists.

                      I'm impressed with the work that has gone into MySensors and am grateful for all the hard work by the many developers and users who have contributed to it. I don't mean my comments to be a complaint. Presenting technical systems to often less technical newcomer/users is a challenging area. Improving the first impression of the big picture to newcomers would be a huge move forward.

                      Tim

                      tombstoneT Offline
                      tombstoneT Offline
                      tombstone
                      wrote on last edited by
                      #334

                      @Grubstake
                      I was think of writing a post or making a video (like Pete) for the beginner's. Just an add-on of his work. Not saying his video are not good just saying I like to make more.... Aftrr I know how everything works. Not off on a good start but I get there.

                      1 Reply Last reply
                      0
                      • G Grubstake

                        @tbowmo said in Irrigation Controller (up to 16 valves with Shift Registers):

                        It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

                        Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

                        Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

                        Hi Thomas,

                        You have hit on a point that I see over and over here, and that I shared with @tombstone for a long time before I was able to get a successful MySensors node working. (And I've worked with electronics and tech much of my life.)

                        Understanding the key components and how they fit together is essential for newcomers to MySensors, and is not very complex, but the information is widely scattered and completely missing from the the top level of the website. This discourages newcomers and creates endless questions on the forums as it is quite difficult to get anything working without many hours of reading and experimenting.

                        There is no obvious place on the website that explains the big picture as well as your last message! Newcomers to MySensors do not benefit from a clear simple picture of sensor nodes, gateways, and controllers and how they fit together.

                        • The Getting Started page does not mention controllers at all. And it's NOT as easy as 1, 2, 3!
                        • The Controller page does not describe the basic purpose of a controller, or how it connects to gateways and nodes. It's a useful advanced comparison of controller details, not beginner content.
                        • The Build page mentions some of the key components but again not how they fit together. (Nor is it about 'building'.)
                        • The Hardware doesn't really talk about the hardware.

                        (I'm sure there is much of this elsewhere on the website, but its not easy to find from the obvious links.)

                        It would be hugely helpful if Getting Started was an actual detailed overview of MySensors diagramming examples of complete end-to-end systems.

                        • sensor->arduino+radio node---->arduino+radio gateway->controller (Domoticz etc).
                        • sensor->gateware/node software->ESP8266 wifi->controller (no 'radio')
                        • etc.

                        Gateways are difficult to understand at the beginning as there are so many different ones and the Gateway names don't help...some are named by a single transport protocol (i.e. MQTT) some for an interface (Serial) some for a hardware platform (ESP8266), etc. I'm sure this seems obvious to lifelong engineers/developers but not so much for regular hobby geeks like many hobbyists.

                        I'm impressed with the work that has gone into MySensors and am grateful for all the hard work by the many developers and users who have contributed to it. I don't mean my comments to be a complaint. Presenting technical systems to often less technical newcomer/users is a challenging area. Improving the first impression of the big picture to newcomers would be a huge move forward.

                        Tim

                        gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #335

                        @Grubstake I think you missed the page https://www.mysensors.org/about/network
                        IMHO mysensors made it "easy" to create a sensors network but it can't teach you the basics of arduino programming, I have already told many newbies that first they need to learn with the tutorials and simple exercises otherwise they would have no idea where to look for problems that they will face. Learning how to debug it's as hard as learning to program and in a complex environment like a sensors network it is very easy to get lost.

                        1 Reply Last reply
                        0
                        • G Grubstake

                          @tbowmo said in Irrigation Controller (up to 16 valves with Shift Registers):

                          It seems that you have not read up on how mysensors works.. The purpose of mysensors is to create wireless sensors. To do this, we normally have a gateway connected to a computer running some kind of controller software.

                          Then we have sensor nodes that transmit (wireless) sensor data to the gateway which sends this to the controller software.

                          Again, please read up on how mysensors are designed, find more here https://www.mysensors.org/about

                          Hi Thomas,

                          You have hit on a point that I see over and over here, and that I shared with @tombstone for a long time before I was able to get a successful MySensors node working. (And I've worked with electronics and tech much of my life.)

                          Understanding the key components and how they fit together is essential for newcomers to MySensors, and is not very complex, but the information is widely scattered and completely missing from the the top level of the website. This discourages newcomers and creates endless questions on the forums as it is quite difficult to get anything working without many hours of reading and experimenting.

                          There is no obvious place on the website that explains the big picture as well as your last message! Newcomers to MySensors do not benefit from a clear simple picture of sensor nodes, gateways, and controllers and how they fit together.

                          • The Getting Started page does not mention controllers at all. And it's NOT as easy as 1, 2, 3!
                          • The Controller page does not describe the basic purpose of a controller, or how it connects to gateways and nodes. It's a useful advanced comparison of controller details, not beginner content.
                          • The Build page mentions some of the key components but again not how they fit together. (Nor is it about 'building'.)
                          • The Hardware doesn't really talk about the hardware.

                          (I'm sure there is much of this elsewhere on the website, but its not easy to find from the obvious links.)

                          It would be hugely helpful if Getting Started was an actual detailed overview of MySensors diagramming examples of complete end-to-end systems.

                          • sensor->arduino+radio node---->arduino+radio gateway->controller (Domoticz etc).
                          • sensor->gateware/node software->ESP8266 wifi->controller (no 'radio')
                          • etc.

                          Gateways are difficult to understand at the beginning as there are so many different ones and the Gateway names don't help...some are named by a single transport protocol (i.e. MQTT) some for an interface (Serial) some for a hardware platform (ESP8266), etc. I'm sure this seems obvious to lifelong engineers/developers but not so much for regular hobby geeks like many hobbyists.

                          I'm impressed with the work that has gone into MySensors and am grateful for all the hard work by the many developers and users who have contributed to it. I don't mean my comments to be a complaint. Presenting technical systems to often less technical newcomer/users is a challenging area. Improving the first impression of the big picture to newcomers would be a huge move forward.

                          Tim

                          tombstoneT Offline
                          tombstoneT Offline
                          tombstone
                          wrote on last edited by
                          #336

                          @Grubstake still may have a pont if there's been overs. Not saying we right or your right. But learning is a difficult thing. So is teaching. That's good that we have lots of open source site and when we get stuck members step ins and give a hand.

                          1 Reply Last reply
                          0
                          • tombstoneT Offline
                            tombstoneT Offline
                            tombstone
                            wrote on last edited by
                            #337

                            Thanks guys now I understand, felling stupid but it was like a mind blank as was thinking it worked another way.

                            Can some one point me to the a link (error sending switch command check device/hardware) this comes up when turning on lights on the irrigation controller.

                            I find this but it didn't makes sense. https://forum.mysensors.org/topic/2553/error-sending-switch-command-check-device-hardware

                            1 Reply Last reply
                            0
                            • Sergio RiusS Offline
                              Sergio RiusS Offline
                              Sergio Rius
                              wrote on last edited by Sergio Rius
                              #338

                              @tbowmo If I can give an opinion, if we want to reach the newcomers, we must start to think on a integrated solution for burning mcus without programming knowledge. I'm also a software architect and my father caught me on electronics, but this is a public project and will also reach people without knowledge.
                              NodeManager is a great jump on that direction and now we miss a small utility for computers.
                              And signing+encryption is a problem here.

                              AnticimexA 1 Reply Last reply
                              0
                              • Sergio RiusS Sergio Rius

                                @tbowmo If I can give an opinion, if we want to reach the newcomers, we must start to think on a integrated solution for burning mcus without programming knowledge. I'm also a software architect and my father caught me on electronics, but this is a public project and will also reach people without knowledge.
                                NodeManager is a great jump on that direction and now we miss a small utility for computers.
                                And signing+encryption is a problem here.

                                AnticimexA Offline
                                AnticimexA Offline
                                Anticimex
                                Contest Winner
                                wrote on last edited by
                                #339

                                @Sergio-Rius why is signing and encryption a problem? We have a simplified option that enables both using a single define. It can't be made simpler than that without making it enabled by default and then with a common PSK which is pointless. Although still only available in beta it will soon be released.
                                If you find that too complex, I am all ears for improvement suggestions.

                                Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                Sergio RiusS 1 Reply Last reply
                                0
                                • AnticimexA Anticimex

                                  @Sergio-Rius why is signing and encryption a problem? We have a simplified option that enables both using a single define. It can't be made simpler than that without making it enabled by default and then with a common PSK which is pointless. Although still only available in beta it will soon be released.
                                  If you find that too complex, I am all ears for improvement suggestions.

                                  Sergio RiusS Offline
                                  Sergio RiusS Offline
                                  Sergio Rius
                                  wrote on last edited by Sergio Rius
                                  #340

                                  @Anticimex Sorry, but I don't follow the development code on a day basis, I was not aware of this feature.
                                  Anyways, a common psk will be like grease. Any psk would be better than no-one. :)

                                  Let me explain: I was thinking on a small Pc program that you can select options (NodeManager) and then burn the chip by a click of a button. But also crossed my mind the possibility that a user, with a running secure network, wanted to get a sensebender gateway already programmed. It would be no use.

                                  I was thinking on a way of "programming the crypto chip" separately from the cpu program. I don't know if it clearer now or I made it worse.

                                  gohanG AnticimexA 3 Replies Last reply
                                  0
                                  • Sergio RiusS Sergio Rius

                                    @Anticimex Sorry, but I don't follow the development code on a day basis, I was not aware of this feature.
                                    Anyways, a common psk will be like grease. Any psk would be better than no-one. :)

                                    Let me explain: I was thinking on a small Pc program that you can select options (NodeManager) and then burn the chip by a click of a button. But also crossed my mind the possibility that a user, with a running secure network, wanted to get a sensebender gateway already programmed. It would be no use.

                                    I was thinking on a way of "programming the crypto chip" separately from the cpu program. I don't know if it clearer now or I made it worse.

                                    gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #341

                                    @Sergio-Rius there is also a project to integrate NodeManager with a web page to really mask all the code behind to the user.

                                    1 Reply Last reply
                                    0
                                    • Sergio RiusS Sergio Rius

                                      @Anticimex Sorry, but I don't follow the development code on a day basis, I was not aware of this feature.
                                      Anyways, a common psk will be like grease. Any psk would be better than no-one. :)

                                      Let me explain: I was thinking on a small Pc program that you can select options (NodeManager) and then burn the chip by a click of a button. But also crossed my mind the possibility that a user, with a running secure network, wanted to get a sensebender gateway already programmed. It would be no use.

                                      I was thinking on a way of "programming the crypto chip" separately from the cpu program. I don't know if it clearer now or I made it worse.

                                      AnticimexA Offline
                                      AnticimexA Offline
                                      Anticimex
                                      Contest Winner
                                      wrote on last edited by
                                      #342

                                      @Sergio-Rius I am still a bit confused.
                                      A default PSK would be the same for everyone so how is that better than no one?
                                      Also, nrf24 radios have problem with full size payloads so enabling signing by default would give some users radio problems by default as well. It is not a problem with signing, it is a problem with the radio.

                                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                      1 Reply Last reply
                                      0
                                      • Sergio RiusS Sergio Rius

                                        @Anticimex Sorry, but I don't follow the development code on a day basis, I was not aware of this feature.
                                        Anyways, a common psk will be like grease. Any psk would be better than no-one. :)

                                        Let me explain: I was thinking on a small Pc program that you can select options (NodeManager) and then burn the chip by a click of a button. But also crossed my mind the possibility that a user, with a running secure network, wanted to get a sensebender gateway already programmed. It would be no use.

                                        I was thinking on a way of "programming the crypto chip" separately from the cpu program. I don't know if it clearer now or I made it worse.

                                        AnticimexA Offline
                                        AnticimexA Offline
                                        Anticimex
                                        Contest Winner
                                        wrote on last edited by Anticimex
                                        #343

                                        @Sergio-Rius the crypto chip (I prefer the term authentication chip as it does not do cryptography) is connected to the MCU so you need a program on the MCU to program the chip in one way or another. Lest you program the chip before soldering it to the board. And I think the personalization procedure (improved in beta) is documented and simplified enough so that having a separate pc program and do off board programming of the chip would be a far more complicated procedure for "non programmers".

                                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                        gohanG 1 Reply Last reply
                                        0
                                        • AnticimexA Anticimex

                                          @Sergio-Rius the crypto chip (I prefer the term authentication chip as it does not do cryptography) is connected to the MCU so you need a program on the MCU to program the chip in one way or another. Lest you program the chip before soldering it to the board. And I think the personalization procedure (improved in beta) is documented and simplified enough so that having a separate pc program and do off board programming of the chip would be a far more complicated procedure for "non programmers".

                                          gohanG Offline
                                          gohanG Offline
                                          gohan
                                          Mod
                                          wrote on last edited by
                                          #344

                                          @Anticimex I'd add that encryption and signing are more advanced features and should be dealt once newbies get used to the mysensors framework and after they get used to how to debug, otherwise it would also add too much complexity

                                          AnticimexA tombstoneT 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          25

                                          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