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. Pjon Script

Pjon Script

Scheduled Pinned Locked Moved General Discussion
6 Posts 5 Posters 79 Views 4 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.
  • S Offline
    S Offline
    sindrome73
    wrote on last edited by
    #1

    Hello, good evening!!
    I'm trying to build two Nodes with two Arduino Pro Minis (a Gateway and a Node, to be precise) connected to each other using the Pjon Protocol.
    If I understand correctly, the nodes are connected to each other by a single wire, specifically Pin 12 by default.
    I just can't create the sketch.
    Can someone provide the Gateway and Node scripts?
    Thanks for your help.

    1 Reply Last reply
    0
    • OldSurferDudeO Offline
      OldSurferDudeO Offline
      OldSurferDude
      wrote on last edited by
      #2

      @sindrome73 said in Pjon Script:

      Pjon Protocol

      The only way I see this working is that the remote device (non-gateway sensor) sends the data using the PJON protocol over whatever medium. The remote device would not use any MySensors code.

      On the gateway, a "sensor" would be created that would receive the data using the PJON protocol over that medium. Once the data is received, it would be "sent" to the gateway portion of the code that is running on the gateway.

      Thus, for every remote sensor there would have to be a "sensor" on the gateway. Sort of defeats the purpose of a gateway.

      It would be nice if MySensors were media independent and PJON would be a good candidate. Alas, I don't believe there is sufficient support for MySensors these days to create that environment.

      As far as someone creating these scripts, I would advise you do a deep dive into PJON. The first part would be to create the POJON "Hello World" pair. Once you have this working, then you could incorporate it into your MySensors gateway.

      Let us know how it works out.

      -OSD

      1 Reply Last reply
      0
      • mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        Thers is actually support for pjon as transport in MySensors: https://github.com/mysensors/MySensors/pull/1278

        I don’t know how it works though.

        TheoLT 1 Reply Last reply
        1
        • mfalkviddM mfalkvidd

          Thers is actually support for pjon as transport in MySensors: https://github.com/mysensors/MySensors/pull/1278

          I don’t know how it works though.

          TheoLT Offline
          TheoLT Offline
          TheoL
          Contest Winner
          wrote last edited by
          #4

          @mfalkvidd Is the PJON support in current release? Pjon is something that is on my wish list

          1 Reply Last reply
          0
          • nagelcN Offline
            nagelcN Offline
            nagelc
            wrote last edited by
            #5

            It's in the development branch.
            How do you plan to use it? Sounds fascinating, but I haven't quite been able to wrap my head around it.

            TheoLT 1 Reply Last reply
            0
            • nagelcN nagelc

              It's in the development branch.
              How do you plan to use it? Sounds fascinating, but I haven't quite been able to wrap my head around it.

              TheoLT Offline
              TheoLT Offline
              TheoL
              Contest Winner
              wrote last edited by
              #6

              @nagelc I'm thinking about making some kind of shelves with PJON built in. The shelves will have a wireless charger and with PJON I can communicate "Wireless". So on that shelf I can put some things like small candles, maybe a modified humidifier.

              Things like that xd

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


              18

              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