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 Offline
    R Offline
    Reza
    wrote on last edited by Reza
    #1

    in domoticz , i use a raspberry pi controller and use a windows controller , both.

    i use a serial gateway for raspberry pi and a serial gateway for domoticz windows .

    i disable " Accept new Hardware Devices" for both.

    i turn off one of two(for example domoticz windows) and i add mysensors device to domoticz raspberry pi . then turn on domoticz windows . Suddenly i see domoticz windows detect all device that added on raspberry pi (in domoticz windows!!!!!!!! so if i unplug power sensor and plug in again or reset sensor ! that sensor will add to windows domoticz.

    so this is very bad , if i use a domoticz controller and my Neighbor use a domoticz controller too , so he can control my devices and i can control her devices !!!
    are there any solution for this problem?

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

      also this is risk to security.
      for example , suppose i use a relay switch for "electronic door lock" in my home.
      when i am out home , a thief can add my relay to her domoticz controller then open the door and . . .
      this is very weak in security!!!

      mfalkviddM 1 Reply Last reply
      0
      • R Reza

        also this is risk to security.
        for example , suppose i use a relay switch for "electronic door lock" in my home.
        when i am out home , a thief can add my relay to her domoticz controller then open the door and . . .
        this is very weak in security!!!

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

        @Reza Yes. This is why you should use signing.

        R FotoFieberF 3 Replies Last reply
        2
        • mfalkviddM mfalkvidd

          @Reza Yes. This is why you should use signing.

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

          @mfalkvidd
          oh. site is updated and i didnt see :) thank you .
          about other topic please help ! serial gateway stop working with unplug power and plug in power again domoticz raspberry pi !

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

            You should also report domoticz bugs at their bugtracker, as we can't solve them here.

            R 1 Reply Last reply
            1
            • mfalkviddM mfalkvidd

              @Reza Yes. This is why you should use signing.

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

              @mfalkvidd
              Signing is indeed the solution for a door lock.

              I am changing all my NRF24L01 to RFM69 with AES (Hardware) support at the moment. This is enough for most of my use cases and nobody can see, what is going on inside my house. (Which would be easy with signing only.)

              R 1 Reply Last reply
              0
              • tbowmoT tbowmo

                You should also report domoticz bugs at their bugtracker, as we can't solve them here.

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

                @tbowmo
                i report this to domoticz forum but they said this problem is related to mysenosrs...

                1 Reply Last reply
                0
                • FotoFieberF FotoFieber

                  @mfalkvidd
                  Signing is indeed the solution for a door lock.

                  I am changing all my NRF24L01 to RFM69 with AES (Hardware) support at the moment. This is enough for most of my use cases and nobody can see, what is going on inside my house. (Which would be easy with signing only.)

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

                  @FotoFieber
                  signing with rfm69 is more easy ?

                  FotoFieberF 1 Reply Last reply
                  0
                  • R Reza

                    in domoticz , i use a raspberry pi controller and use a windows controller , both.

                    i use a serial gateway for raspberry pi and a serial gateway for domoticz windows .

                    i disable " Accept new Hardware Devices" for both.

                    i turn off one of two(for example domoticz windows) and i add mysensors device to domoticz raspberry pi . then turn on domoticz windows . Suddenly i see domoticz windows detect all device that added on raspberry pi (in domoticz windows!!!!!!!! so if i unplug power sensor and plug in again or reset sensor ! that sensor will add to windows domoticz.

                    so this is very bad , if i use a domoticz controller and my Neighbor use a domoticz controller too , so he can control my devices and i can control her devices !!!
                    are there any solution for this problem?

                    sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by
                    #9

                    @Reza said:

                    Suddenly i see domoticz windows detect all device

                    Domoticz will add all incoming connections until you disable "Accept new Hardware Devices" in the settings menu.
                    Then you need to use the inclusion mode. "Accept new hardware for 5 min"

                    Controller: Proxmox VM - Home Assistant
                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                    R 1 Reply Last reply
                    0
                    • sundberg84S sundberg84

                      @Reza said:

                      Suddenly i see domoticz windows detect all device

                      Domoticz will add all incoming connections until you disable "Accept new Hardware Devices" in the settings menu.
                      Then you need to use the inclusion mode. "Accept new hardware for 5 min"

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

                      @sundberg84 said:

                      Accept new Hardware Devices

                      so this is a bug in domoticz ! is this right?
                      because when i disable "Accept new Hardware Devices" , domoticz should not add any devices!!!

                      sundberg84S 1 Reply Last reply
                      0
                      • R Reza

                        @sundberg84 said:

                        Accept new Hardware Devices

                        so this is a bug in domoticz ! is this right?
                        because when i disable "Accept new Hardware Devices" , domoticz should not add any devices!!!

                        sundberg84S Offline
                        sundberg84S Offline
                        sundberg84
                        Hardware Contributor
                        wrote on last edited by
                        #11

                        @Reza - Uf you disable this tickbox and save, yes - Domoticz should not add any new hardware in "devices" tab.

                        Controller: Proxmox VM - Home Assistant
                        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                        R 1 Reply Last reply
                        0
                        • R Reza

                          @FotoFieber
                          signing with rfm69 is more easy ?

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

                          @Reza said:

                          @FotoFieber
                          signing with rfm69 is more easy ?

                          No, but encryption is easy. And if it is encrypted, you can't add a controller without knowing the key.

                          R 1 Reply Last reply
                          0
                          • sundberg84S sundberg84

                            @Reza - Uf you disable this tickbox and save, yes - Domoticz should not add any new hardware in "devices" tab.

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

                            @sundberg84
                            my friend, i disable tickbox and save before for both controller , but now if reset or plug in power a new device, so domoticz detect it !!! and added

                            0_1474802056296_oeorr.jpg

                            0_1474802041652_Untitledjrjf.jpg

                            1 Reply Last reply
                            0
                            • FotoFieberF FotoFieber

                              @Reza said:

                              @FotoFieber
                              signing with rfm69 is more easy ?

                              No, but encryption is easy. And if it is encrypted, you can't add a controller without knowing the key.

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

                              @FotoFieber

                              i am reading "https://www.mysensors.org/about/signing" but i think this is very hard for me :) i am trying to understand :) for solve my problem with domoticz :)

                              1 Reply Last reply
                              0
                              • mfalkviddM mfalkvidd

                                @Reza Yes. This is why you should use signing.

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

                                @mfalkvidd
                                i confuse . signing is a complicate issue for me . i am trying to learn this but ...
                                please told to me "MY_SIGNING_SOFT" can help me ? i want my devices (sensors and actuators) just added to my gateway and also my gateway just detect and found my device. so any gateways (for example neighbor's gateway) Fails detect and find my devices !also my gateway can not detect and find neighbor's devices !
                                if i use #define MY_SIGNING_SOFT and my neighbor also use #define MY_SIGNING_SOFT so my gateway can not detect neighbor's devices again ? or neighbor's gateway can not detect my device ?
                                sorry for weak in english

                                1 Reply Last reply
                                0
                                • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          21

                                          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