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. Mysensored Garageport

Mysensored Garageport

Scheduled Pinned Locked Moved My Project
23 Posts 6 Posters 12.6k Views 2 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #2

    Pictures please :)

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

      Pictures or it didn't happen :)

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

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

        @hek @Anticimex

        Keep calm, and don't panic :) Something happened when I made the initial post, so I couldn't add pictures.. :)

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #5

          Looks great!

          Hmm.. I don't have a garage door opener... This is a good reason to get one ;)

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

            And the datasheet is predictably veeery vague on the security aspects of that machinery...well, you got everything you need to fix that ;)
            Defining "locked" as when the door is closed and offer a completly unspecified remote dongle leaves some to be desired after all...but at least you should only need to secure the actuation of the motor to secure the garage.

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

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

              Only one problem left now, domoticz doesn't seem to support mysensored blinds (which I have set it up to mimick, as it has V_UP/V_DOWN/V_STOP as informed by @hek in another thread)

              Domoticz also spews out errors about unknown ID's when it received V_UP/V_DOWN/V_STOP. So I'll have to dig into the code of domoticz as well, to see if I can fix things. On that note, I decided to fetch the latest domoticz, but that is broken, and can't be build :(

              Oh well, the fun life of being a hardware/software "hacker" :)

              @hek I have two ports.. Only one of them with a port opener at the moment, the one I have modified is for the second port, which had been put away since I bought it last year.

              @Anticimex
              Yes, it's a china remote keyfob thing. Also wondering about security. But since I can't lock down the garage fully (It's an old barn, that has a lot of other entries which can't be locked). It's not that big a concern right now.

              AnticimexA 1 Reply Last reply
              0
              • tbowmoT tbowmo

                Only one problem left now, domoticz doesn't seem to support mysensored blinds (which I have set it up to mimick, as it has V_UP/V_DOWN/V_STOP as informed by @hek in another thread)

                Domoticz also spews out errors about unknown ID's when it received V_UP/V_DOWN/V_STOP. So I'll have to dig into the code of domoticz as well, to see if I can fix things. On that note, I decided to fetch the latest domoticz, but that is broken, and can't be build :(

                Oh well, the fun life of being a hardware/software "hacker" :)

                @hek I have two ports.. Only one of them with a port opener at the moment, the one I have modified is for the second port, which had been put away since I bought it last year.

                @Anticimex
                Yes, it's a china remote keyfob thing. Also wondering about security. But since I can't lock down the garage fully (It's an old barn, that has a lot of other entries which can't be locked). It's not that big a concern right now.

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

                @tbowmo well, that makes you the perfect guinea pig for practical security application for MySensors then :D you got nothing to loose if bugs are found ;)

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

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

                  @Anticimex

                  The normal remotes is still working as well (I have to make this as seamless as possible, as to not confuse the wife, and kids :))

                  AnticimexA 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @Anticimex

                    The normal remotes is still working as well (I have to make this as seamless as possible, as to not confuse the wife, and kids :))

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

                    @tbowmo perhaps we should design a MySensors keyfob :) The sensebender board is a good base for that (although we probably want to offer RF69 variants as well in that case).

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

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

                      now with Video, for @hek and @Anticimex, so they can see it in "motion"

                      https://www.youtube.com/watch?v=GRaK19IdCCc

                      AnticimexA 1 Reply Last reply
                      2
                      • tbowmoT tbowmo

                        now with Video, for @hek and @Anticimex, so they can see it in "motion"

                        https://www.youtube.com/watch?v=GRaK19IdCCc

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

                        @tbowmo Awesome! What approach did you take? Reverse-engineered the keyfob to route it through the MySensors network or do you use a separate keyfob for the "MySensor path" and retain the original?
                        Or maybe I am reading it the wrong way; you detect the door action and send the status to your controller (Domoticz)?
                        Anyway, it is hacking done properly :D
                        The light is an addition? Relay-actuator for that?

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

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

                          @Anticimex

                          It's integrated into the opener control box itself. By poking around with a multimeter, I figured out which signals I could use.

                          For Open / Close / Stop status, I just look at the relay drivers, used for reversing the supply to the motor. It has two relays in it, one for each direction.

                          When it opens, it turns on relay 1, start ramping up the PWM to the motor, and when stopping, it ramps down the PWM, and finally turning off relay 1.

                          When it then closes again, it starts by turning on relay 2, ramping up / down PWM signals, and turn of relay 2 again.

                          So it's a "simple" hack :)

                          The unit has inputs for a wall switch, so you can operate it without a remote. This input happens to be 5V as well, that just needs to be grounded. So I have 1 pin for that.

                          The light is a bit more "trickier" :), as it's a built in light (which I will replace with a LED floodlight when I get around to put it up). It's also a relay driver like the motor control. I have put the mysensors module in between the original controller (connected to an input pin on the mysensor module), and then an output to the relay driver. This way I can detect when light is turned on by the original controller, and also switch it on / off from remote.

                          So you won't notice that it's there, until you activate it from domoticz (which I can't at the moment, as it is missing the V_UP/V_DOWN/V_STOP messages that I'm using)

                          AnticimexA 1 Reply Last reply
                          0
                          • tbowmoT tbowmo

                            @Anticimex

                            It's integrated into the opener control box itself. By poking around with a multimeter, I figured out which signals I could use.

                            For Open / Close / Stop status, I just look at the relay drivers, used for reversing the supply to the motor. It has two relays in it, one for each direction.

                            When it opens, it turns on relay 1, start ramping up the PWM to the motor, and when stopping, it ramps down the PWM, and finally turning off relay 1.

                            When it then closes again, it starts by turning on relay 2, ramping up / down PWM signals, and turn of relay 2 again.

                            So it's a "simple" hack :)

                            The unit has inputs for a wall switch, so you can operate it without a remote. This input happens to be 5V as well, that just needs to be grounded. So I have 1 pin for that.

                            The light is a bit more "trickier" :), as it's a built in light (which I will replace with a LED floodlight when I get around to put it up). It's also a relay driver like the motor control. I have put the mysensors module in between the original controller (connected to an input pin on the mysensor module), and then an output to the relay driver. This way I can detect when light is turned on by the original controller, and also switch it on / off from remote.

                            So you won't notice that it's there, until you activate it from domoticz (which I can't at the moment, as it is missing the V_UP/V_DOWN/V_STOP messages that I'm using)

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

                            @tbowmo Yes WAF is an important factor. Changes are usually accepted if they are not noticed :D
                            Good work!

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

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              Mickey
                              wrote on last edited by
                              #15

                              Very nice work.
                              I notice that there are a lot of parts missing in the sensbender I understand you took out sensor and eeprom but I notice some caps and resistors also not attach.
                              can you specify what did you populate the board with only the atmega?

                              tbowmoT 1 Reply Last reply
                              0
                              • M Mickey

                                Very nice work.
                                I notice that there are a lot of parts missing in the sensbender I understand you took out sensor and eeprom but I notice some caps and resistors also not attach.
                                can you specify what did you populate the board with only the atmega?

                                tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #16

                                @Mickey

                                On this one I only populated the atmega on the board. I removed the vcc pin on the radio module, before I soldered it back to back with the minimal sensebender module, and then put a le33 between vcc on sensebender board, and vcc on the radio (and added a capacitor on the radio, for good measures)

                                M 1 Reply Last reply
                                0
                                • tbowmoT tbowmo

                                  @Mickey

                                  On this one I only populated the atmega on the board. I removed the vcc pin on the radio module, before I soldered it back to back with the minimal sensebender module, and then put a le33 between vcc on sensebender board, and vcc on the radio (and added a capacitor on the radio, for good measures)

                                  M Offline
                                  M Offline
                                  Mickey
                                  wrote on last edited by
                                  #17

                                  @tbowmo said:

                                  @Mickey

                                  On this one I only populated the atmega on the board. I removed the vcc pin on the radio module, before I soldered it back to back with the minimal sensebender module, and then put a le33 between vcc on sensebender board, and vcc on the radio (and added a capacitor on the radio, for good measures)

                                  and did you flash the the "official" sensebender bootloader ?

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

                                    @Mickey

                                    For this particular one, I haven't used a bootloader at all, as I'm using jtagice3 to download my sketches.

                                    I have a serial terminal attached all the time for debugging, and I find it a bit irritating having to start up the terminal every time I have uploaded a new sketch (using normal arduino serial upload).

                                    So I have this setup when fiddling with stuff :) one window for serial terminal, one for shell where I upload using avrdude, and then the arduino env.
                                    sensebender-setup.png

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

                                      Finally got around to mount the motor unit, after heavy modifications. Which also cut the standby power to under a 10th of the original unit.

                                      I ended up implementing my own 5v supply, that powers the logic in the original unit and my mysensor node, I then have a solid state relay, enabling / disabling the 38v rail for the engine part. This drops the standby from 7W to under 0.5W.

                                      I had to go a couple of loopholes to get it working, as the motor unit wouldn't respond to the remote when the 38v rail was missing. I then tapped into the remote signal, so when the remote is detected I power up the thing, I then need to press the button one more time to activate the opener. When the original unit switches of the light, I also power down the 38v rail.

                                      I can activate the port from domoticz, also the lights can be activated by domoticz. There are some small quirks, as the port is reported as open when the port actually is closed. I will have a look at the software for the next port that I have to modify

                                      And last a small demo video.

                                      From the outside with both ports in action (only the right port is mysensored for now)
                                      http://youtu.be/s9UuEDtNf5s

                                      RJ_MakeR 1 Reply Last reply
                                      3
                                      • tbowmoT tbowmo

                                        Finally got around to mount the motor unit, after heavy modifications. Which also cut the standby power to under a 10th of the original unit.

                                        I ended up implementing my own 5v supply, that powers the logic in the original unit and my mysensor node, I then have a solid state relay, enabling / disabling the 38v rail for the engine part. This drops the standby from 7W to under 0.5W.

                                        I had to go a couple of loopholes to get it working, as the motor unit wouldn't respond to the remote when the 38v rail was missing. I then tapped into the remote signal, so when the remote is detected I power up the thing, I then need to press the button one more time to activate the opener. When the original unit switches of the light, I also power down the 38v rail.

                                        I can activate the port from domoticz, also the lights can be activated by domoticz. There are some small quirks, as the port is reported as open when the port actually is closed. I will have a look at the software for the next port that I have to modify

                                        And last a small demo video.

                                        From the outside with both ports in action (only the right port is mysensored for now)
                                        http://youtu.be/s9UuEDtNf5s

                                        RJ_MakeR Offline
                                        RJ_MakeR Offline
                                        RJ_Make
                                        Hero Member
                                        wrote on last edited by
                                        #20

                                        @tbowmo Was the door on the left added after the building was built? Little strange for the garage door to "block" the smaller door.. :grinning:

                                        RJ_Make

                                        1 Reply Last reply
                                        0
                                        • C Offline
                                          C Offline
                                          Chester
                                          wrote on last edited by
                                          #21

                                          I'd say more likely the garage doors were originally "barn" type swinging doors, rather than sliding doors, and that personnel door was original.

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


                                          23

                                          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