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.
  • 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 Reza
    #53

    @tbowmo
    one more question
    if we want , the node after add to one controller , node lock ! and dont add to other controller. this is related to controller or our sketch ?
    so my neighbor can not add my device

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

      If your neighbor knows your network frequency / network address, he can potentially add your nodes to his network. That is why signing is there for sensitive nodes, like locks etc.

      R 1 Reply Last reply
      0
      • tbowmoT tbowmo

        If your neighbor knows your network frequency / network address, he can potentially add your nodes to his network. That is why signing is there for sensitive nodes, like locks etc.

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

        @tbowmo said:

        If your neighbor knows your network frequency / network address, he can potentially add your nodes to his network. That is why signing is there for sensitive nodes, like locks etc.

        1.so with signing this problem can resolved? i use a signing for my WSN and i told to my neighbor that use a signing for his WSN . Will solve it?
        2.also suppose a thief come near my home door , and he has a domoticz with a mysensors gateway ! so if i use a mysensors relay (signing) for electric door lock , he can add my relay to his controller and open my home door ?

        please first told me about 1 , and about 2

        AnticimexA 1 Reply Last reply
        0
        • R Reza

          @tbowmo said:

          If your neighbor knows your network frequency / network address, he can potentially add your nodes to his network. That is why signing is there for sensitive nodes, like locks etc.

          1.so with signing this problem can resolved? i use a signing for my WSN and i told to my neighbor that use a signing for his WSN . Will solve it?
          2.also suppose a thief come near my home door , and he has a domoticz with a mysensors gateway ! so if i use a mysensors relay (signing) for electric door lock , he can add my relay to his controller and open my home door ?

          please first told me about 1 , and about 2

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

          @Reza Read the documentation please. https://www.mysensors.org/about/signing

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

          R 1 Reply Last reply
          3
          • AnticimexA Anticimex

            @Reza Read the documentation please. https://www.mysensors.org/about/signing

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

            @Anticimex
            thank you and just one question :) i'm sorry.
            how to change frequency for my gateway and my sensors and devices?

            AnticimexA 1 Reply Last reply
            0
            • R Reza

              @Anticimex
              thank you and just one question :) i'm sorry.
              how to change frequency for my gateway and my sensors and devices?

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

              @Reza I don't know. Signing does not care about frequencies. But a good guess would be to check in MyConfig.h as has already been suggested in this thread. Or search the codebase for "frequency" perhaps.
              We are not a living dictionary, you have to expect to do some searching yourself when you work with a project that is "DIY". The slogan for the entire site/community says it all: "IOT+DIY=MySensors".

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

              R 1 Reply Last reply
              1
              • AnticimexA Anticimex

                @Reza I don't know. Signing does not care about frequencies. But a good guess would be to check in MyConfig.h as has already been suggested in this thread. Or search the codebase for "frequency" perhaps.
                We are not a living dictionary, you have to expect to do some searching yourself when you work with a project that is "DIY". The slogan for the entire site/community says it all: "IOT+DIY=MySensors".

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

                @Anticimex
                in domoticz forum told me to "You should separate these two networks by using different frequency" so i want test this for Separation my WSN with neighbor WSN

                thank you my friend for help

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  pjr
                  wrote on last edited by
                  #60

                  If I'm reading the domoticz codebase correctly there is two problems:

                  1. It will add the node in MySensors node/child listing even if the "Accept new hardware device" flag is disabled. But it wont create domoticz core/ui/..-devices from those.
                  2. I_INCLUSION_MODE message is not supported by domoticz.

                  @Reza can you update title of this topic also :)

                  For reference: https://www.domoticz.com/forum/viewtopic.php?f=6&t=13481&start=20#p97600
                  Please correct if I've provided misleading information.

                  R 1 Reply Last reply
                  1
                  • P pjr

                    If I'm reading the domoticz codebase correctly there is two problems:

                    1. It will add the node in MySensors node/child listing even if the "Accept new hardware device" flag is disabled. But it wont create domoticz core/ui/..-devices from those.
                    2. I_INCLUSION_MODE message is not supported by domoticz.

                    @Reza can you update title of this topic also :)

                    For reference: https://www.domoticz.com/forum/viewtopic.php?f=6&t=13481&start=20#p97600
                    Please correct if I've provided misleading information.

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

                    @pjr
                    my friend you are presence in all of forum :) :) :)
                    i change also this title topic for you :)
                    about domoticz forum i dont understand you mean (The last line )
                    but generally , i have a network with Rpi (serial gateway) and my neighbor build also a network with Rpi (serial gateway) recently. but after the time , i noticed his devices added in my controller in devices panel ! so for check this issue i setup domoticz with windows (with a serial gateway) so i see devices added auto . . .
                    you told me device are just in "setup->hardware->mysensors setup" but this is not true . after some refresh web and some push button "learn light/switch" without push reset button on devices !! ( please note without push reset button on sensors) devices are added in "setup->devices" !!!

                    now i use 2 frequency for gateway (my Rpi and windows) and this is work true and thank you for this <3 i change my all device frequency and i think solved problem between i and my neighbor . this is easy more for me (beginner) . i can not change codes of domoticz . but now i am trying to learn signing (this is hard for me also :) )
                    but i think signing is not useful ! until that domoticz have this bug , the theif just need my frequency for add and control my device ! so i must dont use my sensors(relay) for door lock and security!!

                    in the end very thank you for help "using different frequency"

                    AnticimexA P 2 Replies Last reply
                    0
                    • R Reza

                      @pjr
                      my friend you are presence in all of forum :) :) :)
                      i change also this title topic for you :)
                      about domoticz forum i dont understand you mean (The last line )
                      but generally , i have a network with Rpi (serial gateway) and my neighbor build also a network with Rpi (serial gateway) recently. but after the time , i noticed his devices added in my controller in devices panel ! so for check this issue i setup domoticz with windows (with a serial gateway) so i see devices added auto . . .
                      you told me device are just in "setup->hardware->mysensors setup" but this is not true . after some refresh web and some push button "learn light/switch" without push reset button on devices !! ( please note without push reset button on sensors) devices are added in "setup->devices" !!!

                      now i use 2 frequency for gateway (my Rpi and windows) and this is work true and thank you for this <3 i change my all device frequency and i think solved problem between i and my neighbor . this is easy more for me (beginner) . i can not change codes of domoticz . but now i am trying to learn signing (this is hard for me also :) )
                      but i think signing is not useful ! until that domoticz have this bug , the theif just need my frequency for add and control my device ! so i must dont use my sensors(relay) for door lock and security!!

                      in the end very thank you for help "using different frequency"

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

                      @Reza if your lock node require signing, nobody but you can use it. That is the whole point with signing. It does not matter if anyone else tries to send data to it. If it is not properly signed the node will ignore it. I suggest you read the docs on signing carefully (yes read ALL of it). It gives all you need to get going with signing.

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

                      R 1 Reply Last reply
                      1
                      • AnticimexA Anticimex

                        @Reza if your lock node require signing, nobody but you can use it. That is the whole point with signing. It does not matter if anyone else tries to send data to it. If it is not properly signed the node will ignore it. I suggest you read the docs on signing carefully (yes read ALL of it). It gives all you need to get going with signing.

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

                        thank you very very much my dear @Anticimex for help me .
                        signing is a complicated issue for me but i am trying for learn this. . .
                        thank you again

                        1 Reply Last reply
                        0
                        • R Reza

                          @pjr
                          my friend you are presence in all of forum :) :) :)
                          i change also this title topic for you :)
                          about domoticz forum i dont understand you mean (The last line )
                          but generally , i have a network with Rpi (serial gateway) and my neighbor build also a network with Rpi (serial gateway) recently. but after the time , i noticed his devices added in my controller in devices panel ! so for check this issue i setup domoticz with windows (with a serial gateway) so i see devices added auto . . .
                          you told me device are just in "setup->hardware->mysensors setup" but this is not true . after some refresh web and some push button "learn light/switch" without push reset button on devices !! ( please note without push reset button on sensors) devices are added in "setup->devices" !!!

                          now i use 2 frequency for gateway (my Rpi and windows) and this is work true and thank you for this <3 i change my all device frequency and i think solved problem between i and my neighbor . this is easy more for me (beginner) . i can not change codes of domoticz . but now i am trying to learn signing (this is hard for me also :) )
                          but i think signing is not useful ! until that domoticz have this bug , the theif just need my frequency for add and control my device ! so i must dont use my sensors(relay) for door lock and security!!

                          in the end very thank you for help "using different frequency"

                          P Offline
                          P Offline
                          pjr
                          wrote on last edited by
                          #64

                          @Reza said:

                          but i think signing is not useful ! until that domoticz have this bug , the theif just need my frequency for add and control my device ! so i must dont use my sensors(relay) for door lock and security!!

                          No the "domoticz bug" is not a problem since it dont affect your sensor network or the way theif can use your mysensors network.
                          Domoticz doesnt have anything to do with signing or encrypting. Its just listening and sending readable serial messages to your gateway.

                          With signing you make thief not able to use(send messages to) your doorlock.
                          With encryption you make it almost impossible for the thief read RF messages your nodes/gw are transmitting.

                          There is good reading for you:
                          https://www.mysensors.org/about/signing
                          https://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors

                          R 1 Reply Last reply
                          1
                          • P pjr

                            @Reza said:

                            but i think signing is not useful ! until that domoticz have this bug , the theif just need my frequency for add and control my device ! so i must dont use my sensors(relay) for door lock and security!!

                            No the "domoticz bug" is not a problem since it dont affect your sensor network or the way theif can use your mysensors network.
                            Domoticz doesnt have anything to do with signing or encrypting. Its just listening and sending readable serial messages to your gateway.

                            With signing you make thief not able to use(send messages to) your doorlock.
                            With encryption you make it almost impossible for the thief read RF messages your nodes/gw are transmitting.

                            There is good reading for you:
                            https://www.mysensors.org/about/signing
                            https://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors

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

                            @pjr
                            thank you, i am trying to learn signing for use :)

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


                            22

                            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