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.
  • AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #16

    Signing will not solve your domoticz issue in any way. It is between node and gateway. Domoticz is a controller so it will only see what a gateway sends to it. The same goes for encryption. It is also only between node and gateway. Neither signing nor encryption is in use between controller and gateway.
    And using encryption is just as easy or hard as using signing. Nodes and gateways have to be personalized no matter if you use signing, encryption or both. For version 2.

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

    FotoFieberF 1 Reply Last reply
    0
    • AnticimexA Anticimex

      Signing will not solve your domoticz issue in any way. It is between node and gateway. Domoticz is a controller so it will only see what a gateway sends to it. The same goes for encryption. It is also only between node and gateway. Neither signing nor encryption is in use between controller and gateway.
      And using encryption is just as easy or hard as using signing. Nodes and gateways have to be personalized no matter if you use signing, encryption or both. For version 2.

      FotoFieberF Offline
      FotoFieberF Offline
      FotoFieber
      Hardware Contributor
      wrote on last edited by
      #17

      Encryption is easier to use with RFM69 as it is done in hardware. And for me the aspect of privacy is really important (and solved with encryption), which can't be solved with signing.

      Encryption with NRF24L01 (MY_SIGNING_SOFT) is not implemented to be secure (->IV) and therefore for me useless.

      AnticimexA 1 Reply Last reply
      0
      • FotoFieberF FotoFieber

        Encryption is easier to use with RFM69 as it is done in hardware. And for me the aspect of privacy is really important (and solved with encryption), which can't be solved with signing.

        Encryption with NRF24L01 (MY_SIGNING_SOFT) is not implemented to be secure (->IV) and therefore for me useless.

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

        @FotoFieber it is no difference. The key has to be stored somewhere and even if the engine is in hw the key storage is not. So you still need to personalize the device and that procedure is identical no matter what radio you use. But yes, the sw variant is useless. But all in all, encryption is useless in a mysensors context as message contents can be easily be determined. Authenticity is more important than obscurity. We do not transmit video or audio streams with mysensors.

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

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Reza
          wrote on last edited by
          #19

          so , what am i do ? :( means that signing dont help me for my problem ?!
          in other forum (http://www.domoticz.com/forum/viewtopic.php?p=97403#p97403) told to me for gateway i must use a include button set !

          i have 2 problem and i dont know this problem is related to controller or gateway !
          first problem :
          you consider a vera controller or fibaro...
          in this controllers , there is a inclusion mode . just when controller is inclusion mode , can add devices ! also after add a device , until that device dont remove form controller ( controller in exclusion mode) , device can not add to other controller !
          In this way , device just work with their controller .
          i want use domoticz and mysensors gateway and device for a Two story house(Separate) , but despite this issue , i can not ....

          second problem is related to lost my gateway after unplug and plug in again raspberry power supply !! if power house have problem (each reason for example use solar panel and battery in cloudy day) after incoming power controller dont work unless disconnect usb cable and connect again (handy)

          sorry my friends for weak in english, i like society of mysensors convert to a great society . i am not a professional programmer . but i like very very internet of things .
          in the end i hope solve this issue (easy and understandable for me :) ) and thank you very thank you my friends <3
          @Anticimex @FotoFieber @sundberg84 @tbowmo @mfalkvidd @hek @TheoL
          and other dear friends .

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Reza
            wrote on last edited by
            #20

            what is :
            MY_INCLUSION_BUTTON_FEATURE
            MY_INCLUSION_MODE_BUTTON_PIN
            MY_INCLUSION_MODE_DURATION
            MY_INCLUSION_BUTTON_EXTERNAL_PULLUP
            ???
            can i use this for my serial gateway?????
            where i found explain about this functions?
            for example , if i want just when , i press and hold a button for inclusion , devices added . when release button so any device can not add to gateway .
            what am i do for this ?

            1 Reply Last reply
            0
            • AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #21

              Are they not self explanatory?
              The first enables the feature, the second decides what IO to use for the button, the third the duration of the mode and the last if you use a external pull up on the signal.
              Inclusion mode for a gw is to have the gw accept reporting new nodes to a controller. It can be used for any type of gw.

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

              R 1 Reply Last reply
              0
              • AnticimexA Anticimex

                Are they not self explanatory?
                The first enables the feature, the second decides what IO to use for the button, the third the duration of the mode and the last if you use a external pull up on the signal.
                Inclusion mode for a gw is to have the gw accept reporting new nodes to a controller. It can be used for any type of gw.

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

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