Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Domoticz
  4. domoticz auto add device (mysensors) even if disable "Accept new Hardware Devices"

domoticz auto add device (mysensors) even if disable "Accept new Hardware Devices"

Scheduled Pinned Locked Moved Domoticz
65 Posts 10 Posters 18.8k Views 6 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.
  • R Reza

    @Anticimex said:

    Or you get the Domoticz people to fix their shit.

    but they told me this problem is related to mysensors gateway ! :|
    one more question. can i use static id between my device and gateway? and i disable feature inclusion mode ? so my gateway dont auto add other devices...

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

    @Reza So convenient for them. But we at MySensors cannot change how domoticz works so I if they don't want to fix it, well, that is just too bad.

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

    R 1 Reply Last reply
    0
    • AnticimexA Anticimex

      @Reza So convenient for them. But we at MySensors cannot change how domoticz works so I if they don't want to fix it, well, that is just too bad.

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

      @Anticimex
      yes , also i explain to them that this problem is related to domoticz because mysensors gateway is working well with vera controller and there is a inclusion button in vera dashboard , but in domoticz...

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

        Another solution, could be to change the default rf channel, and have the two houses on different frequencies.

        R 1 Reply Last reply
        1
        • tbowmoT tbowmo

          Another solution, could be to change the default rf channel, and have the two houses on different frequencies.

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

          @tbowmo

          this is good . how do this ?

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

            Look in myconfig.h, if I remember right.. There should be some hints

            R 1 Reply Last reply
            0
            • R Reza

              @tbowmo

              this is good . how do this ?

              tekkaT Offline
              tekkaT Offline
              tekka
              Admin
              wrote on last edited by
              #38

              @Reza The community cannot focus all energy on supporting your case. Many if not all of your questions are answered in the howtos & forum - why don't you take advantage of the search function, enter "rf channel" and read some of the posts?

              R 1 Reply Last reply
              2
              • tbowmoT tbowmo

                Look in myconfig.h, if I remember right.. There should be some hints

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

                @tbowmo said:

                Look in myconfig.h, if I remember right.. There should be some hints

                thank you

                1 Reply Last reply
                0
                • tekkaT tekka

                  @Reza The community cannot focus all energy on supporting your case. Many if not all of your questions are answered in the howtos & forum - why don't you take advantage of the search function, enter "rf channel" and read some of the posts?

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

                  @tekka
                  this is a general issue . not just my problem ! if this issue resolved so can help to many people in future ! the reason of that i question this issue in this forum is after resolved , can help to many. so if you sad from this , ok i will silence in this forum.
                  thank you

                  1 Reply Last reply
                  0
                  • scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by scalz
                    #41

                    @Reza
                    sad from this, is not needed :)
                    the thing is : this is not a big bug!! generally the big bug is elsewhere ;) Here you have two issues.

                    You are using radios which are on the same frequency. Not a bug. That makes sense that a fresh node for your network can talk with others. If you don't want them on same freq, just change the freq/band using the right define (i don't remember).

                    It also has been suggested encryption or signing. And that can help you too. Encryption can't help you for this. It just hides crypt the text if you want. It does not authenticate anything. Signing is authentication. But you would need this for all your nodes.

                    Finally, the inclusion mode. That's mostly the feature you need, because it could help you to block new nodes. I think this is a feature that the controller has to implement. I don't use inclusion mode in mysensors (not tried yet),
                    but in the controller I'm using (jeedom), it works well. There is one inclusion button (I don't advice you to use jeedom, it's french! and not 2.0 full compliant). As you can see this is possible to have a working inclusion button in controller :)

                    On my side, I actually miss time to do tests or doc on this...but i'm pretty sure all is in main doc, or with the right keyword in the forum...i understand this is not an "out of the box" solution, but temporarily, and maybe with luck and spare time there might be a dedicated doc for inclusion even if it's quite simple..

                    N R 2 Replies Last reply
                    0
                    • scalzS scalz

                      @Reza
                      sad from this, is not needed :)
                      the thing is : this is not a big bug!! generally the big bug is elsewhere ;) Here you have two issues.

                      You are using radios which are on the same frequency. Not a bug. That makes sense that a fresh node for your network can talk with others. If you don't want them on same freq, just change the freq/band using the right define (i don't remember).

                      It also has been suggested encryption or signing. And that can help you too. Encryption can't help you for this. It just hides crypt the text if you want. It does not authenticate anything. Signing is authentication. But you would need this for all your nodes.

                      Finally, the inclusion mode. That's mostly the feature you need, because it could help you to block new nodes. I think this is a feature that the controller has to implement. I don't use inclusion mode in mysensors (not tried yet),
                      but in the controller I'm using (jeedom), it works well. There is one inclusion button (I don't advice you to use jeedom, it's french! and not 2.0 full compliant). As you can see this is possible to have a working inclusion button in controller :)

                      On my side, I actually miss time to do tests or doc on this...but i'm pretty sure all is in main doc, or with the right keyword in the forum...i understand this is not an "out of the box" solution, but temporarily, and maybe with luck and spare time there might be a dedicated doc for inclusion even if it's quite simple..

                      N Offline
                      N Offline
                      Nicklas Starkel
                      wrote on last edited by
                      #42

                      @scalz said:

                      @Reza
                      Finally, the inclusion mode. That's mostly the feature you need, because it could help you to block new nodes. I think this is a feature that the controller has to implement. I don't use inclusion mode in mysensors (not tried yet),
                      but in the controller I'm using (jeedom), it works well. There is one inclusion button (I don't advice you to use jeedom, it's french! and not 2.0 full compliant). As you can see this is possible to have a working inclusion button in controller :)

                      You have to use whitelisting to block nodes. 'Signing' in GateWay does not work as it accepts non signed nodes. Signing primarily is used for nodes receiving info.

                      R 1 Reply Last reply
                      0
                      • scalzS scalz

                        @Reza
                        sad from this, is not needed :)
                        the thing is : this is not a big bug!! generally the big bug is elsewhere ;) Here you have two issues.

                        You are using radios which are on the same frequency. Not a bug. That makes sense that a fresh node for your network can talk with others. If you don't want them on same freq, just change the freq/band using the right define (i don't remember).

                        It also has been suggested encryption or signing. And that can help you too. Encryption can't help you for this. It just hides crypt the text if you want. It does not authenticate anything. Signing is authentication. But you would need this for all your nodes.

                        Finally, the inclusion mode. That's mostly the feature you need, because it could help you to block new nodes. I think this is a feature that the controller has to implement. I don't use inclusion mode in mysensors (not tried yet),
                        but in the controller I'm using (jeedom), it works well. There is one inclusion button (I don't advice you to use jeedom, it's french! and not 2.0 full compliant). As you can see this is possible to have a working inclusion button in controller :)

                        On my side, I actually miss time to do tests or doc on this...but i'm pretty sure all is in main doc, or with the right keyword in the forum...i understand this is not an "out of the box" solution, but temporarily, and maybe with luck and spare time there might be a dedicated doc for inclusion even if it's quite simple..

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

                        @scalz
                        thank you my friend

                        1 Reply Last reply
                        0
                        • N Nicklas Starkel

                          @scalz said:

                          @Reza
                          Finally, the inclusion mode. That's mostly the feature you need, because it could help you to block new nodes. I think this is a feature that the controller has to implement. I don't use inclusion mode in mysensors (not tried yet),
                          but in the controller I'm using (jeedom), it works well. There is one inclusion button (I don't advice you to use jeedom, it's french! and not 2.0 full compliant). As you can see this is possible to have a working inclusion button in controller :)

                          You have to use whitelisting to block nodes. 'Signing' in GateWay does not work as it accepts non signed nodes. Signing primarily is used for nodes receiving info.

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

                          @Nicklas-Starkel
                          are you sure about whitelisting? this problem resolved with whitelisting???

                          N 1 Reply Last reply
                          0
                          • R Reza

                            @Nicklas-Starkel
                            are you sure about whitelisting? this problem resolved with whitelisting???

                            N Offline
                            N Offline
                            Nicklas Starkel
                            wrote on last edited by
                            #45

                            @Reza
                            From what I understand the GateWay will add all nodes even if you do not want them to. But not to the controller if you have "inclusion option" on the GateWay.
                            There is a possibility that if you use the "inclusion option" maybe it will pick up all sensors not already added (ie your neighbour) if they are sending while inclusion is looking for new sensors.
                            If you want to stop this you will have to use whitelisting on MAC adress. But this requires you to reprogram GateWay everytime you want to add new sensor (or maybe it is possibility to have same MAC for all?).
                            And of course you will have to program a MAC adress for all sensors/per sensor the first time as well.
                            I thought this problem would be solved with only using Signing, but because of backwards compability the creators did not enable this in the GateWay.
                            If you only would want signing, you could make all nodes connect via a repeater node.
                            Because between repeater nodes and regular nodes signing is enabled and no other nodes is accepted which aren't signed with correct signing :)
                            And if you use Whitelisting only between GateWay and repeater node, you are set.

                            Note: I could be wrong ;)

                            AnticimexA 1 Reply Last reply
                            0
                            • N Nicklas Starkel

                              @Reza
                              From what I understand the GateWay will add all nodes even if you do not want them to. But not to the controller if you have "inclusion option" on the GateWay.
                              There is a possibility that if you use the "inclusion option" maybe it will pick up all sensors not already added (ie your neighbour) if they are sending while inclusion is looking for new sensors.
                              If you want to stop this you will have to use whitelisting on MAC adress. But this requires you to reprogram GateWay everytime you want to add new sensor (or maybe it is possibility to have same MAC for all?).
                              And of course you will have to program a MAC adress for all sensors/per sensor the first time as well.
                              I thought this problem would be solved with only using Signing, but because of backwards compability the creators did not enable this in the GateWay.
                              If you only would want signing, you could make all nodes connect via a repeater node.
                              Because between repeater nodes and regular nodes signing is enabled and no other nodes is accepted which aren't signed with correct signing :)
                              And if you use Whitelisting only between GateWay and repeater node, you are set.

                              Note: I could be wrong ;)

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

                              @Nicklas-Starkel repeater nodes will just forward signed messages. It will only verify messages addressed directly to it like all nodes. Signing is end to end.

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

                              N 1 Reply Last reply
                              0
                              • AnticimexA Anticimex

                                @Nicklas-Starkel repeater nodes will just forward signed messages. It will only verify messages addressed directly to it like all nodes. Signing is end to end.

                                N Offline
                                N Offline
                                Nicklas Starkel
                                wrote on last edited by
                                #47

                                @Anticimex yes. But since his neighbours nodes aren't signed (or with wrong signation), the repeater will not forward them to his gateway.
                                Or am I totally wrong?

                                AnticimexA 1 Reply Last reply
                                0
                                • N Nicklas Starkel

                                  @Anticimex yes. But since his neighbours nodes aren't signed (or with wrong signation), the repeater will not forward them to his gateway.
                                  Or am I totally wrong?

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

                                  @Nicklas-Starkel repeater forwards what is sent to it. But if your gw is set to require signatures and your node has presented itself as a node that require signatures, gw will not accept unsigned messages from that node. If the message passes through a repeater or not does not matter.

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

                                  R 1 Reply Last reply
                                  0
                                  • R Offline
                                    R Offline
                                    Reza
                                    wrote on last edited by
                                    #49
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • AnticimexA Anticimex

                                      @Nicklas-Starkel repeater forwards what is sent to it. But if your gw is set to require signatures and your node has presented itself as a node that require signatures, gw will not accept unsigned messages from that node. If the message passes through a repeater or not does not matter.

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

                                      @Anticimex

                                      can i use a specific range "node_id" for my gateway? for example my gateway just add device that range of node id is between 5000 until 5500 ? and out of range dont detect and add ?!

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

                                        @Reza

                                        The Gateways doesn't care at all by nodeId's. It only acts as a Gatteway, and retransmits the signal received on air, to the controller on the computer.

                                        There is no pairing mode, or inclusion mode, implemented in the gateway.

                                        The INCLUSION_FEATURE will send a command to the controller and instruct it to turn on inclusion mode (if implemented correct)

                                        That is, all inclusion mode specifics are made on the controller side (Vera, Domoticz, OpenHab etc). All the gateway are doing is sending the data from nodes, to the controller, and from the controller, to the nodes.

                                        The Gateway can not reserve a number of node ID's (and specially not id 5000, because mysensors only supports up to 255 nodes on the network, all with 255 child sensors attached). As the reservation is done on the controller level.

                                        R 2 Replies Last reply
                                        0
                                        • tbowmoT tbowmo

                                          @Reza

                                          The Gateways doesn't care at all by nodeId's. It only acts as a Gatteway, and retransmits the signal received on air, to the controller on the computer.

                                          There is no pairing mode, or inclusion mode, implemented in the gateway.

                                          The INCLUSION_FEATURE will send a command to the controller and instruct it to turn on inclusion mode (if implemented correct)

                                          That is, all inclusion mode specifics are made on the controller side (Vera, Domoticz, OpenHab etc). All the gateway are doing is sending the data from nodes, to the controller, and from the controller, to the nodes.

                                          The Gateway can not reserve a number of node ID's (and specially not id 5000, because mysensors only supports up to 255 nodes on the network, all with 255 child sensors attached). As the reservation is done on the controller level.

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

                                          @tbowmo
                                          so this issue is related to domoticz Fully ! ok very thank you and i am sorry for this topic

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


                                          18

                                          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