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. RPI2 Pimatic MySensors getting started

RPI2 Pimatic MySensors getting started

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 2.5k 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.
  • N Offline
    N Offline
    nicolasmertens
    wrote on last edited by
    #1

    Hi Guys,

    I am just getting started with MySensors.
    I just bought myself some equipement but am reading myself in while the stuff is being shipped.

    As I understood correctly the setup I need to have is the following:

    Pi Schema.png

    I need a sensor connected to a gateway which connects wireless to a RPI?
    The RPI also has a wireless connector which it uses to receive those signals?

    Thanks in advance,
    Nicolas Mertens

    1 Reply Last reply
    0
    • mikeeM Offline
      mikeeM Offline
      mikee
      wrote on last edited by
      #2

      PRI - Controller to manage sensors, store data... - need to install some software
      +
      Arduino with gateway sketch (GW) - best to use nano - has uUSB
      +
      NRF - conected to arduino
      .
      .
      .
      .
      Arduino (based on purpose - mini, uno, mega) with senor sketch
      +
      NRF conected to arduino

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nicolasmertens
        wrote on last edited by
        #3

        If you read https://github.com/DheerajKhajuria/pimatic-mysensors then you can see the NRF24L01+ needs to be connected directly to the PI. If you read https://github.com/mysensors/Raspberry then you can see the NRF24 is being installed as /dev/ttyMySensorsGateway...

        By the way on this website you can also see the picture in another form ...
        http://www.homautomation.org/2014/09/26/internet-of-things-measure-environnement-data-with-arduino-and-push-it-to-the-web-via-raspberry-pi-and-nrf24l01/

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zeph
          Hero Member
          wrote on last edited by
          #4

          The original MySensors architecture used a stand-alone Home Automation contoller, the Vera. This was not going to directly handle the nRF24L01+ radio transceivers and the OTA (Over the Air) MySensors protocol, so the second component was a Gateway which connected to the controller via USB serial, and directly to the nRF (an Arduino Nano filled this role well, with both USB, and a 3.3v power supply for the nRF). Then the nodes have an Arduion (Nano can work, or Arduino Pro Mini, or many others) with a nRF and sensors/actuators.

          Later it became possible to use ethernet (rather than USB) between the controller and the gateway. And other transciever types may be substituted for the nRF as the radio link, but the architecture looks about the same.

          This architecture with a gateway arduino in the middle can potentially work for other standalone Home Automation controllers, or for PC based (Windows, Linux, Mac) controller software.

          But then the Raspberry Pi comes along. It's powerful enough to run some Home Automation software AND it can interface directly to a nRF24L01+. So it's possible to run both the controller and the gateway functions on a Raspberry Pi, without needing an external gateway.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nicolasmertens
            wrote on last edited by
            #5

            Thanks a lot!

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


            7

            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