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
    so can i use MY_INCLUSION_MODE_BUTTON_PIN for add my device? add a button to pin3 and just when press this devices add to my gatway.otherwise dont add any devices(auto add in domoticz)

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

    @Reza please read replies carefully. You need to make sure you enable the feature. That is the first define. Most if not all defines have a default value. Just search the code.
    Press the button (assuming it is connected properly) and the gateway will accept new nodes for the duration specified by the third define. I am no specialist on how this works so someone else can probably give better details on how node-gw-controller handle additions of new nodes. But my Vera won't add devices unless I put my GW in inclusion mode and boot up nodes so they send their presentation data to the gw. But if it is the gw or the controller that decides if the device should be added or not based onthe gw inclusion mode I don't know, but it would seem to me pretty obvious that it would be the gw that decides that.
    In other words, inclusion mode is used to add new devices. And as far as I know it is the only way (once you enable that feature). I don't know if that is the solution to your problem as I don't fully understand what your problem really is, but it will not prevent any others from listening in on your sensors.
    Enabling encryption will obfuscate the data you transmit from eavesdroppers, but any reasonably intelligent attacker will anyway be able to guess what data you transmit.

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

    R 1 Reply Last reply
    1
    • AnticimexA Anticimex

      @Reza please read replies carefully. You need to make sure you enable the feature. That is the first define. Most if not all defines have a default value. Just search the code.
      Press the button (assuming it is connected properly) and the gateway will accept new nodes for the duration specified by the third define. I am no specialist on how this works so someone else can probably give better details on how node-gw-controller handle additions of new nodes. But my Vera won't add devices unless I put my GW in inclusion mode and boot up nodes so they send their presentation data to the gw. But if it is the gw or the controller that decides if the device should be added or not based onthe gw inclusion mode I don't know, but it would seem to me pretty obvious that it would be the gw that decides that.
      In other words, inclusion mode is used to add new devices. And as far as I know it is the only way (once you enable that feature). I don't know if that is the solution to your problem as I don't fully understand what your problem really is, but it will not prevent any others from listening in on your sensors.
      Enabling encryption will obfuscate the data you transmit from eavesdroppers, but any reasonably intelligent attacker will anyway be able to guess what data you transmit.

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

      @Anticimex said:

      please read replies carefully. You need to make sure you enable the feature. That is the first define. Most if not all defines have a default value. Just search the code.
      Press the button (assuming it is connected properly) and the gateway will accept new nodes for the duration specified by the third define. I am no specialist on how this works so someone else can probably give better details on how node-gw-controller handle additions of new nodes. But my Vera won't add devices unless I put my GW in inclusion mode and boot up nodes so they send their presentation data to the gw. But if it is the gw or the controller that decides if the device should be added or not based onthe gw inclusion mode I don't know, but it would seem to me pretty obvious that it would be the gw that decides that.
      In other words, inclusion mode is used to add new devices. And as far as I know it is the only way (once you enable that feature). I don't know if that is the solution to your problem as I don't fully understand what your problem really is, but it will not prevent any others from listening in on your sensors.
      Enabling encryption will obfuscate the data you transmit from eavesdroppers, but any reasonably intelligent attacker will anyway be able to guess what data you transmit.

      thank you my friend . i test serial gateway with vera . exactly. in vera there is inclusion button and dont add auto device... but in domoticz is not...
      so thank you for help. if you found any solution please help me.

      AnticimexA 1 Reply Last reply
      0
      • R Reza

        @Anticimex said:

        please read replies carefully. You need to make sure you enable the feature. That is the first define. Most if not all defines have a default value. Just search the code.
        Press the button (assuming it is connected properly) and the gateway will accept new nodes for the duration specified by the third define. I am no specialist on how this works so someone else can probably give better details on how node-gw-controller handle additions of new nodes. But my Vera won't add devices unless I put my GW in inclusion mode and boot up nodes so they send their presentation data to the gw. But if it is the gw or the controller that decides if the device should be added or not based onthe gw inclusion mode I don't know, but it would seem to me pretty obvious that it would be the gw that decides that.
        In other words, inclusion mode is used to add new devices. And as far as I know it is the only way (once you enable that feature). I don't know if that is the solution to your problem as I don't fully understand what your problem really is, but it will not prevent any others from listening in on your sensors.
        Enabling encryption will obfuscate the data you transmit from eavesdroppers, but any reasonably intelligent attacker will anyway be able to guess what data you transmit.

        thank you my friend . i test serial gateway with vera . exactly. in vera there is inclusion button and dont add auto device... but in domoticz is not...
        so thank you for help. if you found any solution please help me.

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

        @Reza This is the MySensors forum, not the Domoticz forum. If you have issues with Domoticz, I suggest you post your questions there. MySensors provide a set of features. It is up to the controllers to make use of them.

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

        R 1 Reply Last reply
        0
        • AnticimexA Anticimex

          @Reza This is the MySensors forum, not the Domoticz forum. If you have issues with Domoticz, I suggest you post your questions there. MySensors provide a set of features. It is up to the controllers to make use of them.

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

          @Anticimex
          in domoticz forum told me this issue is related to mysensors gateway and here told me this issue is related to domoticz :)

          AnticimexA 1 Reply Last reply
          0
          • R Reza

            @Anticimex
            in domoticz forum told me this issue is related to mysensors gateway and here told me this issue is related to domoticz :)

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

            @Reza Well, you said it yourself. It works with Vera. So it is obviously not a MySensors issue.

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

            R 1 Reply Last reply
            0
            • AnticimexA Anticimex

              @Reza Well, you said it yourself. It works with Vera. So it is obviously not a MySensors issue.

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

              @Anticimex
              but in vera , there is a device(gateway) with inclusion button but in domoticz my gateway dont have a inclusion button , so this is related to domoticz?

              AnticimexA 1 Reply Last reply
              0
              • R Reza

                @Anticimex
                but in vera , there is a device(gateway) with inclusion button but in domoticz my gateway dont have a inclusion button , so this is related to domoticz?

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

                @Reza Well, of course it is! MySensors cannot control what Domoticz UI shows.

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

                R 1 Reply Last reply
                0
                • AnticimexA Anticimex

                  @Reza Well, of course it is! MySensors cannot control what Domoticz UI shows.

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

                  @Anticimex said:

                  Well, of course it is! MySensors cannot control what Domoticz UI shows.

                  right :( so i must change my controller ? i want a open surce controller and a good controller :(

                  AnticimexA 1 Reply Last reply
                  0
                  • R Reza

                    @Anticimex said:

                    Well, of course it is! MySensors cannot control what Domoticz UI shows.

                    right :( so i must change my controller ? i want a open surce controller and a good controller :(

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

                    @Reza Or you get the Domoticz people to fix their shit.

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

                    R 1 Reply Last reply
                    0
                    • AnticimexA Anticimex

                      @Reza Or you get the Domoticz people to fix their shit.

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

                      @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 1 Reply Last reply
                      0
                      • 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
                                          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