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. Troubleshooting
  3. New to MySensors - how to get started

New to MySensors - how to get started

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 2 Posters 3.0k 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.
  • M Offline
    M Offline
    mr.eskildsen
    wrote on last edited by
    #1

    I am using openHAB Home Automation, and there I saw a binding to MySensors. I decided to look closer into how I could benefit from MySensors. My first idea was to use a ESP8266,a nd I have played around with that. The problem is that I have some PIR sensors, and there seems to be a problem when they ar only supplied with 3.3V. Else it seems that MySensors as concept is great! To get the PIR sensor up and running I turned towards amy Raspberry Pi's acting as ZoneMinder cameras, they are Raspberry Pi 3 and Raspberry Pi 2 (with an EdiMax Wifi dongle).
    I have tried to get a gateway up and runnign, both Ethernet and MQTT, with no luck. It seems to fail on radio initialisation (becasue it is just a plain Raspberry Pi, with no custom RF module attached). I have thus been looking for a guide on how to use the plain wifi to connect to the controller in openHAB, with no luck.

    Is there any possibility to configure a Raspberry Pi 3 as a gateway that connects to a openHAB controller, without attaching an extra radio? I just want to monitor a couple of GPIO pins in my Raspberry Pi. Is it possible or have I misunderstood the concept?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      There is another thread open about 5V pir sensor problems: you need to supply voltage with 3 AA batteries if you removed the voltage regulator

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mr.eskildsen
        wrote on last edited by
        #3

        I am interested to know if I can use a Raspberry Pi 3 as gateway, without adding any extra hardware to communicate to the controller (eg. can I use either LAN connection or WiFi)?

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          I think you are mixing things. If you want to read gpio from raspberry where openhab is installed, you don't need mysensors. If you have wireless pir sensors then you need a radio also for raspberry

          M 1 Reply Last reply
          1
          • gohanG gohan

            I think you are mixing things. If you want to read gpio from raspberry where openhab is installed, you don't need mysensors. If you have wireless pir sensors then you need a radio also for raspberry

            M Offline
            M Offline
            mr.eskildsen
            wrote on last edited by mr.eskildsen
            #5

            @gohan said in New to MySensors - how to get started:

            I think you are mixing things. If you want to read gpio from raspberry where openhab is installed, you don't need mysensors. If you have wireless pir sensors then you need a radio also for raspberry

            I don't want to read GPIO from the Raspberry where openHAB is installed. My question is more to understand if MySensors framework can help me. As an example I have some Raspberry Pi's (they are used as ZoneMinder cameras), they are connected to my network via either LAN cable or Wifi.
            If I attach a sensor to that Raspberry, is it then possible to install a MySensor Gateway on that particular Raspberry Pi and via existing network connection connect to the MySensor Controller hosted in my openHAB instance?

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #6

              I don't think you would benefit much from mysensors in this situation. This framework is more focused on small Arduino based sensors nodes that talk to a gateway and the gateway talks to a home automation controller. But maybe developers know some hack on the code

              1 Reply Last reply
              1
              • M Offline
                M Offline
                mr.eskildsen
                wrote on last edited by
                #7

                I things is starting to get a little more clear to me. So in MySensors world we have:

                • Controller
                • Gateway(s)
                • Sensors

                So I guess the purpose of the radio on the Gateway (in my example the Raspberry Pi), is to communicate with the Sensor nodes? Where a Sensor node is a Arduino, ESP8622?
                I still think that I can have some beneft from this great framework, I just have to understand it :-)
                Is there some explanation / overview of how things is put together ?

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #8

                  Esp8266 has to be considered as a gateway on its own that you can use together with supported radios

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mr.eskildsen
                    wrote on last edited by
                    #9

                    Ok, but I think I am lacking the basic understanding of Gateways, Sensor node etc.
                    Is there somewhere where I can read about the different objects (eg. Gateway, Sensor Nodes)?
                    I think MySensors has a big potential in my setup, but I am unsure how to get started. If I buy a radio to the Raspberry Pi's where I want to attach my PIR sensors would it then work?

                    1 Reply Last reply
                    0
                    • gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #10

                      Start reading around the site https://www.mysensors.org/build
                      PIR Sensor would need to be connected to another arduino board with another radio; the arduino node will be talking to raspberry via the radio modules.

                      M 1 Reply Last reply
                      0
                      • gohanG gohan

                        Start reading around the site https://www.mysensors.org/build
                        PIR Sensor would need to be connected to another arduino board with another radio; the arduino node will be talking to raspberry via the radio modules.

                        M Offline
                        M Offline
                        mr.eskildsen
                        wrote on last edited by
                        #11

                        @gohan said in New to MySensors - how to get started:

                        Start reading around the site https://www.mysensors.org/build

                        Thx, seems like there is some help there :-)

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        8

                        Online

                        12.0k

                        Users

                        11.2k

                        Topics

                        113.4k

                        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