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. My Project
  3. Candle - signal Hub - A universal 433Mhz signal detector and cloner

Candle - signal Hub - A universal 433Mhz signal detector and cloner

Scheduled Pinned Locked Moved My Project
29 Posts 4 Posters 4.5k Views 7 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.
  • alowhumA Offline
    alowhumA Offline
    alowhum
    Plugin Developer
    wrote on last edited by
    #5

    Something I had hoped actually works: it can also copy IR (infrared) signals!

    Settings need to be slightly different, as IR signals are 'slower' than RF signals. Changes I made to the settings are:

    #define MAXEDGES 100            // instead of 400                    
    #define GRANULARITY 100       // the default settings of '50' also work, but IR signals need less precision.
    #define MAXIMUMDURATION 66000
    #define MINIMUMSILENCE 66000
    

    It doesn't recognise things perfectly, as IR signals don't seem to repeat themselves in the same way. You may have to press the button a few times before the signal can be copied.

    I also haven't tested if transmitting the signals actually switches IR devices on and off.

    An example:

    00000000 > 0
    11110111 > 239
    00010000 > 8
    11101111 > 247
    
    1 Reply Last reply
    0
    • alowhumA Offline
      alowhumA Offline
      alowhum
      Plugin Developer
      wrote on last edited by
      #6
      • It can now handle even more 433 signals.
      • Slight code simplification
      1 Reply Last reply
      0
      • HomerH Offline
        HomerH Offline
        Homer
        wrote on last edited by
        #7

        Probably a bit of a noob question, but if I don't have any of the optional items, can I still use this? Will it just save the RF commands until it can't save anymore?

        1 Reply Last reply
        0
        • alowhumA Offline
          alowhumA Offline
          alowhum
          Plugin Developer
          wrote on last edited by
          #8

          @Homer yes

          HomerH 1 Reply Last reply
          0
          • alowhumA alowhum

            @Homer yes

            HomerH Offline
            HomerH Offline
            Homer
            wrote on last edited by
            #9

            @alowhum said in Candle - signal Hub - A universal 433Mhz signal detector and cloner:

            @Homer yes

            Thanks, and thanks for your private messages!

            I managed to build a rf433 sender which is connected to wifi and is outside of the Mysensors environment, and it works, but I can't get my controller (Vera) to communicate with it. This looks like it should work perfectly for what I want it to do!

            Thanks for sharing!

            1 Reply Last reply
            0
            • HomerH Offline
              HomerH Offline
              Homer
              wrote on last edited by
              #10

              I am having issues with the device I made myself which doesn't use this code, so I have decided to give this project a go. One problem though... I copied the sketch from you link, and even without any changes or alterations, the sketch doesn't compile. It gets to line 468 and says "detectedMessage" was not declared in this scope.

              1 Reply Last reply
              0
              • HomerH Offline
                HomerH Offline
                Homer
                wrote on last edited by
                #11

                Please ignore the above.... I don't know why but I just tried it again and it compiled immediately.

                1 Reply Last reply
                0
                • HomerH Offline
                  HomerH Offline
                  Homer
                  wrote on last edited by
                  #12

                  I just worked out what I did! I had commented that I didn't have a touchsceen and that caused the error. I thought I should do this as I don't have one, but I guess I'll have a go at uploading the sketch as it is.

                  1 Reply Last reply
                  0
                  • alowhumA Offline
                    alowhumA Offline
                    alowhum
                    Plugin Developer
                    wrote on last edited by
                    #13

                    Thanks for the feedback. Let me know if you have any issues and I can try to fix them.

                    HomerH 1 Reply Last reply
                    0
                    • alowhumA alowhum

                      Thanks for the feedback. Let me know if you have any issues and I can try to fix them.

                      HomerH Offline
                      HomerH Offline
                      Homer
                      wrote on last edited by
                      #14

                      @alowhum I've finished building this. I have also bought a couple cheap window/door sensors to try, but I've hit a snag.

                      When I joined this to my controller (Vera) it said that it found 2 devices, but when I check my devices I only find one device, and all it says is that it's a node; I have very little in the way of interacting with it. I'm not sure what's going on.... It's weird that it found two devices and only displays one! Seeing that I'm not using any screen, I can't do anything because I thought I could interact with the hub from within my controller. Have I done something wrong?

                      1 Reply Last reply
                      0
                      • alowhumA Offline
                        alowhumA Offline
                        alowhum
                        Plugin Developer
                        wrote on last edited by
                        #15

                        I haven't tested it without a screen myself. I'll look into it for you and see if I can make the code work optimally without it. I'll get back to you with the updated code.

                        1 Reply Last reply
                        1
                        • HomerH Offline
                          HomerH Offline
                          Homer
                          wrote on last edited by
                          #16

                          Awesome, thanks!!!

                          1 Reply Last reply
                          0
                          • alowhumA Offline
                            alowhumA Offline
                            alowhum
                            Plugin Developer
                            wrote on last edited by
                            #17

                            Here is the new version which should work just fine without a touchscreen attached.

                            https://github.com/createcandle/Devices/blob/master/Signal-hub/Signal-hub.ino

                            I also added a new playlist feature. If multiple replay requests are received in quick succession (perhaps from a home automation rule that wants to trigger multiple sockets), it can remember these requests and replay them one after the other.

                            1 Reply Last reply
                            2
                            • HomerH Offline
                              HomerH Offline
                              Homer
                              wrote on last edited by
                              #18

                              Awesome, thanks for your work! I'll be giving this a go today.

                              The extra feature of it remembering if multiple commands are given is great too!

                              1 Reply Last reply
                              0
                              • HomerH Offline
                                HomerH Offline
                                Homer
                                wrote on last edited by Homer
                                #19

                                I've finally finished building this, but sadly it doesn't want to work with my controller (Vera). When I start the inclusion process I'm says that it has found 2 devices, but when the controller finishes setting it up it only ends up showing one device, and all it says is that it is a node.

                                0_1560159136451_Screenshot_20190610-193129_Photos.jpg

                                Has anyone built this and have had success with Vera? If you are using this, which controller do you use?

                                1 Reply Last reply
                                0
                                • alowhumA Offline
                                  alowhumA Offline
                                  alowhum
                                  Plugin Developer
                                  wrote on last edited by alowhum
                                  #20

                                  It should not show a temperature sensor, since it doesn't have one. Are you sure it has actually connected? Try listening to the serial output of the node (using the Arduino IDE's option to do this), and check if it says that it has connected ok, and that is is showing you the decoded signals then you play the RF signal. You can even try enabling the debug option to get even more details about the node's state.

                                  1 Reply Last reply
                                  0
                                  • HomerH Offline
                                    HomerH Offline
                                    Homer
                                    wrote on last edited by
                                    #21

                                    Thanks for the reply!

                                    It doesn't show a temp sensor. I circled the device that it shows, but of course I only circled one because the second device doesn't show.

                                    dbemowskD 1 Reply Last reply
                                    0
                                    • HomerH Homer

                                      Thanks for the reply!

                                      It doesn't show a temp sensor. I circled the device that it shows, but of course I only circled one because the second device doesn't show.

                                      dbemowskD Offline
                                      dbemowskD Offline
                                      dbemowsk
                                      wrote on last edited by
                                      #22

                                      @homer Look at your device list on a computer web browser. It appears that you are viewing it with the Vera app on your phone or tablet. I have seen where some devices don't show correctly on the Vera app. I don't know what type of device it will identify as, but you should see "<some device type> (12)" with the key being the (12) as that identifies the node that presented it. Also, do you have any 433Mhz devices that it may be detecting? Looking at the code a bit, it looks like it will present any 433Mhz devices that it sees to your Vera controller.

                                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                      HomerH 1 Reply Last reply
                                      0
                                      • dbemowskD dbemowsk

                                        @homer Look at your device list on a computer web browser. It appears that you are viewing it with the Vera app on your phone or tablet. I have seen where some devices don't show correctly on the Vera app. I don't know what type of device it will identify as, but you should see "<some device type> (12)" with the key being the (12) as that identifies the node that presented it. Also, do you have any 433Mhz devices that it may be detecting? Looking at the code a bit, it looks like it will present any 433Mhz devices that it sees to your Vera controller.

                                        HomerH Offline
                                        HomerH Offline
                                        Homer
                                        wrote on last edited by
                                        #23

                                        @dbemowsk thanks for your reply. Yes the screenshot was taken Vera using my phone, but I only did that as I was using the phone at the time. I went out to have a smoke lol after I tried on my laptop.

                                        From what I understand, it should have created devices that then allow for the inclusion of rf433 devices, but if that isn't the case, I'm happy to be corrected!

                                        1 Reply Last reply
                                        0
                                        • alowhumA Offline
                                          alowhumA Offline
                                          alowhum
                                          Plugin Developer
                                          wrote on last edited by
                                          #24

                                          @homer It creates one device. This device will get more children when it learns more codes.

                                          For example:

                                          • If you teach it a on+off code, the new child will be a toggle switch.
                                          • If you teach it to recognize a signal, the new child will be a motion sensor.

                                          If you are not using the touch screen, then you will also have 4 children that allow you to toggle the recording of the new signals.

                                          • A button to record a single signal that you want to be able to replay.
                                          • A button to start learning of an of+off combo signal (like a power socket that you can turn of and off).
                                          • A button to start learning a single detection signal (like a basic 433 window sensor)
                                          • A button to start learning a on+off detection signal (like a fancy 433 window sensor that supports both open and closed states).
                                          HomerH 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.0k

                                          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