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. General Discussion
  3. Interfacing nasty stuff with MySensors

Interfacing nasty stuff with MySensors

Scheduled Pinned Locked Moved General Discussion
hack
12 Posts 5 Posters 3.7k Views 1 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.
  • RJ_MakeR Offline
    RJ_MakeR Offline
    RJ_Make
    Hero Member
    wrote on last edited by
    #2

    Interesting...

    RJ_Make

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

      scary...

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

        Quite striking stance of opinion on surveillance between American and Swedish here :)

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mikeones
          wrote on last edited by
          #5

          That usb housing is pretty sweet. A nice shell for a PIR and Temp sensors.

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

            Yep, although temperature will probably be skewed due to the heat dissipation of the transformer. But motion and humidity should work nicely.

            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

              Definitely interesting :) but also a bit scary they didn't think more about security when they created the protocol.

              But then again, a good point to not have an wireless keyboard...

              It also puts things into perspektive with mysensors, and security.

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

                I am already on that aspect. I have implemented support for a security chip which can sign messages using SHA256-HMAC. Eventually I will look into integrating this in the library. The scheme will protect against both man-in-the-middle as well as replay attacks and it will be using a secret pre-shared key.

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

                tbowmoT 1 Reply Last reply
                1
                • AnticimexA Anticimex

                  I am already on that aspect. I have implemented support for a security chip which can sign messages using SHA256-HMAC. Eventually I will look into integrating this in the library. The scheme will protect against both man-in-the-middle as well as replay attacks and it will be using a secret pre-shared key.

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

                  @Anticimex said:

                  I am already on that aspect. I have implemented support for a security chip which can sign messages using SHA256-HMAC. Eventually I will look into integrating this in the library. The scheme will protect against both man-in-the-middle as well as replay attacks and it will be using a secret pre-shared key.

                  What chip are you using for the security?

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

                    Atmel ATSHA204 single wire variant.

                    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

                      @Anticimex said:

                      ATSHA204

                      Hmm.. will your work be compatible with the full i2c (8pin) version? (I already have other i2c devices, so could just use the same bus). Or could it use any available I/O pin on the atmega?

                      thinking if I should drop one on to my sensor board (or at least make a footprint for it), just for "future plans"

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

                        Yes and no. The library I use is for single wire. A new lib (or better, an extension to the existing) is required for I2C. But the logic layer can be reused assuming the api is kept intact (which it should, as there are no hardware specifics in the api). I considered using I2C, but rejected it in order to be able to be more versatile and less dependent on pins and components. But the device register map is identical between the devices so it is enough to switch the data marshaling parts.
                        The library is based on this:https://github.com/jimblom/sha204-Breakout
                        But I have made a few changes to it to make it more suited for device use. You can find my lib in the development branch of the MySensors git by now. It also carries a sketch to personalize the device.

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

                        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