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. The Big Picture. Will this work?

The Big Picture. Will this work?

Scheduled Pinned Locked Moved General Discussion
9 Posts 4 Posters 2.8k 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.
  • dakkyD Offline
    dakkyD Offline
    dakky
    wrote on last edited by
    #1

    Greetings everybody.

    I'm beginning to dig myself into the topic of DIY homeautomation :D But there are also some questions i can't answer myself properly :(
    I'm planning the following setup:

    • raspi as OpenHAB Base with raspbian
    • MQTT Gateway (installed on the pi? possible?)
    • sensors:
      • energy source: battery for all. I don't want to cut cables into my walls (besides: my wife would kill me :D ) runtimes should be at least 6 months ^^
      • transmission sensors -> gateway: WiFi with (WPA2 enabled) would be awesome, maybe bluetooth4 (with bluetooth low energy ??)
      • sensor types: temp, humidy and door/window sensors

    Any chance to archieve this?

    Thx

    Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
    Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

    Software: MySensors 2.0development

    1 Reply Last reply
    0
    • MagiskeM Offline
      MagiskeM Offline
      Magiske
      wrote on last edited by
      #2

      OpenHab on a pi is a good choice.
      I would use an Arduino Uno with an ethernet shield for the MQTT gateway, so much easier to setup.
      A good 18650 3.7v battery should give you more than 6 months if you power trim you sensors.
      And the transmission would be by using NRF24L01+'s.

      So all about making it easy for yourself:)

      So to answer you question.. Yes, should be easy to achieve fairly fast.

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

        @dakky

        have seen http://www.mysensors.org/hardware/micro ? (temperature/humidity sensor, battery powered)

        1 Reply Last reply
        0
        • dakkyD Offline
          dakkyD Offline
          dakky
          wrote on last edited by
          #4

          @tbowmo
          jep thats the target on the sensor side. I'd select an ardiuno pro micro (3,3V), strip the LED from it an connect the sensors and the NRF24L01+ to it. Of course i could buy your sensor board (and maybe, depending on price an availability i will), but where is the fun and the learning progress? :D

          @Magiske
          but why an extra device for the gateway? Is it really "too hard" to connect the receiving NRF24L01+ via the gpio and run it under raspbian? An extra device means extra costs and extra wiring (power, LAN).

          Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
          Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

          Software: MySensors 2.0development

          1 Reply Last reply
          0
          • MagiskeM Offline
            MagiskeM Offline
            Magiske
            wrote on last edited by
            #5

            @dakky Well you can do the gateway for around $13ish and thats easy. Adding the gateway module to the running OpenHab could be easy if they can coexist. I have not done that, so again, it could be easy. But since you are just starting out, keep it easy.
            And afterwards, you can reuse the uno for other projects..

            1 Reply Last reply
            0
            • dakkyD Offline
              dakkyD Offline
              dakky
              wrote on last edited by
              #6

              hmm do you have a hint for me? I'm trying to understand the way the gateway works. The ethernet part is ok. But what about the NRF24L01+ and WiFi? Do u have some docs/tutorials/codesnipplets for me?

              Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
              Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

              Software: MySensors 2.0development

              1 Reply Last reply
              0
              • dakkyD Offline
                dakkyD Offline
                dakky
                wrote on last edited by
                #7

                u i got trapped .... the nrf24l01+ does't do WiFi. It just uses the same band :( i would prefer real WPA2 protected WiFi. Is anything like that possible (with battery power)?
                if NOT, how "secure" is it, to use open radio transmission for communication?

                Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
                Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

                Software: MySensors 2.0development

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  maha
                  wrote on last edited by maha
                  #8

                  Under Development is a great thread about security:

                  [security] Introducing signing support to MySensors

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

                    @dakky

                    look here http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors

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


                    11

                    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